Преглед на файлове

pms 瑞恒日报 暂时关闭提醒。

zhangcl преди 1 седмица
родител
ревизия
ee6729d3de

+ 3 - 2
yudao-module-pms/yudao-module-pms-biz/src/main/java/cn/iocoder/yudao/module/pms/service/iotrhdailyreport/IotRhDailyReportServiceImpl.java

@@ -331,6 +331,7 @@ public class IotRhDailyReportServiceImpl implements IotRhDailyReportService {
         }
         // 只要保存了记录就要发送审批提醒到 提交人对应的项目经理 角色 项目部日报审批RH
         // 根据日报的 deptId 查询上级项目部经理 角色的审批人 发送站内信 钉钉提醒
+        // 此时需要判断下当前队伍下有无增压机,如果 ‘当前队伍下无增压机’ 或 ‘增压机的状态不是施工’ 需要新增空白记录 向填报人推送消息。
         DeptDO dept = deptService.getDept(deptId);
         Long parentId = dept.getParentId();
         if (ObjUtil.isNotEmpty(parentId)) {
@@ -380,8 +381,8 @@ public class IotRhDailyReportServiceImpl implements IotRhDailyReportService {
                                                 try {
                                                     String mobile = user.getMobile();
                                                     if (StrUtil.isNotBlank(mobile) && StrUtil.isNotBlank(finalMsgTitle)) {
-                                                        pmsMessage.sendMessage(iotRhDailyReport.getId(), finalMsgTitle, PmsConstants.RH_DAILY_REPORT_APPROVAL,
-                                                                userId, mobile);
+                                                        /* pmsMessage.sendMessage(iotRhDailyReport.getId(), finalMsgTitle, PmsConstants.RH_DAILY_REPORT_APPROVAL,
+                                                                userId, mobile); */
                                                     }
                                                 } finally {
                                                     latch.countDown();