【fix sonar】SysBaseApiImpl文件
This commit is contained in:
+1
-1
@@ -742,7 +742,7 @@ public class SysBaseApiImpl implements ISysBaseAPI {
|
|||||||
for(SysUserDepart userDepart : userDepartList){
|
for(SysUserDepart userDepart : userDepartList){
|
||||||
//查询所属公司编码
|
//查询所属公司编码
|
||||||
SysDepart depart = sysDepartService.getById(userDepart.getDepId());
|
SysDepart depart = sysDepartService.getById(userDepart.getDepId());
|
||||||
int length = YouBianCodeUtil.zhanweiLength;
|
int length = YouBianCodeUtil.ZHANWEI_LENGTH;
|
||||||
String compyOrgCode = "";
|
String compyOrgCode = "";
|
||||||
if(depart != null && depart.getOrgCode() != null){
|
if(depart != null && depart.getOrgCode() != null){
|
||||||
compyOrgCode = depart.getOrgCode().substring(0,length);
|
compyOrgCode = depart.getOrgCode().substring(0,length);
|
||||||
|
|||||||
Reference in New Issue
Block a user