package com.engine.salary.mapper.datacollection; import java.util.Date; import com.engine.salary.entity.datacollection.dto.SpecialAddDeductionListDTO; import com.engine.salary.entity.datacollection.dto.SpecialAddDeductionRecordDTO; import com.engine.salary.entity.datacollection.param.SpecialAddDeductionQueryParam; import com.engine.salary.entity.datacollection.po.SpecialAddDeductionPO; import org.apache.ibatis.annotations.Param; import java.util.List; public interface SpecialAddDeductionMapper { int insertSelective(SpecialAddDeductionPO record); int updateByPrimaryKeySelective(SpecialAddDeductionPO record); SpecialAddDeductionPO getById(Long id); int updateBatchSelective(@Param("list") List list); int batchInsert(@Param("list") List list); List listDtoByParam(@Param("param") SpecialAddDeductionQueryParam param); List listByDeclareMonthAndTaxAgentIds(@Param("declareMonth") Date declareMonth, @Param("taxAgentIds") List taxAgentIds); List listByParam(@Param("param") SpecialAddDeductionQueryParam param); int deleteByIds(@Param("ids")List id); }