2022-03-03 13:50:03 +08:00
|
|
|
|
package com.engine.salary.mapper.datacollection;
|
|
|
|
|
|
|
|
|
|
|
|
import com.engine.salary.entity.datacollection.AddUpSituation;
|
2022-03-08 18:10:03 +08:00
|
|
|
|
import com.engine.salary.entity.datacollection.dto.AddUpSituationDTO;
|
2022-03-09 16:40:14 +08:00
|
|
|
|
import com.engine.salary.entity.datacollection.dto.AddUpSituationRecordDTO;
|
2022-03-08 18:10:03 +08:00
|
|
|
|
import com.engine.salary.entity.datacollection.param.AddUpSituationQueryParam;
|
2022-03-03 13:50:03 +08:00
|
|
|
|
import org.apache.ibatis.annotations.Mapper;
|
2022-03-08 13:17:54 +08:00
|
|
|
|
import org.apache.ibatis.annotations.Param;
|
2022-03-03 13:50:03 +08:00
|
|
|
|
|
|
|
|
|
|
import java.util.List;
|
|
|
|
|
|
|
|
|
|
|
|
@Mapper
|
|
|
|
|
|
public interface AddUpSituationMapper {
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
* 查询所有记录
|
|
|
|
|
|
*
|
|
|
|
|
|
* @return 返回集合,没有返回空List
|
|
|
|
|
|
*/
|
|
|
|
|
|
List<AddUpSituation> listAll();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
* 根据主键查询
|
|
|
|
|
|
*
|
|
|
|
|
|
* @param id 主键
|
|
|
|
|
|
* @return 返回记录,没有返回null
|
|
|
|
|
|
*/
|
|
|
|
|
|
AddUpSituation getById(Long id);
|
2022-03-08 13:17:54 +08:00
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
* 查询数据采集-累计专项附加扣除列表
|
|
|
|
|
|
* @param param
|
|
|
|
|
|
* @return
|
|
|
|
|
|
*/
|
2022-03-08 18:10:03 +08:00
|
|
|
|
List<AddUpSituationDTO> list(@Param("param") AddUpSituationQueryParam param);
|
2022-03-08 13:17:54 +08:00
|
|
|
|
|
2022-03-09 16:40:14 +08:00
|
|
|
|
List<AddUpSituationRecordDTO> recordList(@Param("param") AddUpSituationQueryParam param);
|
|
|
|
|
|
|
2022-03-08 13:17:54 +08:00
|
|
|
|
/**
|
|
|
|
|
|
* 根据条件查询
|
|
|
|
|
|
* @param param
|
|
|
|
|
|
* @return
|
|
|
|
|
|
*/
|
2022-03-08 18:10:03 +08:00
|
|
|
|
List<AddUpSituation> listSome(@Param("param") AddUpSituation param);
|
2022-03-08 13:17:54 +08:00
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
* 批量插入
|
|
|
|
|
|
* @param pos
|
|
|
|
|
|
*/
|
2022-03-08 18:10:03 +08:00
|
|
|
|
void insertData(@Param("collection") List<AddUpSituation> pos);
|
2022-03-08 13:17:54 +08:00
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
* 批量修改
|
|
|
|
|
|
* @param updateList
|
|
|
|
|
|
*/
|
2022-03-08 18:10:03 +08:00
|
|
|
|
void updateData(@Param("collection") List<AddUpSituation> updateList);
|
2022-04-11 20:17:47 +08:00
|
|
|
|
|
|
|
|
|
|
void deleteSome(@Param("param") AddUpSituation params);
|
2022-05-09 17:47:19 +08:00
|
|
|
|
|
|
|
|
|
|
void deleteByTaxYearMonthAndTaxAgentIds(@Param("param") AddUpSituation params);
|
2022-03-03 13:50:03 +08:00
|
|
|
|
}
|