weaver-hrm-organization/src/com/engine/organization/mapper/scheme/LevelMapper.java

63 lines
1.1 KiB
Java
Raw Normal View History

2022-05-10 21:07:50 +08:00
package com.engine.organization.mapper.scheme;
import com.engine.organization.entity.scheme.po.LevelPO;
import org.apache.ibatis.annotations.Param;
import java.util.Collection;
import java.util.List;
/**
* @Author dxfeng
* @Description: TODO
* @Date 2022/5/9
* @Version V1.0
**/
public interface LevelMapper {
/**
* 根据No查询登记方案
*
* @param levelNo
* @return
*/
List<LevelPO> listByNo(@Param("levelNo") String levelNo);
/**
* 获取职等根据ID
* @param id
* @return
*/
LevelPO getLevelByID(@Param("id") long id);
/**
* 插入职等
* @param levelPO
* @return
*/
int insertIgnoreNull(LevelPO levelPO);
/**
* 修改修改所有字段
*
* @param levelPO
* @return
*/
int updateLevel(LevelPO levelPO);
/**
* 更新禁用标记
*
* @param levelPO
* @return
*/
int updateForbiddenTagById(LevelPO levelPO);
/**
* 批量删除登记方案
*
* @param ids
*/
int deleteByIds(@Param("ids") Collection<Long> ids);
}