2022-04-12 10:24:21 +08:00
|
|
|
package com.engine.salary.mapper.siaccount;
|
|
|
|
|
|
|
|
|
|
import com.engine.salary.entity.siaccount.param.InsuranceAccountDetailParam;
|
2022-04-15 13:17:25 +08:00
|
|
|
import com.engine.salary.entity.siaccount.param.SupplementAccountBaseParam;
|
2022-04-12 10:24:21 +08:00
|
|
|
import com.engine.salary.entity.siaccount.po.InsuranceAccountDetailPO;
|
2022-04-16 16:43:33 +08:00
|
|
|
import com.engine.salary.entity.siarchives.po.InsuranceArchivesEmployeePO;
|
2022-04-12 10:24:21 +08:00
|
|
|
import org.apache.ibatis.annotations.Param;
|
|
|
|
|
|
2022-04-14 11:54:16 +08:00
|
|
|
import java.util.Collection;
|
2022-04-12 10:24:21 +08:00
|
|
|
import java.util.List;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* @Author weaver_cl
|
2022-07-13 11:45:16 +08:00
|
|
|
*
|
2022-04-12 10:24:21 +08:00
|
|
|
* @Date 2022/4/11
|
|
|
|
|
* @Version V1.0
|
|
|
|
|
**/
|
|
|
|
|
public interface InsuranceAccountDetailMapper {
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 查询正常缴纳列表
|
|
|
|
|
* @param queryParam
|
|
|
|
|
* @return
|
|
|
|
|
*/
|
|
|
|
|
List<InsuranceAccountDetailPO> list(@Param("param")InsuranceAccountDetailParam queryParam);
|
2022-04-14 11:54:16 +08:00
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 根据账单月份获取所有员工
|
2022-04-20 19:12:01 +08:00
|
|
|
* @param time
|
2022-04-14 11:54:16 +08:00
|
|
|
* @return
|
|
|
|
|
*/
|
2022-06-06 19:08:39 +08:00
|
|
|
List<Long> selectAccountIds(@Param("time") String time,@Param("paymentOrganization") Long paymentOrganization);
|
2022-04-14 11:54:16 +08:00
|
|
|
|
2022-07-07 18:29:52 +08:00
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 根据缴纳组织获取员工id
|
|
|
|
|
* @param paymentOrganization
|
|
|
|
|
* @return
|
|
|
|
|
*/
|
|
|
|
|
List<Long> selectEmpByPaymentOrg(@Param("paymentOrganization") Long paymentOrganization);
|
|
|
|
|
|
2022-04-14 11:54:16 +08:00
|
|
|
/**
|
|
|
|
|
* 根据id删除
|
|
|
|
|
* @param id
|
|
|
|
|
*/
|
|
|
|
|
void deleteById(@Param("id")Long id);
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 批量删除
|
|
|
|
|
*/
|
2022-06-06 19:08:39 +08:00
|
|
|
void batchDelAccountDetails(@Param("employeeIds") Collection<Long> employeeIds, @Param("billMonth") String billMonth,@Param("paymentOrganization") Long paymentOrganization);
|
2022-04-14 11:54:16 +08:00
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 批量保存
|
|
|
|
|
* @param accounts
|
|
|
|
|
*/
|
|
|
|
|
void batchSaveAccountDetails(@Param("accounts") Collection<InsuranceAccountDetailPO> accounts);
|
|
|
|
|
|
|
|
|
|
|
2022-04-15 13:17:25 +08:00
|
|
|
/**
|
|
|
|
|
* 条件查询
|
|
|
|
|
* @param billMonth
|
|
|
|
|
* @return
|
|
|
|
|
*/
|
2022-06-10 18:01:55 +08:00
|
|
|
List<InsuranceAccountDetailPO> selectList(@Param("billMonth") String billMonth, @Param("paymentOrganization") Long paymentOrganization);
|
2022-04-15 13:17:25 +08:00
|
|
|
|
2022-04-27 14:36:05 +08:00
|
|
|
List<InsuranceAccountDetailPO> queryList(@Param("billMonth") String billMonth,@Param("employeeIds") Collection<Long> employeeIds);
|
|
|
|
|
|
2022-04-15 13:17:25 +08:00
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 根据账单月份删除
|
|
|
|
|
* @param billMonth
|
|
|
|
|
*/
|
2022-06-06 19:08:39 +08:00
|
|
|
void batchDeleteNotFile(@Param("billMonth") String billMonth,@Param("paymentOrganization") Long paymentOrganization);
|
2022-04-15 13:17:25 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 批量删除
|
|
|
|
|
* @param pos
|
|
|
|
|
*/
|
|
|
|
|
void batchDelSupplementAccountDetails(@Param("pos") Collection<InsuranceAccountDetailPO> pos);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 根据员工id批量删除
|
|
|
|
|
* @param pos
|
|
|
|
|
*/
|
|
|
|
|
void batchDelSupplementDetailsByIds(@Param("pos") Collection<SupplementAccountBaseParam> pos);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
void batchUnConfirmedInspectDetails(@Param("ids") Collection<Long> ids);
|
|
|
|
|
|
2022-04-15 19:01:09 +08:00
|
|
|
|
|
|
|
|
void batchIgnoreInspectDetails(@Param("ids") Collection<Long> ids);
|
2022-04-16 16:43:33 +08:00
|
|
|
|
|
|
|
|
|
2022-05-19 11:23:25 +08:00
|
|
|
List<InsuranceArchivesEmployeePO> changeList(@Param("userName") String userName);
|
2022-04-16 16:43:33 +08:00
|
|
|
|
2022-04-12 10:24:21 +08:00
|
|
|
}
|