|
@@ -35,6 +35,8 @@ public class MsTripService {
|
|
|
@Autowired
|
|
|
private MsSuspectedService msSuspectedService;
|
|
|
@Autowired
|
|
|
+ private MsReportService msReportService;
|
|
|
+ @Autowired
|
|
|
private UptownUnitMapper uptownUnitMapper;
|
|
|
|
|
|
|
|
@@ -175,7 +177,7 @@ public class MsTripService {
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
- //更新今日日报
|
|
|
+ //更新今日日报,直接上报
|
|
|
msSuspectedService.updateReport(reportId, medical, singleRoom, temperature);
|
|
|
|
|
|
} else {
|
|
@@ -262,7 +264,8 @@ public class MsTripService {
|
|
|
}
|
|
|
}
|
|
|
//更新今日日报,直接上报
|
|
|
- msSuspectedService.updateReportStatus(reportId, medical, singleRoom, temperature);
|
|
|
+ msSuspectedService.updateReport(reportId, medical, singleRoom, temperature);
|
|
|
+ msReportService.addReport(userCreate);
|
|
|
}
|
|
|
return reportId;
|
|
|
}
|