特定服务器管理:修正列表分页显示,条件查询,添加自定义显示,添加排序,新增修改页面添加表单校验, 协议ip配置:修正条件查询,添加自定义显示,添加排序,新增修改页面添加表单校验(ipV4\ipV6地址及掩码校验,端口校验)
104 lines
2.0 KiB
Java
104 lines
2.0 KiB
Java
package com.nis.web.dao.basics;
|
||
|
||
import java.util.List;
|
||
|
||
import org.apache.ibatis.annotations.Param;
|
||
|
||
import com.nis.domain.basics.SysDictInfo;
|
||
import com.nis.web.dao.CrudDao;
|
||
import com.nis.web.dao.MyBatisDao;
|
||
|
||
@MyBatisDao
|
||
public interface SysDictInfoDao extends CrudDao<SysDictInfo> {
|
||
|
||
|
||
|
||
/**
|
||
* 查询顶层字典列表(==))
|
||
* @param sysDictInfo
|
||
* @return
|
||
*/
|
||
List<SysDictInfo> findTopDictList(SysDictInfo sysDictInfo);
|
||
/**
|
||
* 查询顶层字典列表(!=)
|
||
* @param sysDictInfo
|
||
* @return
|
||
*/
|
||
List<SysDictInfo> findTopDictListN(SysDictInfo sysDictInfo);
|
||
/**
|
||
* 查询所有字典列表(含条件查询(==))
|
||
* @param sysDictInfo
|
||
* @return
|
||
*/
|
||
List<SysDictInfo> findAllSysDictInfo(@Param("sysDictInfo")SysDictInfo sysDictInfo,@Param("orderBy")String orderBy);
|
||
/**
|
||
* 查询所有字典列表(含条件查询(!=))
|
||
* @param sysDictInfo
|
||
* @return
|
||
*/
|
||
List<SysDictInfo> findAllSysDictInfoN(@Param("sysDictInfo")SysDictInfo sysDictInfo,@Param("orderBy")String orderBy);
|
||
/**
|
||
* 查出所有有效数据
|
||
* @param sysDictInfo
|
||
* @return
|
||
*/
|
||
List<SysDictInfo> findAllDictList(SysDictInfo sysDictInfo);
|
||
/**
|
||
* 添加字典信息
|
||
* @param sysDictInfo
|
||
*/
|
||
void insertDict(SysDictInfo sysDictInfo);
|
||
|
||
/**
|
||
* 根据主键查询字典详细信息
|
||
* @param sysDictId
|
||
* @return
|
||
*/
|
||
SysDictInfo getDictById(Integer sysDictId);
|
||
/**
|
||
* 查询所有的非叶子配置
|
||
* @param itemType
|
||
* @return
|
||
*/
|
||
List<SysDictInfo> findAllNoLeafDictList(Integer itemType);
|
||
|
||
/**
|
||
* 根据itemCode查询字典对象列表
|
||
* @param itemCode
|
||
* @return
|
||
*/
|
||
List<SysDictInfo> findByItemCode(String itemCode);
|
||
|
||
/**
|
||
* 根据上级id选出所有下级
|
||
* @param parentId
|
||
* @return
|
||
*/
|
||
List<SysDictInfo> getDictByParentId(Integer parentId);
|
||
|
||
/**
|
||
* 查询最大itemCode值
|
||
* @return
|
||
*/
|
||
Integer findMaxItemCode();
|
||
/**
|
||
* 保存层级
|
||
* @param sysDictInfo
|
||
*/
|
||
void updateLevelNo(SysDictInfo sysDictInfo);
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
} |