package com.hzs.system.bonus.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.hzs.common.domain.bonus.BdBonusDeduct;
import com.hzs.system.bonus.params.BonusDeductParams;
import com.hzs.system.bonus.vo.BdBonusDeductVo;


import java.util.List;

/**
 * <p>
 * 奖金扣项配置 服务类
 * </p>
 *
 * @author hzs
 * @since 2022-11-04
 */
public interface IBdBonusDeductService extends IService<BdBonusDeduct> {

    /**
     * @description: 查询奖金扣项配置
     * @author: zhang jing
     * @date: 2022/11/16 11:26
     * @param: []
     * @return: java.util.List<com.hzs.sale.bonus.vo.BdBonusDeductVo>
     **/
    List<BdBonusDeductVo> bonusDeductlist(BdBonusDeductVo bonusDeductVo);

    /**
     * @description:新增或修改奖金扣项配置
     * @author: zhang jing
     * @date: 2022/11/16 12:03
     * @param: [bonusDeductParams]
     * @return: boolean
     **/
    boolean updateBonusDeduct(BonusDeductParams bonusDeductParams);

    /**
     * 查询奖金扣项
    * @return: List<BdBonusDeduct>
    * @Author: sui q
    * @Date: 2023/2/21 15:56
    */
    List<BdBonusDeduct> queryBonusDeduct();
}
