【fix sonar】SysBaseApiImpl文件
This commit is contained in:
+3
-3
@@ -51,7 +51,7 @@ import java.util.*;
|
||||
/**
|
||||
* @Description: 底层共通业务API,提供其他独立模块调用
|
||||
* @Author: scott
|
||||
* @Date:2019-4-20
|
||||
* @Date:2019-4-20
|
||||
* @Version:V1.0
|
||||
*/
|
||||
@Slf4j
|
||||
@@ -742,7 +742,7 @@ public class SysBaseApiImpl implements ISysBaseAPI {
|
||||
for(SysUserDepart userDepart : userDepartList){
|
||||
//查询所属公司编码
|
||||
SysDepart depart = sysDepartService.getById(userDepart.getDepId());
|
||||
int length = YouBianCodeUtil.zhanweiLength;
|
||||
int length = YouBianCodeUtil.ZHANWEI_LENGTH;
|
||||
String compyOrgCode = "";
|
||||
if(depart != null && depart.getOrgCode() != null){
|
||||
compyOrgCode = depart.getOrgCode().substring(0,length);
|
||||
@@ -1140,4 +1140,4 @@ public class SysBaseApiImpl implements ISysBaseAPI {
|
||||
return sysDictService.queryTableDictTextByKeys(table, text, code, Arrays.asList(keys.split(",")));
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user