|
|
|
@ -625,15 +625,15 @@ public class FontController {
|
|
|
|
|
//获取deptId
|
|
|
|
|
String deptId = power_userMapper.selectForDeptId(userId);
|
|
|
|
|
//获取deptcode
|
|
|
|
|
String result = "";
|
|
|
|
|
StringBuilder result = new StringBuilder();
|
|
|
|
|
String[] deptIdSingle = deptId.split(",");
|
|
|
|
|
if (deptIdSingle != null && deptIdSingle.length > 0) {
|
|
|
|
|
for (int i = 0; i < deptIdSingle.length; i++) {
|
|
|
|
|
String deptCode = power_userMapper.selectForDeptCode(deptIdSingle[i]);
|
|
|
|
|
result += deptCode + ",";
|
|
|
|
|
result.append(deptCode).append(",");
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
return result;
|
|
|
|
|
return result.toString();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|