master
wxy 2024-05-24 14:32:40 +08:00
parent 4c3ad91eb3
commit 4ba5324f08
2 changed files with 206 additions and 0 deletions

View File

@ -0,0 +1,82 @@
package com.jing.system.service;
import java.util.List;
import com.jing.system.domain.SysConfig;
/**
*
*
* @author ruoyi
*/
public interface ISysConfigService
{
/**
*
*
* @param configId ID
* @return
*/
public SysConfig selectConfigById(Long configId);
/**
*
*
* @param configKey
* @return
*/
public String selectConfigByKey(String configKey);
/**
*
*
* @param config
* @return
*/
public List<SysConfig> selectConfigList(SysConfig config);
/**
*
*
* @param config
* @return
*/
public int insertConfig(SysConfig config);
/**
*
*
* @param config
* @return
*/
public int updateConfig(SysConfig config);
/**
*
*
* @param configIds ID
*/
public void deleteConfigByIds(Long[] configIds);
/**
*
*/
public void loadingConfigCache();
/**
*
*/
public void clearConfigCache();
/**
*
*/
public void resetConfigCache();
/**
*
*
* @param config
* @return
*/
public boolean checkConfigKeyUnique(SysConfig config);
}

View File

@ -0,0 +1,124 @@
package com.jing.system.service;
import java.util.List;
import com.jing.system.api.domain.SysDept;
import com.jing.system.domain.vo.TreeSelect;
/**
*
*
* @author ruoyi
*/
public interface ISysDeptService
{
/**
*
*
* @param dept
* @return
*/
public List<SysDept> selectDeptList(SysDept dept);
/**
*
*
* @param dept
* @return
*/
public List<TreeSelect> selectDeptTreeList(SysDept dept);
/**
*
*
* @param depts
* @return
*/
public List<SysDept> buildDeptTree(List<SysDept> depts);
/**
*
*
* @param depts
* @return
*/
public List<TreeSelect> buildDeptTreeSelect(List<SysDept> depts);
/**
* ID
*
* @param roleId ID
* @return
*/
public List<Long> selectDeptListByRoleId(Long roleId);
/**
* ID
*
* @param deptId ID
* @return
*/
public SysDept selectDeptById(Long deptId);
/**
* ID
*
* @param deptId ID
* @return
*/
public int selectNormalChildrenDeptById(Long deptId);
/**
*
*
* @param deptId ID
* @return
*/
public boolean hasChildByDeptId(Long deptId);
/**
*
*
* @param deptId ID
* @return true false
*/
public boolean checkDeptExistUser(Long deptId);
/**
*
*
* @param dept
* @return
*/
public boolean checkDeptNameUnique(SysDept dept);
/**
*
*
* @param deptId id
*/
public void checkDeptDataScope(Long deptId);
/**
*
*
* @param dept
* @return
*/
public int insertDept(SysDept dept);
/**
*
*
* @param dept
* @return
*/
public int updateDept(SysDept dept);
/**
*
*
* @param deptId ID
* @return
*/
public int deleteDeptById(Long deptId);
}