Commit dc838906 by fengshuonan

更新职位为空的判断

parent b8bac15a
...@@ -343,9 +343,11 @@ public class ConstantFactory implements IConstantFactory { ...@@ -343,9 +343,11 @@ public class ConstantFactory implements IConstantFactory {
if (userPosList != null && userPosList.size() > 0) { if (userPosList != null && userPosList.size() > 0) {
for (UserPos userPos : userPosList) { for (UserPos userPos : userPosList) {
Position position = positionService.getById(userPos.getPosId()); Position position = positionService.getById(userPos.getPosId());
if (position != null) {
positionNames.append(",").append(position.getName()); positionNames.append(",").append(position.getName());
} }
} }
}
return StrUtil.removePrefix(positionNames.toString(), ","); return StrUtil.removePrefix(positionNames.toString(), ",");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment