|
@@ -263,7 +263,7 @@ public class MsSuspectedService {
|
|
|
|
|
|
//更新今日日报
|
|
|
@Transactional(rollbackFor = Exception.class, propagation = Propagation.REQUIRED)
|
|
|
- public void updateReport(Long reportId, Integer medical, Integer singleRoom, BigDecimal temperature) {
|
|
|
+ public void updateReport(Long reportId, Integer medical, Integer singleRoom, BigDecimal temperature, String longitude, String latitude) {
|
|
|
//更新今日日报
|
|
|
Integer trueNum = 0, singleNum = 0, isSuspected = 0, isNoSuspected = 0, isFamliy = 0, abnormalNum = 0;
|
|
|
|
|
@@ -293,6 +293,8 @@ public class MsSuspectedService {
|
|
|
msReport.setSuspectedNum(isNoSuspected);
|
|
|
msReport.setNormalNum(isSuspected);
|
|
|
msReport.setSafetyNum(isFamliy);
|
|
|
+ msReport.setLongitude(longitude);
|
|
|
+ msReport.setLatitude(latitude);
|
|
|
if (isNoSuspected > 0 || abnormalNum > 0)
|
|
|
msReport.setMsStatus(2);
|
|
|
else
|