Newspaper 1 год назад
Родитель
Сommit
09a6d39708

+ 1 - 1
huimv-receive/src/main/java/com/huimv/receive/service/impl/BillCleanBeforeServiceImpl.java

@@ -166,7 +166,7 @@ public class BillCleanBeforeServiceImpl extends ServiceImpl<BillCleanBeforeMappe
                 cleanBefore.getProcessId(), Integer.parseInt(cleanBefore.getFarmId()), cleanBefore.getTestLocation(), cleanBefore.getTestLocationId(),
                 cleanBefore.getVistitType(), cleanBefore.getPhone(),cleanBefore.getDepartureName(),cleanBefore.getDepartureId());
         if (nextId == 0) {
-            if (StringUtils.isBlank(split[1])) {
+            if (split.length == 1) {
                 baseProcess.setProcessType(1);
                 if (allLocationId.length() > 5) {
                     baseProcess.setAllLocationStatus("2,2,2,2,2");

+ 1 - 1
huimv-receive/src/main/java/com/huimv/receive/service/impl/BillPcrServiceImpl.java

@@ -411,7 +411,7 @@ public class BillPcrServiceImpl extends ServiceImpl<BillPcrMapper, BillPcr> impl
                         billPcr.getVistitType(), billPcr.getPhone(), billPcr.getDepartureName(), billPcr.getDepartureId());
                 System.out.println("这里是pcr通过的下一个流程id:" + nextId);
                 if (nextId == 0) {
-                    if (StringUtils.isBlank(split[1])) {
+                    if (split.length == 1) {
                         baseProcess.setProcessType(1);
                         if (allLocationId.length() > 5) {
                             baseProcess.setAllLocationStatus("2,2,2,2,2");

+ 1 - 1
huimv-receive/src/main/java/com/huimv/receive/service/impl/BillSamplingServiceImpl.java

@@ -169,7 +169,7 @@ public class BillSamplingServiceImpl extends ServiceImpl<BillSamplingMapper, Bil
                 sampling.getProcessId(), Integer.parseInt(sampling.getFarmId()), sampling.getTestLocation(), sampling.getTestLocationId(),
                 sampling.getVistitType(), sampling.getPhone(),sampling.getDepartureName(),sampling.getDepartureId());
         if (nextId == 0) {
-            if (StringUtils.isBlank(split[1])) {
+            if (split.length == 1) {
                 baseProcess.setProcessType(1);
                 if (allLocationId.length() > 5) {
                     baseProcess.setAllLocationStatus("2,2,2,2,2");