Browse Source

危险作业处罚人员提醒bug 处理

chenguangyu 1 năm trước cách đây
mục cha
commit
80c50a0419

+ 2 - 2
cx-safe-check/cx-save-check-common/src/main/java/com/rongwei/sfcommon/sys/service/impl/SafeCheckSendNotifyServiceImpl.java

@@ -128,7 +128,7 @@ public class SafeCheckSendNotifyServiceImpl implements SafeCheckSendNotifyServic
                 CXCommonUtils.sendNotify(DANGEROUS_TITLE, String.format(DANGEROUS_CONTENT,
                                 item.get("JOBTYPE"), item.get("ASSIGNMENTTIMESTART"), item.get("ASSIGNMENTTIMEEND"),
                                 item.get("PENALTYAMOUNT"), item.get("MODIFYDATE")),
-                        "", personnelIdList, null, DANGEROUS);
+                        "", personnelIdList, (String) item.get("ID"), DANGEROUS);
             }
         }
     }
@@ -146,7 +146,7 @@ public class SafeCheckSendNotifyServiceImpl implements SafeCheckSendNotifyServic
             CXCommonUtils.sendNotify(DANGEROUS_TITLE, String.format(DANGEROUS_CONTENT,
                             dangerous.get("JOBTYPE"), dangerous.get("ASSIGNMENTTIMESTART"), dangerous.get("ASSIGNMENTTIMEEND"),
                             dangerous.get("PENALTYAMOUNT"), dangerous.get("MODIFYDATE")),
-                    "", personnelIdList, null, DANGEROUS);
+                    "", personnelIdList, (String) dangerous.get("ID"), DANGEROUS);
         }
         return R.ok();
     }