package com.engine.salary.mapper.datacollection; 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 listByTaxAgentIds(@Param("taxAgentIds") List taxAgentIds); List listByParam(@Param("param") SpecialAddDeductionQueryParam param); int deleteByIds(@Param("ids")List id); List getByEmployeeIds(@Param("employeeIds") List employeeIds, @Param("taxAgentId") Long taxAgentId); List listAll(); List listSome(SpecialAddDeductionPO specialAddDeduction); }