Bladeren bron

公文收文info接口查询增加字段

dzx 6 maanden geleden
bovenliggende
commit
7d766dac71

+ 3 - 3
src/main/java/com/xjrsoft/module/oa/controller/OfficialDocumentReceivedController.java

@@ -98,10 +98,10 @@ public class OfficialDocumentReceivedController {
 
         if(officialDocumentReceived.getHandleDutyUserId() != null){
             User handleDutyUser = userService.getById(officialDocumentReceived.getHandleDutyUserId());
-            if(){
-
+            if(handleDutyUser != null){
+                bean.setHandleDutyUserName(handleDutyUser.getName());
             }
-            bean.setHandleDutyUserName(handleDutyUser.getName());
+
         }
 
         List<User> userList = userService.list(