Bladeren bron

BUG修改

xiao547607 3 jaren geleden
bovenliggende
commit
489b9ed7b1

+ 6 - 0
web/src/main/java/com/jpsoft/employment/modules/mobile/controller/MessageNoticeApiController.java

@@ -245,6 +245,12 @@ public class MessageNoticeApiController {
             mc.setCreateByN(createUser.getRealName());
 
             Company company = companyService.get(createUser.getCompanyId());
+            if(company != null){
+                String scaleName = dataDictionaryService.getName(company.getScale());
+                company.setScaleName(scaleName);
+                String industryN = dataDictionaryService.getName(company.getIndustry());
+                company.setIndustryName(industryN);
+            }
 
             MessageRead messageRead = messageReadService.findByMIdAndUserId(mc.getId(),subject);
             Boolean isNeedAgree = false;