|
@@ -406,6 +406,7 @@ public class BillPcrServiceImpl extends ServiceImpl<BillPcrMapper, BillPcr> impl
|
|
|
billPcr.getAdmissionUserId(), billPcr.getVistitDate(), billPcr.getSubDate(),
|
|
|
billPcr.getProcessId(), billPcr.getFarmId(), billPcr.getTestLocation(), billPcr.getTestLocationId(),
|
|
|
billPcr.getVistitType(),billPcr.getPhone());
|
|
|
+ System.out.println("这里是pcr通过的下一个流程id:" + nextId);
|
|
|
if (nextId == 0) {
|
|
|
int index = allLocationId.indexOf(baseLocation.getId());
|
|
|
StringBuilder status = new StringBuilder(baseProcess.getAllLocationId());
|
|
@@ -509,7 +510,7 @@ public class BillPcrServiceImpl extends ServiceImpl<BillPcrMapper, BillPcr> impl
|
|
|
String substring = status.substring(0, status.length() - 1);
|
|
|
|
|
|
baseProcess.setCurrentStatus(substring + "1," + 0);
|
|
|
- baseProcess.setCurrentFlowId(baseProcess.getCurrentLocationId() + "," + nextId);
|
|
|
+ baseProcess.setCurrentFlowId(baseProcess.getCurrentFlowId() + "," + nextId);
|
|
|
processMapper.updateById(baseProcess);
|
|
|
pcrMapper.updateById(billPcr);
|
|
|
return new Result(10000, "修改成功!", true);
|