2023-08-14 20:07:29 +08:00
|
|
|
|
package com.engine.salary.mapper.taxdeclaration;
|
|
|
|
|
|
|
2023-08-20 14:03:43 +08:00
|
|
|
|
import com.engine.salary.entity.taxdeclaration.param.AbnormalEmployeeListQueryParam;
|
2023-08-14 20:07:29 +08:00
|
|
|
|
import com.engine.salary.entity.taxdeclaration.po.TaxDeclarationValuePO;
|
2023-08-20 14:03:43 +08:00
|
|
|
|
import com.engine.salary.entity.taxdeclaration.po.TaxDeclareEmployeePO;
|
2023-08-14 20:07:29 +08:00
|
|
|
|
import org.apache.ibatis.annotations.Param;
|
|
|
|
|
|
|
|
|
|
|
|
import java.util.Collection;
|
|
|
|
|
|
import java.util.List;
|
|
|
|
|
|
|
|
|
|
|
|
public interface TaxDeclarationValueMapper {
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
* 查询所有记录
|
|
|
|
|
|
*
|
|
|
|
|
|
* @return 返回集合,没有返回空List
|
|
|
|
|
|
*/
|
|
|
|
|
|
List<TaxDeclarationValuePO> listAll();
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
* 条件查询
|
|
|
|
|
|
*
|
|
|
|
|
|
* @return 返回集合,没有返回空List
|
|
|
|
|
|
*/
|
|
|
|
|
|
List<TaxDeclarationValuePO> listSome(TaxDeclarationValuePO taxDeclarationValue);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
* 根据主键查询
|
|
|
|
|
|
*
|
|
|
|
|
|
* @param id 主键
|
|
|
|
|
|
* @return 返回记录,没有返回null
|
|
|
|
|
|
*/
|
|
|
|
|
|
TaxDeclarationValuePO getById(Long id);
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
* 新增,忽略null字段
|
|
|
|
|
|
*
|
|
|
|
|
|
* @param taxDeclarationValue 新增的记录
|
|
|
|
|
|
* @return 返回影响行数
|
|
|
|
|
|
*/
|
|
|
|
|
|
int insertIgnoreNull(TaxDeclarationValuePO taxDeclarationValue);
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
* 批量插入
|
|
|
|
|
|
*
|
|
|
|
|
|
* @param taxDeclarationValue
|
|
|
|
|
|
*/
|
|
|
|
|
|
void batchInsert(@Param("collection") List<TaxDeclarationValuePO> taxDeclarationValue);
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
* 修改,修改所有字段
|
|
|
|
|
|
*
|
|
|
|
|
|
* @param taxDeclarationValue 修改的记录
|
|
|
|
|
|
* @return 返回影响行数
|
|
|
|
|
|
*/
|
|
|
|
|
|
int update(TaxDeclarationValuePO taxDeclarationValue);
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
* 修改,忽略null字段
|
|
|
|
|
|
*
|
|
|
|
|
|
* @param taxDeclarationValue 修改的记录
|
|
|
|
|
|
* @return 返回影响行数
|
|
|
|
|
|
*/
|
|
|
|
|
|
int updateIgnoreNull(TaxDeclarationValuePO taxDeclarationValue);
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
* 删除记录
|
|
|
|
|
|
*
|
|
|
|
|
|
* @param taxDeclarationValue 待删除的记录
|
|
|
|
|
|
* @return 返回影响行数
|
|
|
|
|
|
*/
|
|
|
|
|
|
int delete(TaxDeclarationValuePO taxDeclarationValue);
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
* 批量删除记录
|
|
|
|
|
|
*
|
|
|
|
|
|
* @param ids 主键id集合
|
|
|
|
|
|
*/
|
|
|
|
|
|
void deleteByIds(@Param("ids") Collection<Long> ids);
|
|
|
|
|
|
|
2023-08-17 19:04:20 +08:00
|
|
|
|
void deleteBytaxDeclareRecordIds(@Param("taxDeclareRecordIds")Collection<Long> taxDeclareRecordIds);
|
2023-08-20 14:03:43 +08:00
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
* 查询个税申报表明细中未报送成功的人员
|
|
|
|
|
|
*
|
|
|
|
|
|
* @param queryParam
|
|
|
|
|
|
* @return
|
|
|
|
|
|
*/
|
|
|
|
|
|
List<TaxDeclareEmployeePO> listPage4NotDeclareByParam(@Param("param") AbnormalEmployeeListQueryParam queryParam);
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
* 查询个税申报表明细中未报送成功的人员
|
|
|
|
|
|
*
|
|
|
|
|
|
* @param queryParam
|
|
|
|
|
|
* @return
|
|
|
|
|
|
*/
|
|
|
|
|
|
List<TaxDeclareEmployeePO> list4NotDeclareByParam(@Param("param") AbnormalEmployeeListQueryParam queryParam);
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
* 查询个税申报表明细中未报送成功的人员
|
|
|
|
|
|
*
|
|
|
|
|
|
* @param queryParam
|
|
|
|
|
|
* @return
|
|
|
|
|
|
*/
|
|
|
|
|
|
List<TaxDeclareEmployeePO> listPage4NoValueByParam(@Param("param") AbnormalEmployeeListQueryParam queryParam);
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
* 查询个税申报表明细中未报送成功的人员
|
|
|
|
|
|
*
|
|
|
|
|
|
* @param queryParam
|
|
|
|
|
|
* @return
|
|
|
|
|
|
*/
|
|
|
|
|
|
List<TaxDeclareEmployeePO> list4NoValueByParam(@Param("param") AbnormalEmployeeListQueryParam queryParam);
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
* 批量插入
|
|
|
|
|
|
*
|
|
|
|
|
|
* @param taxDeclarationValues
|
|
|
|
|
|
*/
|
|
|
|
|
|
void batchInsert(@Param("collection") Collection<TaxDeclarationValuePO> taxDeclarationValues);
|
|
|
|
|
|
|
2023-08-14 20:07:29 +08:00
|
|
|
|
}
|