2024-12-16 17:48:03 +08:00
|
|
|
|
package com.engine.salary.mapper.datacollection;
|
|
|
|
|
|
|
|
|
|
|
|
import com.engine.salary.entity.datacollection.po.EndowmentInsurancePO;
|
|
|
|
|
|
import org.apache.ibatis.annotations.Param;
|
|
|
|
|
|
|
|
|
|
|
|
import java.util.Collection;
|
|
|
|
|
|
import java.util.List;
|
|
|
|
|
|
|
|
|
|
|
|
public interface EndowmentInsuranceMapper {
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
* 查询所有记录
|
|
|
|
|
|
*
|
|
|
|
|
|
* @return 返回集合,没有返回空List
|
|
|
|
|
|
*/
|
|
|
|
|
|
List<EndowmentInsurancePO> listAll();
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
* 条件查询
|
|
|
|
|
|
*
|
|
|
|
|
|
* @return 返回集合,没有返回空List
|
|
|
|
|
|
*/
|
|
|
|
|
|
List<EndowmentInsurancePO> listSome(EndowmentInsurancePO endowmentInsurance);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
* 根据主键查询
|
|
|
|
|
|
*
|
|
|
|
|
|
* @param id 主键
|
|
|
|
|
|
* @return 返回记录,没有返回null
|
|
|
|
|
|
*/
|
|
|
|
|
|
EndowmentInsurancePO getById(Long id);
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
* 新增,忽略null字段
|
|
|
|
|
|
*
|
|
|
|
|
|
* @param endowmentInsurance 新增的记录
|
|
|
|
|
|
* @return 返回影响行数
|
|
|
|
|
|
*/
|
|
|
|
|
|
int insertIgnoreNull(EndowmentInsurancePO endowmentInsurance);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
* 修改,修改所有字段
|
|
|
|
|
|
*
|
|
|
|
|
|
* @param endowmentInsurance 修改的记录
|
|
|
|
|
|
* @return 返回影响行数
|
|
|
|
|
|
*/
|
|
|
|
|
|
int update(EndowmentInsurancePO endowmentInsurance);
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
* 修改,忽略null字段
|
|
|
|
|
|
*
|
|
|
|
|
|
* @param endowmentInsurance 修改的记录
|
|
|
|
|
|
* @return 返回影响行数
|
|
|
|
|
|
*/
|
|
|
|
|
|
int updateIgnoreNull(EndowmentInsurancePO endowmentInsurance);
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
* 删除记录
|
|
|
|
|
|
*
|
|
|
|
|
|
* @param endowmentInsurance 待删除的记录
|
|
|
|
|
|
* @return 返回影响行数
|
|
|
|
|
|
*/
|
|
|
|
|
|
int delete(EndowmentInsurancePO endowmentInsurance);
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
* 批量删除记录
|
|
|
|
|
|
* @param ids 主键id集合
|
|
|
|
|
|
*/
|
|
|
|
|
|
void deleteByIds(@Param("ids") Collection<Long> ids);
|
2024-12-25 16:28:21 +08:00
|
|
|
|
|
|
|
|
|
|
void deleteByMainId(Long mainId);
|
2024-12-16 17:48:03 +08:00
|
|
|
|
}
|