83 lines
2.3 KiB
Java
83 lines
2.3 KiB
Java
package com.engine.salary.mapper.taxdeclaration;
|
|
|
|
import com.engine.salary.entity.taxdeclaration.dto.TaxDeclarationEmployeeDTO;
|
|
import com.engine.salary.entity.taxdeclaration.param.AbnormalEmployeeListQueryParam;
|
|
import com.engine.salary.entity.taxdeclaration.param.TaxDeclarationDetailListQueryParam;
|
|
import com.engine.salary.entity.taxdeclaration.po.TaxDeclarationDetailPO;
|
|
import com.engine.salary.entity.taxdeclaration.po.TaxDeclareEmployeePO;
|
|
import org.apache.ibatis.annotations.Param;
|
|
|
|
import java.util.Collection;
|
|
import java.util.List;
|
|
|
|
|
|
public interface TaxDeclarationDetailMapper {
|
|
|
|
|
|
/**
|
|
* 分页查询人员id
|
|
*
|
|
* @param param
|
|
* @return
|
|
*/
|
|
List<TaxDeclarationEmployeeDTO> listPage4EmployeeId(@Param("param") TaxDeclarationDetailListQueryParam param);
|
|
|
|
/**
|
|
* 查询人员id
|
|
*
|
|
* @param taxDeclarationId
|
|
* @return
|
|
*/
|
|
List<TaxDeclarationEmployeeDTO> list4EmployeeId(@Param("taxDeclarationId") Long taxDeclarationId);
|
|
|
|
|
|
/**
|
|
* 批量插入
|
|
*
|
|
* @param taxDeclarationDetails
|
|
*/
|
|
void batchInsert(@Param("collection") Collection<TaxDeclarationDetailPO> taxDeclarationDetails);
|
|
|
|
/**
|
|
* 统计一共多少人员
|
|
*
|
|
* @param taxDeclarationId
|
|
* @return
|
|
*/
|
|
int countEmployeeId(@Param("taxDeclarationId") Long taxDeclarationId);
|
|
/**
|
|
* 分页查询人员id
|
|
*
|
|
* @param taxDeclarationId
|
|
* @return
|
|
*/
|
|
List<Long> listEmployeeId(@Param("taxDeclarationId") Long taxDeclarationId);
|
|
|
|
/**
|
|
* 查询个税申报表明细
|
|
*
|
|
* @param taxDeclarationId
|
|
* @param employeeIds
|
|
* @return
|
|
*/
|
|
List<TaxDeclarationDetailPO> listByTaxDeclarationIdAndEmployeeIds(@Param("taxDeclarationId") Long taxDeclarationId, @Param("collection") Collection<Long> employeeIds);
|
|
|
|
/**
|
|
* 根据个税申报表id删除
|
|
*
|
|
* @param taxDeclarationIds
|
|
*/
|
|
void deleteByTaxDeclarationIds(@Param("taxDeclarationIds") Collection<Long> taxDeclarationIds);
|
|
|
|
List<TaxDeclarationDetailPO> listAll();
|
|
|
|
int batchUpdate(@Param("collection") List<TaxDeclarationDetailPO> taxDeclarationDetailPos);
|
|
|
|
List<TaxDeclareEmployeePO> listPage4NotDeclareByParam(AbnormalEmployeeListQueryParam queryParam);
|
|
|
|
List<TaxDeclareEmployeePO> list4NotDeclareByParam(AbnormalEmployeeListQueryParam queryParam);
|
|
|
|
List<TaxDeclareEmployeePO> listPage4NoValueByParam(AbnormalEmployeeListQueryParam queryParam);
|
|
|
|
List<TaxDeclareEmployeePO> list4NoValueByParam(AbnormalEmployeeListQueryParam queryParam);
|
|
} |