|
|
@@ -282,6 +282,7 @@ public class LabMessageContentServiceImpl implements ILabMessageContentService {
|
|
|
warningNoticeLog.setKeyId(groupId);
|
|
|
warningNoticeLog.setSubName(subject.getName());
|
|
|
warningNoticeLog.setBuildName(subject.getDeptName());
|
|
|
+ warningNoticeLog.setFloorId(subject.getFloorId());
|
|
|
warningNoticeLog.setFloorName(subject.getFloorName());
|
|
|
warningNoticeLog.setRoomNum(subject.getRoom());
|
|
|
warningNoticeLog.setWarningType(4);
|
|
|
@@ -301,13 +302,9 @@ public class LabMessageContentServiceImpl implements ILabMessageContentService {
|
|
|
riskPlanName = "高风险";
|
|
|
}
|
|
|
warningNoticeLog.setWarningContent(labRiskPlanLevel.getDescribe()+"-"+riskPlanName);
|
|
|
-
|
|
|
- LabRiskPlanAbnormalLog labRiskPlanAbnormalLogByGroupId = new LabRiskPlanAbnormalLog();
|
|
|
- labRiskPlanAbnormalLogByGroupId.setGroupId(groupId);
|
|
|
- List<LabRiskPlanAbnormalLog> list = labRiskPlanAbnormalLogMapper.selectLabRiskPlanAbnormalLogOrderByList(labRiskPlanAbnormalLogByGroupId);
|
|
|
- if (list != null && list.size() > 0) {
|
|
|
- LabRiskPlanAbnormalLog labRiskPlanAbnormalLog = list.get(0);
|
|
|
- warningNoticeLog.setStartTime(LocalDateTimeUtil.of(labRiskPlanAbnormalLog.getStartDate()));
|
|
|
+ LabRiskPlanAbnormalLog labRiskPlanAbnormalLog = labRiskPlanAbnormalLogMapper.selectLabRiskPlanAbnormalLogById(groupId);
|
|
|
+ if (labRiskPlanAbnormalLog != null ) {
|
|
|
+ warningNoticeLog.setStartTime(LocalDateTimeUtil.of(labRiskPlanAbnormalLog.getCreateTime()));
|
|
|
}
|
|
|
//获取实验室内人员
|
|
|
Map<String, Object> params = new HashMap<>();
|