You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
weaver-hrm-organization/src/com/engine/organization/mapper/scheme/LevelMapper.java

81 lines
1.5 KiB
Java

package com.engine.organization.mapper.scheme;
import com.engine.organization.entity.scheme.po.LevelPO;
import org.apache.ibatis.annotations.MapKey;
import org.apache.ibatis.annotations.Param;
import java.util.Collection;
import java.util.List;
import java.util.Map;
/**
* @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);
/**
* ID
*
* @param ids
* @return
*/
@MapKey("id")
List<Map<String,Object>> listLevelsByIds(@Param("ids") Collection<Long> ids);
/**
*
* @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);
/**
*
* @param tag
* @return
*/
int getCountByTag(@Param("tag") int tag);
}