Przeglądaj źródła

预案实验室id

hanzhiwei 2 lat temu
rodzic
commit
e4c008aee9

+ 1 - 1
zd-modules/zd-modules-laboratory/src/main/java/com/zd/laboratory/service/impl/LabMessageContentServiceImpl.java

@@ -277,7 +277,7 @@ public class LabMessageContentServiceImpl implements ILabMessageContentService {
                 logger.info("发送短信打电话消息推送完成!topic={},msg={}",MqttConstants.TOPIC_ALERT + labRiskPlanLevel.getRiskPlanId() + "/" + subject.getId(),JSON.toJSONString(messageBody));
                 WarningNoticeLog warningNoticeLog = new WarningNoticeLog();
                 warningNoticeLog.setKeyId(groupId);
-                warningNoticeLog.setSubId(subject.getSubjectId());
+                warningNoticeLog.setSubId(subject.getId());
                 warningNoticeLog.setSubName(subject.getName());
                 warningNoticeLog.setBuildName(subject.getDeptName());
                 warningNoticeLog.setFloorId(subject.getFloorId());