|
@@ -196,23 +196,28 @@ public class BillPcrServiceImpl extends ServiceImpl<BillPcrMapper, BillPcr> impl
|
|
billPcr.setCheckDate(sdf.parse(date));
|
|
billPcr.setCheckDate(sdf.parse(date));
|
|
billPcr.setPassDate(sdf.parse(sdf.format(new Date())));
|
|
billPcr.setPassDate(sdf.parse(sdf.format(new Date())));
|
|
baseProcess.setUpdateDate(baseProcess.getUpdateDate() + "," + sdf.format(new Date()));
|
|
baseProcess.setUpdateDate(baseProcess.getUpdateDate() + "," + sdf.format(new Date()));
|
|
- baseProcess.setCurrentLocation(baseProcess.getCurrentLocation());
|
|
|
|
- baseProcess.setCurrentLocationId(baseProcess.getCurrentLocationId());
|
|
|
|
|
|
+
|
|
String status = baseProcess.getCurrentStatus();
|
|
String status = baseProcess.getCurrentStatus();
|
|
String substring = status.substring(0, status.length() - 1);
|
|
String substring = status.substring(0, status.length() - 1);
|
|
|
|
|
|
- baseProcess.setCurrentStatus(substring + "2");
|
|
|
|
|
|
+ baseProcess.setCurrentStatus(substring + "2,"+0);
|
|
if (baseLocation.getId() == 2) {
|
|
if (baseLocation.getId() == 2) {
|
|
//第一次检测不合格
|
|
//第一次检测不合格
|
|
billPcr.setPcrType(1);
|
|
billPcr.setPcrType(1);
|
|
|
|
+ baseProcess.setCurrentLocation(baseProcess.getCurrentLocation()+",初级洗消站污区");
|
|
|
|
+ baseProcess.setCurrentLocationId(baseProcess.getCurrentLocationId()+",2");
|
|
}
|
|
}
|
|
if (baseLocation.getId() == 6) {
|
|
if (baseLocation.getId() == 6) {
|
|
//第二次检测不合格
|
|
//第二次检测不合格
|
|
baseProcess.setProcessType(2);
|
|
baseProcess.setProcessType(2);
|
|
|
|
+ baseProcess.setCurrentLocation(baseProcess.getCurrentLocation());
|
|
|
|
+ baseProcess.setCurrentLocationId(baseProcess.getCurrentLocationId());
|
|
}
|
|
}
|
|
if (baseLocation.getId() == 11) {
|
|
if (baseLocation.getId() == 11) {
|
|
//第三次不合格
|
|
//第三次不合格
|
|
baseProcess.setProcessType(2);
|
|
baseProcess.setProcessType(2);
|
|
|
|
+ baseProcess.setCurrentLocation(baseProcess.getCurrentLocation());
|
|
|
|
+ baseProcess.setCurrentLocationId(baseProcess.getCurrentLocationId());
|
|
}
|
|
}
|
|
|
|
|
|
processMapper.updateById(baseProcess);
|
|
processMapper.updateById(baseProcess);
|
|
@@ -267,7 +272,7 @@ public class BillPcrServiceImpl extends ServiceImpl<BillPcrMapper, BillPcr> impl
|
|
baseProcess.setCurrentLocationId(baseProcess.getCurrentLocationId());
|
|
baseProcess.setCurrentLocationId(baseProcess.getCurrentLocationId());
|
|
String status = baseProcess.getCurrentStatus();
|
|
String status = baseProcess.getCurrentStatus();
|
|
String substring = status.substring(0, status.length() - 1);
|
|
String substring = status.substring(0, status.length() - 1);
|
|
- baseProcess.setCurrentStatus(substring + "2");
|
|
|
|
|
|
+ baseProcess.setCurrentStatus(substring + "2,"+0);
|
|
|
|
|
|
billPcr.setBillStatus(2);
|
|
billPcr.setBillStatus(2);
|
|
billPcr.setPassUserName(TokenSign.getUserNameByJwtToken(httpServletRequest));
|
|
billPcr.setPassUserName(TokenSign.getUserNameByJwtToken(httpServletRequest));
|