Browse Source

请假时间

cs 2 years ago
parent
commit
928a619398

+ 2 - 1
fhKeeper/formulahousekeeper/management-platform/src/main/java/com/management/platform/controller/ReportLogController.java

@@ -48,7 +48,8 @@ public class ReportLogController {
                 String operatorId = reportLog.getOperatorId();
                 for (User item : users) {
                     if (item.getId().equals(operatorId)){
-                        reportLog.getMsg().replace(item.getName(),"$userName=" + item.getCorpwxUserid() + "$");
+                        String name = item.getName();
+                        reportLog.setMsg(reportLog.getMsg().replace(name,"$userName=" + item.getCorpwxUserid() + "$"));
                     }
                 }
             }