weaver-hrm-salary/src/com/engine/salary/mapper/datacollection/OtherDerateDeductionMapper....

81 lines
1.9 KiB
Java
Raw Normal View History

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