package com.engine.salary.mapper.siarchives; import com.engine.salary.entity.siarchives.po.InsuranceArchivesFundSchemePO; import com.engine.salary.entity.siarchives.po.InsuranceArchivesSocialSchemePO; import org.apache.ibatis.annotations.Param; import java.util.Collection; import java.util.List; /** * @Author weaver_cl * * @Date 2022/3/15 * @Version V1.0 **/ public interface FundSchemeMapper { /** * 根据员工id获取 * @param employeeId * @return */ List getFundByEmployeeId(@Param("employeeIds")List employeeId); /** * 根据id获取 * @param ids * @return */ List getFundById(@Param("ids")List ids); /** * 批量删除 * @param singletonList */ void batchDeleteByEmployeeIds(@Param("employeeIds") Collection singletonList); /** * 批量保存 * @param singletonList */ void batchSave(@Param("fundSchemePOS") List singletonList); List listAll(); int batchUpdate(@Param("collection") List pos); /** * 批量更新最后缴纳月 * @param ids * @param endTime */ void batchUpdateEndTime(@Param("ids")List ids, @Param("endTime")String endTime); }