SysDictItemMapper.java
565 字节
package com.skua.modules.system.mapper;
import com.skua.modules.system.entity.SysDictItem;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import java.util.List;
/**
* Mapper 接口
*/
public interface SysDictItemMapper extends BaseMapper<SysDictItem> {
@Select("SELECT * FROM SYS_DICT_ITEM WHERE DICT_ID = #{mainId}")
public List<SysDictItem> selectItemsByMainId(String mainId);
Integer selectMaxSortOrderByDictId(@Param("dictId") String dictId);
}