package com.engine.salary.mapper.siaccount;

import com.engine.salary.entity.siaccount.po.InsuranceAccountInspectPO;
import org.apache.ibatis.annotations.Param;

import java.util.Collection;
import java.util.List;

/**
 * @Author weaver_cl
 * 
 * @Date 2022/4/14
 * @Version V1.0
 **/
public interface InsuranceAccountInspectMapper {

    /**
     * 批量删除
     * @param pos
     */
    void batchDelInspectDetails(@Param("pos") Collection<InsuranceAccountInspectPO> pos);

    /**
     * 批量保存
     * @param pos
     */
    void batchSaveInspectDetails(@Param("pos") Collection<InsuranceAccountInspectPO> pos);


    /**
     *
     * @param inspectStatus
     * @param billMonth
     * @return
     */
    List<InsuranceAccountInspectPO> getByInspectStatusAndBillMonth(@Param("inspectStatus")Integer inspectStatus,@Param("billMonth")String billMonth);


    List<InsuranceAccountInspectPO> getByInspectStatusAndIds(@Param("inspectStatus")Integer inspectStatus,@Param("ids")Collection<Long> ids);

    List<InsuranceAccountInspectPO> getList(@Param("billMonth")String billMonth,@Param("inspectStatus")Integer inspectStatus,@Param("ids")Collection<Long> ids);

    List<InsuranceAccountInspectPO> getByBillMonth(@Param("billMonth")String billMonth);
}
