add 新增 翻译模块 部门名称翻译

update 优化 部门业务增加缓存逻辑
This commit is contained in:
疯狂的狮子li
2023-02-04 11:47:11 +08:00
parent fdc6c89bc2
commit 234f74f8f0
6 changed files with 98 additions and 11 deletions

View File

@ -35,6 +35,11 @@ public interface CacheNames {
*/
String SYS_USER_NAME = "sys_user_name#30d";
/**
* 部门
*/
String SYS_DEPT = "sys_dept#30d";
/**
* OSS内容
*/

View File

@ -0,0 +1,18 @@
package com.ruoyi.common.core.service;
/**
* 通用 部门服务
*
* @author Lion Li
*/
public interface DeptService {
/**
* 通过部门ID查询部门名称
*
* @param deptIds 部门ID串逗号分隔
* @return 部门名称串逗号分隔
*/
String selectDeptNameByIds(String deptIds);
}