|
|
@@ -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();
|