|
@@ -1357,26 +1357,32 @@ public class BillPersonnelAdmissionServiceImpl extends ServiceImpl<BillPersonnel
|
|
|
//新增采样
|
|
|
BillSampling billSampling = (BillSampling) newObject;
|
|
|
samplingMapper.insert(billSampling);
|
|
|
+ baseProcess.setCurrentFlowId(baseProcess.getCurrentFlowId() + "," + nextId);
|
|
|
}else if (nextId == 2) {
|
|
|
//新增pcr
|
|
|
BillPcr pcr = (BillPcr) newObject;
|
|
|
pcrMapper.insert(pcr);
|
|
|
+ baseProcess.setCurrentFlowId(baseProcess.getCurrentFlowId() + "," + nextId);
|
|
|
}else if (nextId == 3) {
|
|
|
//新增洗澡
|
|
|
BillClean pcr = (BillClean) newObject;
|
|
|
cleanMapper.insert(pcr);
|
|
|
+ baseProcess.setCurrentFlowId(baseProcess.getCurrentFlowId() + "," + nextId);
|
|
|
}else if (nextId == 4) {
|
|
|
//新增隔离
|
|
|
BillIsolate pcr = (BillIsolate) newObject;
|
|
|
isolateMapper.insert(pcr);
|
|
|
+ baseProcess.setCurrentFlowId(baseProcess.getCurrentFlowId() + "," + nextId);
|
|
|
}else if (nextId == 5) {
|
|
|
BillDry pcr = (BillDry) newObject;
|
|
|
dryMapper.insert(pcr);
|
|
|
+ baseProcess.setCurrentFlowId(baseProcess.getCurrentFlowId() + "," + nextId);
|
|
|
//新增烘干
|
|
|
}else if (nextId == 6) {
|
|
|
//新增洗澡前拍照
|
|
|
BillCleanBefore before = (BillCleanBefore) newObject;
|
|
|
beforeMapper.insert(before);
|
|
|
+ baseProcess.setCurrentFlowId(baseProcess.getCurrentFlowId() + "," + nextId);
|
|
|
}
|
|
|
|
|
|
SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
|
|
@@ -1411,7 +1417,7 @@ public class BillPersonnelAdmissionServiceImpl extends ServiceImpl<BillPersonnel
|
|
|
String status = baseProcess.getCurrentStatus();
|
|
|
String substring = status.substring(0, status.length() - 1);
|
|
|
baseProcess.setCurrentStatus(substring + "1," + 0);
|
|
|
- baseProcess.setCurrentFlowId(baseProcess.getCurrentFlowId() + "," + nextId);
|
|
|
+
|
|
|
|
|
|
|
|
|
isolateMapper.updateById(billIsolate);
|