ccj 1 year ago
parent
commit
e886257fbe
30 changed files with 182 additions and 182 deletions
  1. 6 6
      winsea-haixin-plugin-yiliangyiyun/src/main/java/com/yh/saas/plugin/yiliangyiyun/workflow/AcquisitionListener.java
  2. 6 6
      winsea-haixin-plugin-yiliangyiyun/src/main/java/com/yh/saas/plugin/yiliangyiyun/workflow/AcquisitionPayListener.java
  3. 6 6
      winsea-haixin-plugin-yiliangyiyun/src/main/java/com/yh/saas/plugin/yiliangyiyun/workflow/BukaListener.java
  4. 6 6
      winsea-haixin-plugin-yiliangyiyun/src/main/java/com/yh/saas/plugin/yiliangyiyun/workflow/BuyContractListener.java
  5. 6 6
      winsea-haixin-plugin-yiliangyiyun/src/main/java/com/yh/saas/plugin/yiliangyiyun/workflow/ContractCostInfoListener.java
  6. 6 6
      winsea-haixin-plugin-yiliangyiyun/src/main/java/com/yh/saas/plugin/yiliangyiyun/workflow/DcContractListener.java
  7. 6 6
      winsea-haixin-plugin-yiliangyiyun/src/main/java/com/yh/saas/plugin/yiliangyiyun/workflow/DsContractListListener.java
  8. 6 6
      winsea-haixin-plugin-yiliangyiyun/src/main/java/com/yh/saas/plugin/yiliangyiyun/workflow/DsContractListener.java
  9. 6 6
      winsea-haixin-plugin-yiliangyiyun/src/main/java/com/yh/saas/plugin/yiliangyiyun/workflow/ExepenseInfoListener.java
  10. 6 6
      winsea-haixin-plugin-yiliangyiyun/src/main/java/com/yh/saas/plugin/yiliangyiyun/workflow/ExepenseListener.java
  11. 6 6
      winsea-haixin-plugin-yiliangyiyun/src/main/java/com/yh/saas/plugin/yiliangyiyun/workflow/ExepenseYunListener.java
  12. 10 10
      winsea-haixin-plugin-yiliangyiyun/src/main/java/com/yh/saas/plugin/yiliangyiyun/workflow/FuelFingListener.java
  13. 6 6
      winsea-haixin-plugin-yiliangyiyun/src/main/java/com/yh/saas/plugin/yiliangyiyun/workflow/GeneralAuditInfoListener.java
  14. 6 6
      winsea-haixin-plugin-yiliangyiyun/src/main/java/com/yh/saas/plugin/yiliangyiyun/workflow/GoodsPurchaseReceiptReportListener.java
  15. 6 6
      winsea-haixin-plugin-yiliangyiyun/src/main/java/com/yh/saas/plugin/yiliangyiyun/workflow/InOutWharehoseTaskListener.java
  16. 6 6
      winsea-haixin-plugin-yiliangyiyun/src/main/java/com/yh/saas/plugin/yiliangyiyun/workflow/NonContractExpensesListener.java
  17. 6 6
      winsea-haixin-plugin-yiliangyiyun/src/main/java/com/yh/saas/plugin/yiliangyiyun/workflow/ProcurementOrderListener.java
  18. 6 6
      winsea-haixin-plugin-yiliangyiyun/src/main/java/com/yh/saas/plugin/yiliangyiyun/workflow/PurchaseClosingReportListener.java
  19. 6 6
      winsea-haixin-plugin-yiliangyiyun/src/main/java/com/yh/saas/plugin/yiliangyiyun/workflow/PurchaseReceiptReportListener.java
  20. 6 6
      winsea-haixin-plugin-yiliangyiyun/src/main/java/com/yh/saas/plugin/yiliangyiyun/workflow/QingjiaListener.java
  21. 6 6
      winsea-haixin-plugin-yiliangyiyun/src/main/java/com/yh/saas/plugin/yiliangyiyun/workflow/SaleCloseReportListener.java
  22. 6 6
      winsea-haixin-plugin-yiliangyiyun/src/main/java/com/yh/saas/plugin/yiliangyiyun/workflow/SaleContractListener.java
  23. 6 6
      winsea-haixin-plugin-yiliangyiyun/src/main/java/com/yh/saas/plugin/yiliangyiyun/workflow/SaleOrderListener.java
  24. 6 6
      winsea-haixin-plugin-yiliangyiyun/src/main/java/com/yh/saas/plugin/yiliangyiyun/workflow/SaleOutReportListener.java
  25. 6 6
      winsea-haixin-plugin-yiliangyiyun/src/main/java/com/yh/saas/plugin/yiliangyiyun/workflow/ShouContractListener.java
  26. 6 6
      winsea-haixin-plugin-yiliangyiyun/src/main/java/com/yh/saas/plugin/yiliangyiyun/workflow/TradeServicesListener.java
  27. 6 6
      winsea-haixin-plugin-yiliangyiyun/src/main/java/com/yh/saas/plugin/yiliangyiyun/workflow/TranProessListener.java
  28. 6 6
      winsea-haixin-plugin-yiliangyiyun/src/main/java/com/yh/saas/plugin/yiliangyiyun/workflow/TranSettlementReportListener.java
  29. 6 6
      winsea-haixin-plugin-yiliangyiyun/src/main/java/com/yh/saas/plugin/yiliangyiyun/workflow/WarehousingDebitListener.java
  30. 4 4
      winsea-haixin-plugin-yiliangyiyun/src/main/java/com/yh/saas/plugin/yiliangyiyun/workflow/WarehousingOrderListener.java

+ 6 - 6
winsea-haixin-plugin-yiliangyiyun/src/main/java/com/yh/saas/plugin/yiliangyiyun/workflow/AcquisitionListener.java

@@ -46,24 +46,24 @@ public class AcquisitionListener extends AbstractWorkflowTaskListener {
 
 
             if(statusRecord1 != null){
             if(statusRecord1 != null){
                 statusRecord1.setStatus(StatusEnum.ORDER_PASSED.getName());
                 statusRecord1.setStatus(StatusEnum.ORDER_PASSED.getName());
-                statusRecordMapper.updateById(statusRecord1);
+//                statusRecordMapper.updateById(statusRecord1);
             }
             }
             else{
             else{
                 statusRecord.setId(businessKey);
                 statusRecord.setId(businessKey);
                 statusRecord.setStatus(StatusEnum.ORDER_PASSED.getName());
                 statusRecord.setStatus(StatusEnum.ORDER_PASSED.getName());
-                statusRecordMapper.insert(statusRecord);
+//                statusRecordMapper.insert(statusRecord);
             }
             }
         } else {
         } else {
             purchasePrice.setApproveStatus(status);
             purchasePrice.setApproveStatus(status);
 
 
             if(statusRecord1 != null){
             if(statusRecord1 != null){
                 statusRecord1.setStatus(status);
                 statusRecord1.setStatus(status);
-                statusRecordMapper.updateById(statusRecord1);
+//                statusRecordMapper.updateById(statusRecord1);
             }
             }
             else{
             else{
                 statusRecord.setId(businessKey);
                 statusRecord.setId(businessKey);
                 statusRecord.setStatus(status);
                 statusRecord.setStatus(status);
-                statusRecordMapper.insert(statusRecord);
+//                statusRecordMapper.insert(statusRecord);
             }
             }
         }
         }
         purchasePriceService.updateAllColumnById(purchasePrice);
         purchasePriceService.updateAllColumnById(purchasePrice);
@@ -83,12 +83,12 @@ public class AcquisitionListener extends AbstractWorkflowTaskListener {
         StatusRecord statusRecord1 = statusRecordMapper.selectById(businessKey);
         StatusRecord statusRecord1 = statusRecordMapper.selectById(businessKey);
         if(statusRecord1 != null){
         if(statusRecord1 != null){
             statusRecord1.setStatus(StatusEnum.PURCHASE_FAILED.getName());
             statusRecord1.setStatus(StatusEnum.PURCHASE_FAILED.getName());
-            statusRecordMapper.updateById(statusRecord1);
+//            statusRecordMapper.updateById(statusRecord1);
         }
         }
         else{
         else{
             statusRecord.setId(businessKey);
             statusRecord.setId(businessKey);
             statusRecord.setStatus(StatusEnum.PURCHASE_FAILED.getName());
             statusRecord.setStatus(StatusEnum.PURCHASE_FAILED.getName());
-            statusRecordMapper.insert(statusRecord);
+//            statusRecordMapper.insert(statusRecord);
         }
         }
     }
     }
 
 

+ 6 - 6
winsea-haixin-plugin-yiliangyiyun/src/main/java/com/yh/saas/plugin/yiliangyiyun/workflow/AcquisitionPayListener.java

@@ -44,24 +44,24 @@ public class AcquisitionPayListener extends AbstractWorkflowTaskListener {
 
 
             if(statusRecord1 != null){
             if(statusRecord1 != null){
                 statusRecord1.setStatus(StatusEnum.ORDER_PASSED.getName());
                 statusRecord1.setStatus(StatusEnum.ORDER_PASSED.getName());
-                statusRecordMapper.updateById(statusRecord1);
+//                statusRecordMapper.updateById(statusRecord1);
             }
             }
             else{
             else{
                 statusRecord.setId(businessKey);
                 statusRecord.setId(businessKey);
                 statusRecord.setStatus(StatusEnum.ORDER_PASSED.getName());
                 statusRecord.setStatus(StatusEnum.ORDER_PASSED.getName());
-                statusRecordMapper.insert(statusRecord);
+//                statusRecordMapper.insert(statusRecord);
             }
             }
         } else {
         } else {
             paymentManagement.setApproveStatus(status);
             paymentManagement.setApproveStatus(status);
 
 
             if(statusRecord1 != null){
             if(statusRecord1 != null){
                 statusRecord1.setStatus(status);
                 statusRecord1.setStatus(status);
-                statusRecordMapper.updateById(statusRecord1);
+//                statusRecordMapper.updateById(statusRecord1);
             }
             }
             else{
             else{
                 statusRecord.setId(businessKey);
                 statusRecord.setId(businessKey);
                 statusRecord.setStatus(status);
                 statusRecord.setStatus(status);
-                statusRecordMapper.insert(statusRecord);
+//                statusRecordMapper.insert(statusRecord);
             }
             }
         }
         }
         paymentManagementService.updateAllColumnById(paymentManagement);
         paymentManagementService.updateAllColumnById(paymentManagement);
@@ -81,12 +81,12 @@ public class AcquisitionPayListener extends AbstractWorkflowTaskListener {
         StatusRecord statusRecord1 = statusRecordMapper.selectById(businessKey);
         StatusRecord statusRecord1 = statusRecordMapper.selectById(businessKey);
         if(statusRecord1 != null){
         if(statusRecord1 != null){
             statusRecord1.setStatus(StatusEnum.PURCHASE_FAILED.getName());
             statusRecord1.setStatus(StatusEnum.PURCHASE_FAILED.getName());
-            statusRecordMapper.updateById(statusRecord1);
+//            statusRecordMapper.updateById(statusRecord1);
         }
         }
         else{
         else{
             statusRecord.setId(businessKey);
             statusRecord.setId(businessKey);
             statusRecord.setStatus(StatusEnum.PURCHASE_FAILED.getName());
             statusRecord.setStatus(StatusEnum.PURCHASE_FAILED.getName());
-            statusRecordMapper.insert(statusRecord);
+//            statusRecordMapper.insert(statusRecord);
         }
         }
     }
     }
 
 

+ 6 - 6
winsea-haixin-plugin-yiliangyiyun/src/main/java/com/yh/saas/plugin/yiliangyiyun/workflow/BukaListener.java

@@ -42,24 +42,24 @@ public class BukaListener extends AbstractWorkflowTaskListener {
 
 
             if(statusRecord1 != null){
             if(statusRecord1 != null){
                 statusRecord1.setStatus(StatusEnum.ORDER_PASSED.getName());
                 statusRecord1.setStatus(StatusEnum.ORDER_PASSED.getName());
-                statusRecordMapper.updateById(statusRecord1);
+//                statusRecordMapper.updateById(statusRecord1);
             }
             }
             else{
             else{
                 statusRecord.setId(businessKey);
                 statusRecord.setId(businessKey);
                 statusRecord.setStatus(StatusEnum.ORDER_PASSED.getName());
                 statusRecord.setStatus(StatusEnum.ORDER_PASSED.getName());
-                statusRecordMapper.insert(statusRecord);
+//                statusRecordMapper.insert(statusRecord);
             }
             }
         } else {
         } else {
             clockInfo.setApproveStatus(status);
             clockInfo.setApproveStatus(status);
 
 
             if(statusRecord1 != null){
             if(statusRecord1 != null){
                 statusRecord1.setStatus(status);
                 statusRecord1.setStatus(status);
-                statusRecordMapper.updateById(statusRecord1);
+//                statusRecordMapper.updateById(statusRecord1);
             }
             }
             else{
             else{
                 statusRecord.setId(businessKey);
                 statusRecord.setId(businessKey);
                 statusRecord.setStatus(status);
                 statusRecord.setStatus(status);
-                statusRecordMapper.insert(statusRecord);
+//                statusRecordMapper.insert(statusRecord);
             }
             }
         }
         }
         clockInfoService.updateAllColumnById(clockInfo);
         clockInfoService.updateAllColumnById(clockInfo);
@@ -79,12 +79,12 @@ public class BukaListener extends AbstractWorkflowTaskListener {
         StatusRecord statusRecord1 = statusRecordMapper.selectById(businessKey);
         StatusRecord statusRecord1 = statusRecordMapper.selectById(businessKey);
         if(statusRecord1 != null){
         if(statusRecord1 != null){
             statusRecord1.setStatus(StatusEnum.PURCHASE_FAILED.getName());
             statusRecord1.setStatus(StatusEnum.PURCHASE_FAILED.getName());
-            statusRecordMapper.updateById(statusRecord1);
+//            statusRecordMapper.updateById(statusRecord1);
         }
         }
         else{
         else{
             statusRecord.setId(businessKey);
             statusRecord.setId(businessKey);
             statusRecord.setStatus(StatusEnum.PURCHASE_FAILED.getName());
             statusRecord.setStatus(StatusEnum.PURCHASE_FAILED.getName());
-            statusRecordMapper.insert(statusRecord);
+//            statusRecordMapper.insert(statusRecord);
         }
         }
     }
     }
 
 

+ 6 - 6
winsea-haixin-plugin-yiliangyiyun/src/main/java/com/yh/saas/plugin/yiliangyiyun/workflow/BuyContractListener.java

@@ -42,24 +42,24 @@ public class BuyContractListener extends AbstractWorkflowTaskListener {
 
 
             if(statusRecord1 != null){
             if(statusRecord1 != null){
                 statusRecord1.setStatus(StatusEnum.ORDER_PASSED.getName());
                 statusRecord1.setStatus(StatusEnum.ORDER_PASSED.getName());
-                statusRecordMapper.updateById(statusRecord1);
+//                statusRecordMapper.updateById(statusRecord1);
             }
             }
             else{
             else{
                 statusRecord.setId(businessKey);
                 statusRecord.setId(businessKey);
                 statusRecord.setStatus(StatusEnum.ORDER_PASSED.getName());
                 statusRecord.setStatus(StatusEnum.ORDER_PASSED.getName());
-                statusRecordMapper.insert(statusRecord);
+//                statusRecordMapper.insert(statusRecord);
             }
             }
         } else {
         } else {
             contractManagementInfo.setApproveStatus(status);
             contractManagementInfo.setApproveStatus(status);
 
 
             if(statusRecord1 != null){
             if(statusRecord1 != null){
                 statusRecord1.setStatus(status);
                 statusRecord1.setStatus(status);
-                statusRecordMapper.updateById(statusRecord1);
+//                statusRecordMapper.updateById(statusRecord1);
             }
             }
             else{
             else{
                 statusRecord.setId(businessKey);
                 statusRecord.setId(businessKey);
                 statusRecord.setStatus(status);
                 statusRecord.setStatus(status);
-                statusRecordMapper.insert(statusRecord);
+//                statusRecordMapper.insert(statusRecord);
             }
             }
         }
         }
         contractManagementInfoService.updateAllColumnById(contractManagementInfo);
         contractManagementInfoService.updateAllColumnById(contractManagementInfo);
@@ -79,12 +79,12 @@ public class BuyContractListener extends AbstractWorkflowTaskListener {
         StatusRecord statusRecord1 = statusRecordMapper.selectById(businessKey);
         StatusRecord statusRecord1 = statusRecordMapper.selectById(businessKey);
         if(statusRecord1 != null){
         if(statusRecord1 != null){
             statusRecord1.setStatus(StatusEnum.PURCHASE_FAILED.getName());
             statusRecord1.setStatus(StatusEnum.PURCHASE_FAILED.getName());
-            statusRecordMapper.updateById(statusRecord1);
+//            statusRecordMapper.updateById(statusRecord1);
         }
         }
         else{
         else{
             statusRecord.setId(businessKey);
             statusRecord.setId(businessKey);
             statusRecord.setStatus(StatusEnum.PURCHASE_FAILED.getName());
             statusRecord.setStatus(StatusEnum.PURCHASE_FAILED.getName());
-            statusRecordMapper.insert(statusRecord);
+//            statusRecordMapper.insert(statusRecord);
         }
         }
     }
     }
 
 

+ 6 - 6
winsea-haixin-plugin-yiliangyiyun/src/main/java/com/yh/saas/plugin/yiliangyiyun/workflow/ContractCostInfoListener.java

@@ -42,24 +42,24 @@ public class ContractCostInfoListener extends AbstractWorkflowTaskListener {
 
 
             if(statusRecord1 != null){
             if(statusRecord1 != null){
                 statusRecord1.setStatus(StatusEnum.ORDER_PASSED.getName());
                 statusRecord1.setStatus(StatusEnum.ORDER_PASSED.getName());
-                statusRecordMapper.updateById(statusRecord1);
+//                statusRecordMapper.updateById(statusRecord1);
             }
             }
             else{
             else{
                 statusRecord.setId(businessKey);
                 statusRecord.setId(businessKey);
                 statusRecord.setStatus(StatusEnum.ORDER_PASSED.getName());
                 statusRecord.setStatus(StatusEnum.ORDER_PASSED.getName());
-                statusRecordMapper.insert(statusRecord);
+//                statusRecordMapper.insert(statusRecord);
             }
             }
         } else {
         } else {
             contractCostInfo.setApproveStatus(status);
             contractCostInfo.setApproveStatus(status);
 
 
             if(statusRecord1 != null){
             if(statusRecord1 != null){
                 statusRecord1.setStatus(status);
                 statusRecord1.setStatus(status);
-                statusRecordMapper.updateById(statusRecord1);
+//                statusRecordMapper.updateById(statusRecord1);
             }
             }
             else{
             else{
                 statusRecord.setId(businessKey);
                 statusRecord.setId(businessKey);
                 statusRecord.setStatus(status);
                 statusRecord.setStatus(status);
-                statusRecordMapper.insert(statusRecord);
+//                statusRecordMapper.insert(statusRecord);
             }
             }
         }
         }
         contractCostInfoService.updateAllColumnById(contractCostInfo);
         contractCostInfoService.updateAllColumnById(contractCostInfo);
@@ -79,12 +79,12 @@ public class ContractCostInfoListener extends AbstractWorkflowTaskListener {
         StatusRecord statusRecord1 = statusRecordMapper.selectById(businessKey);
         StatusRecord statusRecord1 = statusRecordMapper.selectById(businessKey);
         if(statusRecord1 != null){
         if(statusRecord1 != null){
             statusRecord1.setStatus(StatusEnum.PURCHASE_FAILED.getName());
             statusRecord1.setStatus(StatusEnum.PURCHASE_FAILED.getName());
-            statusRecordMapper.updateById(statusRecord1);
+//            statusRecordMapper.updateById(statusRecord1);
         }
         }
         else{
         else{
             statusRecord.setId(businessKey);
             statusRecord.setId(businessKey);
             statusRecord.setStatus(StatusEnum.PURCHASE_FAILED.getName());
             statusRecord.setStatus(StatusEnum.PURCHASE_FAILED.getName());
-            statusRecordMapper.insert(statusRecord);
+//            statusRecordMapper.insert(statusRecord);
         }
         }
     }
     }
 
 

+ 6 - 6
winsea-haixin-plugin-yiliangyiyun/src/main/java/com/yh/saas/plugin/yiliangyiyun/workflow/DcContractListener.java

@@ -42,24 +42,24 @@ public class DcContractListener extends AbstractWorkflowTaskListener {
 
 
             if(statusRecord1 != null){
             if(statusRecord1 != null){
                 statusRecord1.setStatus(StatusEnum.ORDER_PASSED.getName());
                 statusRecord1.setStatus(StatusEnum.ORDER_PASSED.getName());
-                statusRecordMapper.updateById(statusRecord1);
+//                statusRecordMapper.updateById(statusRecord1);
             }
             }
             else{
             else{
                 statusRecord.setId(businessKey);
                 statusRecord.setId(businessKey);
                 statusRecord.setStatus(StatusEnum.ORDER_PASSED.getName());
                 statusRecord.setStatus(StatusEnum.ORDER_PASSED.getName());
-                statusRecordMapper.insert(statusRecord);
+//                statusRecordMapper.insert(statusRecord);
             }
             }
         } else {
         } else {
             contractManagementInfo.setApproveStatus(status);
             contractManagementInfo.setApproveStatus(status);
 
 
             if(statusRecord1 != null){
             if(statusRecord1 != null){
                 statusRecord1.setStatus(status);
                 statusRecord1.setStatus(status);
-                statusRecordMapper.updateById(statusRecord1);
+//                statusRecordMapper.updateById(statusRecord1);
             }
             }
             else{
             else{
                 statusRecord.setId(businessKey);
                 statusRecord.setId(businessKey);
                 statusRecord.setStatus(status);
                 statusRecord.setStatus(status);
-                statusRecordMapper.insert(statusRecord);
+//                statusRecordMapper.insert(statusRecord);
             }
             }
         }
         }
         contractManagementInfoService.updateAllColumnById(contractManagementInfo);
         contractManagementInfoService.updateAllColumnById(contractManagementInfo);
@@ -79,12 +79,12 @@ public class DcContractListener extends AbstractWorkflowTaskListener {
         StatusRecord statusRecord1 = statusRecordMapper.selectById(businessKey);
         StatusRecord statusRecord1 = statusRecordMapper.selectById(businessKey);
         if(statusRecord1 != null){
         if(statusRecord1 != null){
             statusRecord1.setStatus(StatusEnum.PURCHASE_FAILED.getName());
             statusRecord1.setStatus(StatusEnum.PURCHASE_FAILED.getName());
-            statusRecordMapper.updateById(statusRecord1);
+//            statusRecordMapper.updateById(statusRecord1);
         }
         }
         else{
         else{
             statusRecord.setId(businessKey);
             statusRecord.setId(businessKey);
             statusRecord.setStatus(StatusEnum.PURCHASE_FAILED.getName());
             statusRecord.setStatus(StatusEnum.PURCHASE_FAILED.getName());
-            statusRecordMapper.insert(statusRecord);
+//            statusRecordMapper.insert(statusRecord);
         }
         }
     }
     }
 
 

+ 6 - 6
winsea-haixin-plugin-yiliangyiyun/src/main/java/com/yh/saas/plugin/yiliangyiyun/workflow/DsContractListListener.java

@@ -44,24 +44,24 @@ public class DsContractListListener extends AbstractWorkflowTaskListener {
 
 
             if(statusRecord1 != null){
             if(statusRecord1 != null){
                 statusRecord1.setStatus(StatusEnum.ORDER_PASSED.getName());
                 statusRecord1.setStatus(StatusEnum.ORDER_PASSED.getName());
-                statusRecordMapper.updateById(statusRecord1);
+//                statusRecordMapper.updateById(statusRecord1);
             }
             }
             else{
             else{
                 statusRecord.setId(businessKey);
                 statusRecord.setId(businessKey);
                 statusRecord.setStatus(StatusEnum.ORDER_PASSED.getName());
                 statusRecord.setStatus(StatusEnum.ORDER_PASSED.getName());
-                statusRecordMapper.insert(statusRecord);
+//                statusRecordMapper.insert(statusRecord);
             }
             }
         } else {
         } else {
             collectionWarehousingRecord.setApproveStatus(status);
             collectionWarehousingRecord.setApproveStatus(status);
 
 
             if(statusRecord1 != null){
             if(statusRecord1 != null){
                 statusRecord1.setStatus(status);
                 statusRecord1.setStatus(status);
-                statusRecordMapper.updateById(statusRecord1);
+//                statusRecordMapper.updateById(statusRecord1);
             }
             }
             else{
             else{
                 statusRecord.setId(businessKey);
                 statusRecord.setId(businessKey);
                 statusRecord.setStatus(status);
                 statusRecord.setStatus(status);
-                statusRecordMapper.insert(statusRecord);
+//                statusRecordMapper.insert(statusRecord);
             }
             }
         }
         }
         collectionWarehousingRecordService.updateAllColumnById(collectionWarehousingRecord);
         collectionWarehousingRecordService.updateAllColumnById(collectionWarehousingRecord);
@@ -81,12 +81,12 @@ public class DsContractListListener extends AbstractWorkflowTaskListener {
         StatusRecord statusRecord1 = statusRecordMapper.selectById(businessKey);
         StatusRecord statusRecord1 = statusRecordMapper.selectById(businessKey);
         if(statusRecord1 != null){
         if(statusRecord1 != null){
             statusRecord1.setStatus(StatusEnum.PURCHASE_FAILED.getName());
             statusRecord1.setStatus(StatusEnum.PURCHASE_FAILED.getName());
-            statusRecordMapper.updateById(statusRecord1);
+//            statusRecordMapper.updateById(statusRecord1);
         }
         }
         else{
         else{
             statusRecord.setId(businessKey);
             statusRecord.setId(businessKey);
             statusRecord.setStatus(StatusEnum.PURCHASE_FAILED.getName());
             statusRecord.setStatus(StatusEnum.PURCHASE_FAILED.getName());
-            statusRecordMapper.insert(statusRecord);
+//            statusRecordMapper.insert(statusRecord);
         }
         }
     }
     }
 
 

+ 6 - 6
winsea-haixin-plugin-yiliangyiyun/src/main/java/com/yh/saas/plugin/yiliangyiyun/workflow/DsContractListener.java

@@ -42,24 +42,24 @@ public class DsContractListener extends AbstractWorkflowTaskListener {
 
 
             if(statusRecord1 != null){
             if(statusRecord1 != null){
                 statusRecord1.setStatus(StatusEnum.ORDER_PASSED.getName());
                 statusRecord1.setStatus(StatusEnum.ORDER_PASSED.getName());
-                statusRecordMapper.updateById(statusRecord1);
+//                statusRecordMapper.updateById(statusRecord1);
             }
             }
             else{
             else{
                 statusRecord.setId(businessKey);
                 statusRecord.setId(businessKey);
                 statusRecord.setStatus(StatusEnum.ORDER_PASSED.getName());
                 statusRecord.setStatus(StatusEnum.ORDER_PASSED.getName());
-                statusRecordMapper.insert(statusRecord);
+//                statusRecordMapper.insert(statusRecord);
             }
             }
         } else {
         } else {
             contractManagementInfo.setApproveStatus(status);
             contractManagementInfo.setApproveStatus(status);
 
 
             if(statusRecord1 != null){
             if(statusRecord1 != null){
                 statusRecord1.setStatus(status);
                 statusRecord1.setStatus(status);
-                statusRecordMapper.updateById(statusRecord1);
+//                statusRecordMapper.updateById(statusRecord1);
             }
             }
             else{
             else{
                 statusRecord.setId(businessKey);
                 statusRecord.setId(businessKey);
                 statusRecord.setStatus(status);
                 statusRecord.setStatus(status);
-                statusRecordMapper.insert(statusRecord);
+//                statusRecordMapper.insert(statusRecord);
             }
             }
         }
         }
         contractManagementInfoService.updateAllColumnById(contractManagementInfo);
         contractManagementInfoService.updateAllColumnById(contractManagementInfo);
@@ -79,12 +79,12 @@ public class DsContractListener extends AbstractWorkflowTaskListener {
         StatusRecord statusRecord1 = statusRecordMapper.selectById(businessKey);
         StatusRecord statusRecord1 = statusRecordMapper.selectById(businessKey);
         if(statusRecord1 != null){
         if(statusRecord1 != null){
             statusRecord1.setStatus(StatusEnum.PURCHASE_FAILED.getName());
             statusRecord1.setStatus(StatusEnum.PURCHASE_FAILED.getName());
-            statusRecordMapper.updateById(statusRecord1);
+//            statusRecordMapper.updateById(statusRecord1);
         }
         }
         else{
         else{
             statusRecord.setId(businessKey);
             statusRecord.setId(businessKey);
             statusRecord.setStatus(StatusEnum.PURCHASE_FAILED.getName());
             statusRecord.setStatus(StatusEnum.PURCHASE_FAILED.getName());
-            statusRecordMapper.insert(statusRecord);
+//            statusRecordMapper.insert(statusRecord);
         }
         }
     }
     }
 
 

+ 6 - 6
winsea-haixin-plugin-yiliangyiyun/src/main/java/com/yh/saas/plugin/yiliangyiyun/workflow/ExepenseInfoListener.java

@@ -59,12 +59,12 @@ public class ExepenseInfoListener extends AbstractWorkflowTaskListener {
 
 
             if(statusRecord1 != null){
             if(statusRecord1 != null){
                 statusRecord1.setStatus(StatusEnum.ORDER_PASSED.getName());
                 statusRecord1.setStatus(StatusEnum.ORDER_PASSED.getName());
-                statusRecordMapper.updateById(statusRecord1);
+//                statusRecordMapper.updateById(statusRecord1);
             }
             }
             else{
             else{
                 statusRecord.setId(businessKey);
                 statusRecord.setId(businessKey);
                 statusRecord.setStatus(StatusEnum.ORDER_PASSED.getName());
                 statusRecord.setStatus(StatusEnum.ORDER_PASSED.getName());
-                statusRecordMapper.insert(statusRecord);
+//                statusRecordMapper.insert(statusRecord);
             }
             }
 
 
             // 先删除任务
             // 先删除任务
@@ -92,12 +92,12 @@ public class ExepenseInfoListener extends AbstractWorkflowTaskListener {
 
 
             if(statusRecord1 != null){
             if(statusRecord1 != null){
                 statusRecord1.setStatus(status);
                 statusRecord1.setStatus(status);
-                statusRecordMapper.updateById(statusRecord1);
+//                statusRecordMapper.updateById(statusRecord1);
             }
             }
             else{
             else{
                 statusRecord.setId(businessKey);
                 statusRecord.setId(businessKey);
                 statusRecord.setStatus(status);
                 statusRecord.setStatus(status);
-                statusRecordMapper.insert(statusRecord);
+//                statusRecordMapper.insert(statusRecord);
             }
             }
         }
         }
         expenseInfoService.updateAllColumnById(expenseInfo);
         expenseInfoService.updateAllColumnById(expenseInfo);
@@ -117,12 +117,12 @@ public class ExepenseInfoListener extends AbstractWorkflowTaskListener {
         StatusRecord statusRecord1 = statusRecordMapper.selectById(businessKey);
         StatusRecord statusRecord1 = statusRecordMapper.selectById(businessKey);
         if(statusRecord1 != null){
         if(statusRecord1 != null){
             statusRecord1.setStatus(StatusEnum.PURCHASE_FAILED.getName());
             statusRecord1.setStatus(StatusEnum.PURCHASE_FAILED.getName());
-            statusRecordMapper.updateById(statusRecord1);
+//            statusRecordMapper.updateById(statusRecord1);
         }
         }
         else{
         else{
             statusRecord.setId(businessKey);
             statusRecord.setId(businessKey);
             statusRecord.setStatus(StatusEnum.PURCHASE_FAILED.getName());
             statusRecord.setStatus(StatusEnum.PURCHASE_FAILED.getName());
-            statusRecordMapper.insert(statusRecord);
+//            statusRecordMapper.insert(statusRecord);
         }
         }
     }
     }
 
 

+ 6 - 6
winsea-haixin-plugin-yiliangyiyun/src/main/java/com/yh/saas/plugin/yiliangyiyun/workflow/ExepenseListener.java

@@ -58,12 +58,12 @@ public class ExepenseListener extends AbstractWorkflowTaskListener {
 
 
             if(statusRecord1 != null){
             if(statusRecord1 != null){
                 statusRecord1.setStatus(StatusEnum.ORDER_PASSED.getName());
                 statusRecord1.setStatus(StatusEnum.ORDER_PASSED.getName());
-                statusRecordMapper.updateById(statusRecord1);
+//                statusRecordMapper.updateById(statusRecord1);
             }
             }
             else{
             else{
                 statusRecord.setId(businessKey);
                 statusRecord.setId(businessKey);
                 statusRecord.setStatus(StatusEnum.ORDER_PASSED.getName());
                 statusRecord.setStatus(StatusEnum.ORDER_PASSED.getName());
-                statusRecordMapper.insert(statusRecord);
+//                statusRecordMapper.insert(statusRecord);
             }
             }
 
 
             // 先删除任务
             // 先删除任务
@@ -91,12 +91,12 @@ public class ExepenseListener extends AbstractWorkflowTaskListener {
 
 
             if(statusRecord1 != null){
             if(statusRecord1 != null){
                 statusRecord1.setStatus(status);
                 statusRecord1.setStatus(status);
-                statusRecordMapper.updateById(statusRecord1);
+//                statusRecordMapper.updateById(statusRecord1);
             }
             }
             else{
             else{
                 statusRecord.setId(businessKey);
                 statusRecord.setId(businessKey);
                 statusRecord.setStatus(status);
                 statusRecord.setStatus(status);
-                statusRecordMapper.insert(statusRecord);
+//                statusRecordMapper.insert(statusRecord);
             }
             }
         }
         }
         expenseInfoService.updateAllColumnById(expenseInfo);
         expenseInfoService.updateAllColumnById(expenseInfo);
@@ -116,12 +116,12 @@ public class ExepenseListener extends AbstractWorkflowTaskListener {
         StatusRecord statusRecord1 = statusRecordMapper.selectById(businessKey);
         StatusRecord statusRecord1 = statusRecordMapper.selectById(businessKey);
         if(statusRecord1 != null){
         if(statusRecord1 != null){
             statusRecord1.setStatus(StatusEnum.PURCHASE_FAILED.getName());
             statusRecord1.setStatus(StatusEnum.PURCHASE_FAILED.getName());
-            statusRecordMapper.updateById(statusRecord1);
+//            statusRecordMapper.updateById(statusRecord1);
         }
         }
         else{
         else{
             statusRecord.setId(businessKey);
             statusRecord.setId(businessKey);
             statusRecord.setStatus(StatusEnum.PURCHASE_FAILED.getName());
             statusRecord.setStatus(StatusEnum.PURCHASE_FAILED.getName());
-            statusRecordMapper.insert(statusRecord);
+//            statusRecordMapper.insert(statusRecord);
         }
         }
     }
     }
 
 

+ 6 - 6
winsea-haixin-plugin-yiliangyiyun/src/main/java/com/yh/saas/plugin/yiliangyiyun/workflow/ExepenseYunListener.java

@@ -72,12 +72,12 @@ public class ExepenseYunListener extends AbstractWorkflowTaskListener {
 
 
             if(statusRecord1 != null){
             if(statusRecord1 != null){
                 statusRecord1.setStatus(StatusEnum.ORDER_PASSED.getName());
                 statusRecord1.setStatus(StatusEnum.ORDER_PASSED.getName());
-                statusRecordMapper.updateById(statusRecord1);
+//                statusRecordMapper.updateById(statusRecord1);
             }
             }
             else{
             else{
                 statusRecord.setId(businessKey);
                 statusRecord.setId(businessKey);
                 statusRecord.setStatus(StatusEnum.ORDER_PASSED.getName());
                 statusRecord.setStatus(StatusEnum.ORDER_PASSED.getName());
-                statusRecordMapper.insert(statusRecord);
+//                statusRecordMapper.insert(statusRecord);
             }
             }
 
 
             // 先删除任务
             // 先删除任务
@@ -105,12 +105,12 @@ public class ExepenseYunListener extends AbstractWorkflowTaskListener {
 
 
             if(statusRecord1 != null){
             if(statusRecord1 != null){
                 statusRecord1.setStatus(status);
                 statusRecord1.setStatus(status);
-                statusRecordMapper.updateById(statusRecord1);
+//                statusRecordMapper.updateById(statusRecord1);
             }
             }
             else{
             else{
                 statusRecord.setId(businessKey);
                 statusRecord.setId(businessKey);
                 statusRecord.setStatus(status);
                 statusRecord.setStatus(status);
-                statusRecordMapper.insert(statusRecord);
+//                statusRecordMapper.insert(statusRecord);
             }
             }
         }
         }
         expenseInfoService.updateAllColumnById(expenseInfo);
         expenseInfoService.updateAllColumnById(expenseInfo);
@@ -139,12 +139,12 @@ public class ExepenseYunListener extends AbstractWorkflowTaskListener {
         StatusRecord statusRecord1 = statusRecordMapper.selectById(businessKey);
         StatusRecord statusRecord1 = statusRecordMapper.selectById(businessKey);
         if(statusRecord1 != null){
         if(statusRecord1 != null){
             statusRecord1.setStatus(StatusEnum.PURCHASE_FAILED.getName());
             statusRecord1.setStatus(StatusEnum.PURCHASE_FAILED.getName());
-            statusRecordMapper.updateById(statusRecord1);
+//            statusRecordMapper.updateById(statusRecord1);
         }
         }
         else{
         else{
             statusRecord.setId(businessKey);
             statusRecord.setId(businessKey);
             statusRecord.setStatus(StatusEnum.PURCHASE_FAILED.getName());
             statusRecord.setStatus(StatusEnum.PURCHASE_FAILED.getName());
-            statusRecordMapper.insert(statusRecord);
+//            statusRecordMapper.insert(statusRecord);
         }
         }
     }
     }
 
 

+ 10 - 10
winsea-haixin-plugin-yiliangyiyun/src/main/java/com/yh/saas/plugin/yiliangyiyun/workflow/FuelFingListener.java

@@ -49,24 +49,24 @@ public class FuelFingListener extends AbstractWorkflowTaskListener {
 
 
                 if(statusRecord1 != null){
                 if(statusRecord1 != null){
                     statusRecord1.setStatus(StatusEnum.ORDER_PASSED.getName());
                     statusRecord1.setStatus(StatusEnum.ORDER_PASSED.getName());
-                    statusRecordMapper.updateById(statusRecord1);
+//                    statusRecordMapper.updateById(statusRecord1);
                 }
                 }
                 else{
                 else{
                     statusRecord.setId(businessKey);
                     statusRecord.setId(businessKey);
                     statusRecord.setStatus(StatusEnum.ORDER_PASSED.getName());
                     statusRecord.setStatus(StatusEnum.ORDER_PASSED.getName());
-                    statusRecordMapper.insert(statusRecord);
+//                    statusRecordMapper.insert(statusRecord);
                 }
                 }
             } else {
             } else {
                 shortFillingInfo.setApproveStatus(status);
                 shortFillingInfo.setApproveStatus(status);
 
 
                 if(statusRecord1 != null){
                 if(statusRecord1 != null){
                     statusRecord1.setStatus(status);
                     statusRecord1.setStatus(status);
-                    statusRecordMapper.updateById(statusRecord1);
+//                    statusRecordMapper.updateById(statusRecord1);
                 }
                 }
                 else{
                 else{
                     statusRecord.setId(businessKey);
                     statusRecord.setId(businessKey);
                     statusRecord.setStatus(status);
                     statusRecord.setStatus(status);
-                    statusRecordMapper.insert(statusRecord);
+//                    statusRecordMapper.insert(statusRecord);
                 }
                 }
             }
             }
             shortFillingInfoService.updateAllColumnById(shortFillingInfo);
             shortFillingInfoService.updateAllColumnById(shortFillingInfo);
@@ -81,23 +81,23 @@ public class FuelFingListener extends AbstractWorkflowTaskListener {
             fuelFillingInfo.setApproveStatus(null);
             fuelFillingInfo.setApproveStatus(null);
             if(statusRecord1 != null){
             if(statusRecord1 != null){
                 statusRecord1.setStatus(StatusEnum.ORDER_PASSED.getName());
                 statusRecord1.setStatus(StatusEnum.ORDER_PASSED.getName());
-                statusRecordMapper.updateById(statusRecord1);
+//                statusRecordMapper.updateById(statusRecord1);
             }
             }
             else{
             else{
                 statusRecord.setId(businessKey);
                 statusRecord.setId(businessKey);
                 statusRecord.setStatus(StatusEnum.ORDER_PASSED.getName());
                 statusRecord.setStatus(StatusEnum.ORDER_PASSED.getName());
-                statusRecordMapper.insert(statusRecord);
+//                statusRecordMapper.insert(statusRecord);
             }
             }
         } else {
         } else {
             fuelFillingInfo.setApproveStatus(status);
             fuelFillingInfo.setApproveStatus(status);
             if(statusRecord1 != null){
             if(statusRecord1 != null){
                 statusRecord1.setStatus(status);
                 statusRecord1.setStatus(status);
-                statusRecordMapper.updateById(statusRecord1);
+//                statusRecordMapper.updateById(statusRecord1);
             }
             }
             else{
             else{
                 statusRecord.setId(businessKey);
                 statusRecord.setId(businessKey);
                 statusRecord.setStatus(status);
                 statusRecord.setStatus(status);
-                statusRecordMapper.insert(statusRecord);
+//                statusRecordMapper.insert(statusRecord);
             }
             }
         }
         }
         fuelFillingInfoService.updateAllColumnById(fuelFillingInfo);
         fuelFillingInfoService.updateAllColumnById(fuelFillingInfo);
@@ -128,12 +128,12 @@ public class FuelFingListener extends AbstractWorkflowTaskListener {
         StatusRecord statusRecord1 = statusRecordMapper.selectById(businessKey);
         StatusRecord statusRecord1 = statusRecordMapper.selectById(businessKey);
         if(statusRecord1 != null){
         if(statusRecord1 != null){
             statusRecord1.setStatus(StatusEnum.PURCHASE_FAILED.getName());
             statusRecord1.setStatus(StatusEnum.PURCHASE_FAILED.getName());
-            statusRecordMapper.updateById(statusRecord1);
+//            statusRecordMapper.updateById(statusRecord1);
         }
         }
         else{
         else{
             statusRecord.setId(businessKey);
             statusRecord.setId(businessKey);
             statusRecord.setStatus(StatusEnum.PURCHASE_FAILED.getName());
             statusRecord.setStatus(StatusEnum.PURCHASE_FAILED.getName());
-            statusRecordMapper.insert(statusRecord);
+//            statusRecordMapper.insert(statusRecord);
         }
         }
     }
     }
 
 

+ 6 - 6
winsea-haixin-plugin-yiliangyiyun/src/main/java/com/yh/saas/plugin/yiliangyiyun/workflow/GeneralAuditInfoListener.java

@@ -43,24 +43,24 @@ public class GeneralAuditInfoListener extends AbstractWorkflowTaskListener {
 
 
             if(statusRecord1 != null){
             if(statusRecord1 != null){
                 statusRecord1.setStatus(StatusEnum.ORDER_PASSED.getName());
                 statusRecord1.setStatus(StatusEnum.ORDER_PASSED.getName());
-                statusRecordMapper.updateById(statusRecord1);
+//                statusRecordMapper.updateById(statusRecord1);
             }
             }
             else{
             else{
                 statusRecord.setId(businessKey);
                 statusRecord.setId(businessKey);
                 statusRecord.setStatus(StatusEnum.ORDER_PASSED.getName());
                 statusRecord.setStatus(StatusEnum.ORDER_PASSED.getName());
-                statusRecordMapper.insert(statusRecord);
+//                statusRecordMapper.insert(statusRecord);
             }
             }
         } else {
         } else {
             generalAuditInfo.setApproveStatus(status);
             generalAuditInfo.setApproveStatus(status);
 
 
             if(statusRecord1 != null){
             if(statusRecord1 != null){
                 statusRecord1.setStatus(status);
                 statusRecord1.setStatus(status);
-                statusRecordMapper.updateById(statusRecord1);
+//                statusRecordMapper.updateById(statusRecord1);
             }
             }
             else{
             else{
                 statusRecord.setId(businessKey);
                 statusRecord.setId(businessKey);
                 statusRecord.setStatus(status);
                 statusRecord.setStatus(status);
-                statusRecordMapper.insert(statusRecord);
+//                statusRecordMapper.insert(statusRecord);
             }
             }
         }
         }
         generalAuditInfoService.updateAllColumnById(generalAuditInfo);
         generalAuditInfoService.updateAllColumnById(generalAuditInfo);
@@ -80,12 +80,12 @@ public class GeneralAuditInfoListener extends AbstractWorkflowTaskListener {
         StatusRecord statusRecord1 = statusRecordMapper.selectById(businessKey);
         StatusRecord statusRecord1 = statusRecordMapper.selectById(businessKey);
         if(statusRecord1 != null){
         if(statusRecord1 != null){
             statusRecord1.setStatus(StatusEnum.PURCHASE_FAILED.getName());
             statusRecord1.setStatus(StatusEnum.PURCHASE_FAILED.getName());
-            statusRecordMapper.updateById(statusRecord1);
+//            statusRecordMapper.updateById(statusRecord1);
         }
         }
         else{
         else{
             statusRecord.setId(businessKey);
             statusRecord.setId(businessKey);
             statusRecord.setStatus(StatusEnum.PURCHASE_FAILED.getName());
             statusRecord.setStatus(StatusEnum.PURCHASE_FAILED.getName());
-            statusRecordMapper.insert(statusRecord);
+//            statusRecordMapper.insert(statusRecord);
         }
         }
     }
     }
 
 

+ 6 - 6
winsea-haixin-plugin-yiliangyiyun/src/main/java/com/yh/saas/plugin/yiliangyiyun/workflow/GoodsPurchaseReceiptReportListener.java

@@ -44,24 +44,24 @@ public class GoodsPurchaseReceiptReportListener extends AbstractWorkflowTaskList
 
 
             if(statusRecord1 != null){
             if(statusRecord1 != null){
                 statusRecord1.setStatus(StatusEnum.ORDER_PASSED.getName());
                 statusRecord1.setStatus(StatusEnum.ORDER_PASSED.getName());
-                statusRecordMapper.updateById(statusRecord1);
+//                statusRecordMapper.updateById(statusRecord1);
             }
             }
             else{
             else{
                 statusRecord.setId(businessKey);
                 statusRecord.setId(businessKey);
                 statusRecord.setStatus(StatusEnum.ORDER_PASSED.getName());
                 statusRecord.setStatus(StatusEnum.ORDER_PASSED.getName());
-                statusRecordMapper.insert(statusRecord);
+//                statusRecordMapper.insert(statusRecord);
             }
             }
         } else {
         } else {
             purchaseReceiptReport.setApproveStatus(status);
             purchaseReceiptReport.setApproveStatus(status);
 
 
             if(statusRecord1 != null){
             if(statusRecord1 != null){
                 statusRecord1.setStatus(status);
                 statusRecord1.setStatus(status);
-                statusRecordMapper.updateById(statusRecord1);
+//                statusRecordMapper.updateById(statusRecord1);
             }
             }
             else{
             else{
                 statusRecord.setId(businessKey);
                 statusRecord.setId(businessKey);
                 statusRecord.setStatus(status);
                 statusRecord.setStatus(status);
-                statusRecordMapper.insert(statusRecord);
+//                statusRecordMapper.insert(statusRecord);
             }
             }
         }
         }
         stockPurchaseReceiptReportService.updateAllColumnById(purchaseReceiptReport);
         stockPurchaseReceiptReportService.updateAllColumnById(purchaseReceiptReport);
@@ -81,12 +81,12 @@ public class GoodsPurchaseReceiptReportListener extends AbstractWorkflowTaskList
         StatusRecord statusRecord1 = statusRecordMapper.selectById(businessKey);
         StatusRecord statusRecord1 = statusRecordMapper.selectById(businessKey);
         if(statusRecord1 != null){
         if(statusRecord1 != null){
             statusRecord1.setStatus(StatusEnum.PURCHASE_FAILED.getName());
             statusRecord1.setStatus(StatusEnum.PURCHASE_FAILED.getName());
-            statusRecordMapper.updateById(statusRecord1);
+//            statusRecordMapper.updateById(statusRecord1);
         }
         }
         else{
         else{
             statusRecord.setId(businessKey);
             statusRecord.setId(businessKey);
             statusRecord.setStatus(StatusEnum.PURCHASE_FAILED.getName());
             statusRecord.setStatus(StatusEnum.PURCHASE_FAILED.getName());
-            statusRecordMapper.insert(statusRecord);
+//            statusRecordMapper.insert(statusRecord);
         }
         }
     }
     }
 
 

+ 6 - 6
winsea-haixin-plugin-yiliangyiyun/src/main/java/com/yh/saas/plugin/yiliangyiyun/workflow/InOutWharehoseTaskListener.java

@@ -44,24 +44,24 @@ public class InOutWharehoseTaskListener extends AbstractWorkflowTaskListener {
 
 
             if(statusRecord1 != null){
             if(statusRecord1 != null){
                 statusRecord1.setStatus(StatusEnum.ORDER_PASSED.getName());
                 statusRecord1.setStatus(StatusEnum.ORDER_PASSED.getName());
-                statusRecordMapper.updateById(statusRecord1);
+//                statusRecordMapper.updateById(statusRecord1);
             }
             }
             else{
             else{
                 statusRecord.setId(businessKey);
                 statusRecord.setId(businessKey);
                 statusRecord.setStatus(StatusEnum.ORDER_PASSED.getName());
                 statusRecord.setStatus(StatusEnum.ORDER_PASSED.getName());
-                statusRecordMapper.insert(statusRecord);
+//                statusRecordMapper.insert(statusRecord);
             }
             }
         } else {
         } else {
             inOutWarehouseTask.setApproveStatus(status);
             inOutWarehouseTask.setApproveStatus(status);
 
 
             if(statusRecord1 != null){
             if(statusRecord1 != null){
                 statusRecord1.setStatus(status);
                 statusRecord1.setStatus(status);
-                statusRecordMapper.updateById(statusRecord1);
+//                statusRecordMapper.updateById(statusRecord1);
             }
             }
             else{
             else{
                 statusRecord.setId(businessKey);
                 statusRecord.setId(businessKey);
                 statusRecord.setStatus(status);
                 statusRecord.setStatus(status);
-                statusRecordMapper.insert(statusRecord);
+//                statusRecordMapper.insert(statusRecord);
             }
             }
         }
         }
         iInOutWarehouseTaskService.updateAllColumnById(inOutWarehouseTask);
         iInOutWarehouseTaskService.updateAllColumnById(inOutWarehouseTask);
@@ -81,12 +81,12 @@ public class InOutWharehoseTaskListener extends AbstractWorkflowTaskListener {
         StatusRecord statusRecord1 = statusRecordMapper.selectById(businessKey);
         StatusRecord statusRecord1 = statusRecordMapper.selectById(businessKey);
         if(statusRecord1 != null){
         if(statusRecord1 != null){
             statusRecord1.setStatus(StatusEnum.PURCHASE_FAILED.getName());
             statusRecord1.setStatus(StatusEnum.PURCHASE_FAILED.getName());
-            statusRecordMapper.updateById(statusRecord1);
+//            statusRecordMapper.updateById(statusRecord1);
         }
         }
         else{
         else{
             statusRecord.setId(businessKey);
             statusRecord.setId(businessKey);
             statusRecord.setStatus(StatusEnum.PURCHASE_FAILED.getName());
             statusRecord.setStatus(StatusEnum.PURCHASE_FAILED.getName());
-            statusRecordMapper.insert(statusRecord);
+//            statusRecordMapper.insert(statusRecord);
         }
         }
     }
     }
 
 

+ 6 - 6
winsea-haixin-plugin-yiliangyiyun/src/main/java/com/yh/saas/plugin/yiliangyiyun/workflow/NonContractExpensesListener.java

@@ -44,24 +44,24 @@ public class NonContractExpensesListener extends AbstractWorkflowTaskListener {
 
 
             if(statusRecord1 != null){
             if(statusRecord1 != null){
                 statusRecord1.setStatus(StatusEnum.ORDER_PASSED.getName());
                 statusRecord1.setStatus(StatusEnum.ORDER_PASSED.getName());
-                statusRecordMapper.updateById(statusRecord1);
+//                statusRecordMapper.updateById(statusRecord1);
             }
             }
             else{
             else{
                 statusRecord.setId(businessKey);
                 statusRecord.setId(businessKey);
                 statusRecord.setStatus(StatusEnum.ORDER_PASSED.getName());
                 statusRecord.setStatus(StatusEnum.ORDER_PASSED.getName());
-                statusRecordMapper.insert(statusRecord);
+//                statusRecordMapper.insert(statusRecord);
             }
             }
         } else {
         } else {
             nonContractExpenses.setApproveStatus(status);
             nonContractExpenses.setApproveStatus(status);
 
 
             if(statusRecord1 != null){
             if(statusRecord1 != null){
                 statusRecord1.setStatus(status);
                 statusRecord1.setStatus(status);
-                statusRecordMapper.updateById(statusRecord1);
+//                statusRecordMapper.updateById(statusRecord1);
             }
             }
             else{
             else{
                 statusRecord.setId(businessKey);
                 statusRecord.setId(businessKey);
                 statusRecord.setStatus(status);
                 statusRecord.setStatus(status);
-                statusRecordMapper.insert(statusRecord);
+//                statusRecordMapper.insert(statusRecord);
             }
             }
         }
         }
         nonContractExpensesService.updateAllColumnById(nonContractExpenses);
         nonContractExpensesService.updateAllColumnById(nonContractExpenses);
@@ -81,12 +81,12 @@ public class NonContractExpensesListener extends AbstractWorkflowTaskListener {
         StatusRecord statusRecord1 = statusRecordMapper.selectById(businessKey);
         StatusRecord statusRecord1 = statusRecordMapper.selectById(businessKey);
         if(statusRecord1 != null){
         if(statusRecord1 != null){
             statusRecord1.setStatus(StatusEnum.PURCHASE_FAILED.getName());
             statusRecord1.setStatus(StatusEnum.PURCHASE_FAILED.getName());
-            statusRecordMapper.updateById(statusRecord1);
+//            statusRecordMapper.updateById(statusRecord1);
         }
         }
         else{
         else{
             statusRecord.setId(businessKey);
             statusRecord.setId(businessKey);
             statusRecord.setStatus(StatusEnum.PURCHASE_FAILED.getName());
             statusRecord.setStatus(StatusEnum.PURCHASE_FAILED.getName());
-            statusRecordMapper.insert(statusRecord);
+//            statusRecordMapper.insert(statusRecord);
         }
         }
     }
     }
 
 

+ 6 - 6
winsea-haixin-plugin-yiliangyiyun/src/main/java/com/yh/saas/plugin/yiliangyiyun/workflow/ProcurementOrderListener.java

@@ -45,24 +45,24 @@ public class ProcurementOrderListener extends AbstractWorkflowTaskListener {
 
 
             if(statusRecord1 != null){
             if(statusRecord1 != null){
                 statusRecord1.setStatus(StatusEnum.ORDER_PASSED.getName());
                 statusRecord1.setStatus(StatusEnum.ORDER_PASSED.getName());
-                statusRecordMapper.updateById(statusRecord1);
+//                statusRecordMapper.updateById(statusRecord1);
             }
             }
             else{
             else{
                 statusRecord.setId(businessKey);
                 statusRecord.setId(businessKey);
                 statusRecord.setStatus(StatusEnum.ORDER_PASSED.getName());
                 statusRecord.setStatus(StatusEnum.ORDER_PASSED.getName());
-                statusRecordMapper.insert(statusRecord);
+//                statusRecordMapper.insert(statusRecord);
             }
             }
         } else {
         } else {
             purchaseOrder.setApproveStatus(status);
             purchaseOrder.setApproveStatus(status);
 
 
             if(statusRecord1 != null){
             if(statusRecord1 != null){
                 statusRecord1.setStatus(status);
                 statusRecord1.setStatus(status);
-                statusRecordMapper.updateById(statusRecord1);
+//                statusRecordMapper.updateById(statusRecord1);
             }
             }
             else{
             else{
                 statusRecord.setId(businessKey);
                 statusRecord.setId(businessKey);
                 statusRecord.setStatus(status);
                 statusRecord.setStatus(status);
-                statusRecordMapper.insert(statusRecord);
+//                statusRecordMapper.insert(statusRecord);
             }
             }
         }
         }
         iPurchaseOrderService.updateAllColumnById(purchaseOrder);
         iPurchaseOrderService.updateAllColumnById(purchaseOrder);
@@ -82,12 +82,12 @@ public class ProcurementOrderListener extends AbstractWorkflowTaskListener {
         StatusRecord statusRecord1 = statusRecordMapper.selectById(businessKey);
         StatusRecord statusRecord1 = statusRecordMapper.selectById(businessKey);
         if(statusRecord1 != null){
         if(statusRecord1 != null){
             statusRecord1.setStatus(StatusEnum.PURCHASE_FAILED.getName());
             statusRecord1.setStatus(StatusEnum.PURCHASE_FAILED.getName());
-            statusRecordMapper.updateById(statusRecord1);
+//            statusRecordMapper.updateById(statusRecord1);
         }
         }
         else{
         else{
             statusRecord.setId(businessKey);
             statusRecord.setId(businessKey);
             statusRecord.setStatus(StatusEnum.PURCHASE_FAILED.getName());
             statusRecord.setStatus(StatusEnum.PURCHASE_FAILED.getName());
-            statusRecordMapper.insert(statusRecord);
+//            statusRecordMapper.insert(statusRecord);
         }
         }
     }
     }
 
 

+ 6 - 6
winsea-haixin-plugin-yiliangyiyun/src/main/java/com/yh/saas/plugin/yiliangyiyun/workflow/PurchaseClosingReportListener.java

@@ -44,24 +44,24 @@ public class PurchaseClosingReportListener extends AbstractWorkflowTaskListener
 
 
             if(statusRecord1 != null){
             if(statusRecord1 != null){
                 statusRecord1.setStatus(StatusEnum.ORDER_PASSED.getName());
                 statusRecord1.setStatus(StatusEnum.ORDER_PASSED.getName());
-                statusRecordMapper.updateById(statusRecord1);
+//                statusRecordMapper.updateById(statusRecord1);
             }
             }
             else{
             else{
                 statusRecord.setId(businessKey);
                 statusRecord.setId(businessKey);
                 statusRecord.setStatus(StatusEnum.ORDER_PASSED.getName());
                 statusRecord.setStatus(StatusEnum.ORDER_PASSED.getName());
-                statusRecordMapper.insert(statusRecord);
+//                statusRecordMapper.insert(statusRecord);
             }
             }
         } else {
         } else {
             purchaseReceiptReport.setApproveStatus(status);
             purchaseReceiptReport.setApproveStatus(status);
 
 
             if(statusRecord1 != null){
             if(statusRecord1 != null){
                 statusRecord1.setStatus(status);
                 statusRecord1.setStatus(status);
-                statusRecordMapper.updateById(statusRecord1);
+//                statusRecordMapper.updateById(statusRecord1);
             }
             }
             else{
             else{
                 statusRecord.setId(businessKey);
                 statusRecord.setId(businessKey);
                 statusRecord.setStatus(status);
                 statusRecord.setStatus(status);
-                statusRecordMapper.insert(statusRecord);
+//                statusRecordMapper.insert(statusRecord);
             }
             }
         }
         }
         purchaseClosingReportService.updateAllColumnById(purchaseReceiptReport);
         purchaseClosingReportService.updateAllColumnById(purchaseReceiptReport);
@@ -81,12 +81,12 @@ public class PurchaseClosingReportListener extends AbstractWorkflowTaskListener
         StatusRecord statusRecord1 = statusRecordMapper.selectById(businessKey);
         StatusRecord statusRecord1 = statusRecordMapper.selectById(businessKey);
         if(statusRecord1 != null){
         if(statusRecord1 != null){
             statusRecord1.setStatus(StatusEnum.PURCHASE_FAILED.getName());
             statusRecord1.setStatus(StatusEnum.PURCHASE_FAILED.getName());
-            statusRecordMapper.updateById(statusRecord1);
+//            statusRecordMapper.updateById(statusRecord1);
         }
         }
         else{
         else{
             statusRecord.setId(businessKey);
             statusRecord.setId(businessKey);
             statusRecord.setStatus(StatusEnum.PURCHASE_FAILED.getName());
             statusRecord.setStatus(StatusEnum.PURCHASE_FAILED.getName());
-            statusRecordMapper.insert(statusRecord);
+//            statusRecordMapper.insert(statusRecord);
         }
         }
     }
     }
 
 

+ 6 - 6
winsea-haixin-plugin-yiliangyiyun/src/main/java/com/yh/saas/plugin/yiliangyiyun/workflow/PurchaseReceiptReportListener.java

@@ -44,24 +44,24 @@ public class PurchaseReceiptReportListener extends AbstractWorkflowTaskListener
 
 
             if(statusRecord1 != null){
             if(statusRecord1 != null){
                 statusRecord1.setStatus(StatusEnum.ORDER_PASSED.getName());
                 statusRecord1.setStatus(StatusEnum.ORDER_PASSED.getName());
-                statusRecordMapper.updateById(statusRecord1);
+//                statusRecordMapper.updateById(statusRecord1);
             }
             }
             else{
             else{
                 statusRecord.setId(businessKey);
                 statusRecord.setId(businessKey);
                 statusRecord.setStatus(StatusEnum.ORDER_PASSED.getName());
                 statusRecord.setStatus(StatusEnum.ORDER_PASSED.getName());
-                statusRecordMapper.insert(statusRecord);
+//                statusRecordMapper.insert(statusRecord);
             }
             }
         } else {
         } else {
             purchaseReceiptReport.setApproveStatus(status);
             purchaseReceiptReport.setApproveStatus(status);
 
 
             if(statusRecord1 != null){
             if(statusRecord1 != null){
                 statusRecord1.setStatus(status);
                 statusRecord1.setStatus(status);
-                statusRecordMapper.updateById(statusRecord1);
+//                statusRecordMapper.updateById(statusRecord1);
             }
             }
             else{
             else{
                 statusRecord.setId(businessKey);
                 statusRecord.setId(businessKey);
                 statusRecord.setStatus(status);
                 statusRecord.setStatus(status);
-                statusRecordMapper.insert(statusRecord);
+//                statusRecordMapper.insert(statusRecord);
             }
             }
         }
         }
         purchaseReceiptReportService.updateAllColumnById(purchaseReceiptReport);
         purchaseReceiptReportService.updateAllColumnById(purchaseReceiptReport);
@@ -81,12 +81,12 @@ public class PurchaseReceiptReportListener extends AbstractWorkflowTaskListener
         StatusRecord statusRecord1 = statusRecordMapper.selectById(businessKey);
         StatusRecord statusRecord1 = statusRecordMapper.selectById(businessKey);
         if(statusRecord1 != null){
         if(statusRecord1 != null){
             statusRecord1.setStatus(StatusEnum.PURCHASE_FAILED.getName());
             statusRecord1.setStatus(StatusEnum.PURCHASE_FAILED.getName());
-            statusRecordMapper.updateById(statusRecord1);
+//            statusRecordMapper.updateById(statusRecord1);
         }
         }
         else{
         else{
             statusRecord.setId(businessKey);
             statusRecord.setId(businessKey);
             statusRecord.setStatus(StatusEnum.PURCHASE_FAILED.getName());
             statusRecord.setStatus(StatusEnum.PURCHASE_FAILED.getName());
-            statusRecordMapper.insert(statusRecord);
+//            statusRecordMapper.insert(statusRecord);
         }
         }
     }
     }
 
 

+ 6 - 6
winsea-haixin-plugin-yiliangyiyun/src/main/java/com/yh/saas/plugin/yiliangyiyun/workflow/QingjiaListener.java

@@ -42,24 +42,24 @@ public class QingjiaListener extends AbstractWorkflowTaskListener {
 
 
             if(statusRecord1 != null){
             if(statusRecord1 != null){
                 statusRecord1.setStatus(StatusEnum.ORDER_PASSED.getName());
                 statusRecord1.setStatus(StatusEnum.ORDER_PASSED.getName());
-                statusRecordMapper.updateById(statusRecord1);
+//                statusRecordMapper.updateById(statusRecord1);
             }
             }
             else{
             else{
                 statusRecord.setId(businessKey);
                 statusRecord.setId(businessKey);
                 statusRecord.setStatus(StatusEnum.ORDER_PASSED.getName());
                 statusRecord.setStatus(StatusEnum.ORDER_PASSED.getName());
-                statusRecordMapper.insert(statusRecord);
+//                statusRecordMapper.insert(statusRecord);
             }
             }
         } else {
         } else {
             leaveInfo.setApproveStatus(status);
             leaveInfo.setApproveStatus(status);
 
 
             if(statusRecord1 != null){
             if(statusRecord1 != null){
                 statusRecord1.setStatus(status);
                 statusRecord1.setStatus(status);
-                statusRecordMapper.updateById(statusRecord1);
+//                statusRecordMapper.updateById(statusRecord1);
             }
             }
             else{
             else{
                 statusRecord.setId(businessKey);
                 statusRecord.setId(businessKey);
                 statusRecord.setStatus(status);
                 statusRecord.setStatus(status);
-                statusRecordMapper.insert(statusRecord);
+//                statusRecordMapper.insert(statusRecord);
             }
             }
         }
         }
         leaveInfoService.updateAllColumnById(leaveInfo);
         leaveInfoService.updateAllColumnById(leaveInfo);
@@ -79,12 +79,12 @@ public class QingjiaListener extends AbstractWorkflowTaskListener {
         StatusRecord statusRecord1 = statusRecordMapper.selectById(businessKey);
         StatusRecord statusRecord1 = statusRecordMapper.selectById(businessKey);
         if(statusRecord1 != null){
         if(statusRecord1 != null){
             statusRecord1.setStatus(StatusEnum.PURCHASE_FAILED.getName());
             statusRecord1.setStatus(StatusEnum.PURCHASE_FAILED.getName());
-            statusRecordMapper.updateById(statusRecord1);
+//            statusRecordMapper.updateById(statusRecord1);
         }
         }
         else{
         else{
             statusRecord.setId(businessKey);
             statusRecord.setId(businessKey);
             statusRecord.setStatus(StatusEnum.PURCHASE_FAILED.getName());
             statusRecord.setStatus(StatusEnum.PURCHASE_FAILED.getName());
-            statusRecordMapper.insert(statusRecord);
+//            statusRecordMapper.insert(statusRecord);
         }
         }
     }
     }
 
 

+ 6 - 6
winsea-haixin-plugin-yiliangyiyun/src/main/java/com/yh/saas/plugin/yiliangyiyun/workflow/SaleCloseReportListener.java

@@ -44,24 +44,24 @@ public class SaleCloseReportListener extends AbstractWorkflowTaskListener {
 
 
             if(statusRecord1 != null){
             if(statusRecord1 != null){
                 statusRecord1.setStatus(StatusEnum.ORDER_PASSED.getName());
                 statusRecord1.setStatus(StatusEnum.ORDER_PASSED.getName());
-                statusRecordMapper.updateById(statusRecord1);
+//                statusRecordMapper.updateById(statusRecord1);
             }
             }
             else{
             else{
                 statusRecord.setId(businessKey);
                 statusRecord.setId(businessKey);
                 statusRecord.setStatus(StatusEnum.ORDER_PASSED.getName());
                 statusRecord.setStatus(StatusEnum.ORDER_PASSED.getName());
-                statusRecordMapper.insert(statusRecord);
+//                statusRecordMapper.insert(statusRecord);
             }
             }
         } else {
         } else {
             salesClosingReport.setApproveStatus(status);
             salesClosingReport.setApproveStatus(status);
 
 
             if(statusRecord1 != null){
             if(statusRecord1 != null){
                 statusRecord1.setStatus(status);
                 statusRecord1.setStatus(status);
-                statusRecordMapper.updateById(statusRecord1);
+//                statusRecordMapper.updateById(statusRecord1);
             }
             }
             else{
             else{
                 statusRecord.setId(businessKey);
                 statusRecord.setId(businessKey);
                 statusRecord.setStatus(status);
                 statusRecord.setStatus(status);
-                statusRecordMapper.insert(statusRecord);
+//                statusRecordMapper.insert(statusRecord);
             }
             }
         }
         }
         salesClosingReportService.updateAllColumnById(salesClosingReport);
         salesClosingReportService.updateAllColumnById(salesClosingReport);
@@ -81,12 +81,12 @@ public class SaleCloseReportListener extends AbstractWorkflowTaskListener {
         StatusRecord statusRecord1 = statusRecordMapper.selectById(businessKey);
         StatusRecord statusRecord1 = statusRecordMapper.selectById(businessKey);
         if(statusRecord1 != null){
         if(statusRecord1 != null){
             statusRecord1.setStatus(StatusEnum.PURCHASE_FAILED.getName());
             statusRecord1.setStatus(StatusEnum.PURCHASE_FAILED.getName());
-            statusRecordMapper.updateById(statusRecord1);
+//            statusRecordMapper.updateById(statusRecord1);
         }
         }
         else{
         else{
             statusRecord.setId(businessKey);
             statusRecord.setId(businessKey);
             statusRecord.setStatus(StatusEnum.PURCHASE_FAILED.getName());
             statusRecord.setStatus(StatusEnum.PURCHASE_FAILED.getName());
-            statusRecordMapper.insert(statusRecord);
+//            statusRecordMapper.insert(statusRecord);
         }
         }
     }
     }
 
 

+ 6 - 6
winsea-haixin-plugin-yiliangyiyun/src/main/java/com/yh/saas/plugin/yiliangyiyun/workflow/SaleContractListener.java

@@ -44,24 +44,24 @@ public class SaleContractListener extends AbstractWorkflowTaskListener {
 
 
             if(statusRecord1 != null){
             if(statusRecord1 != null){
                 statusRecord1.setStatus(StatusEnum.ORDER_PASSED.getName());
                 statusRecord1.setStatus(StatusEnum.ORDER_PASSED.getName());
-                statusRecordMapper.updateById(statusRecord1);
+//                statusRecordMapper.updateById(statusRecord1);
             }
             }
             else{
             else{
                 statusRecord.setId(businessKey);
                 statusRecord.setId(businessKey);
                 statusRecord.setStatus(StatusEnum.ORDER_PASSED.getName());
                 statusRecord.setStatus(StatusEnum.ORDER_PASSED.getName());
-                statusRecordMapper.insert(statusRecord);
+//                statusRecordMapper.insert(statusRecord);
             }
             }
         } else {
         } else {
             contractManagementInfo.setApproveStatus(status);
             contractManagementInfo.setApproveStatus(status);
 
 
             if(statusRecord1 != null){
             if(statusRecord1 != null){
                 statusRecord1.setStatus(status);
                 statusRecord1.setStatus(status);
-                statusRecordMapper.updateById(statusRecord1);
+//                statusRecordMapper.updateById(statusRecord1);
             }
             }
             else{
             else{
                 statusRecord.setId(businessKey);
                 statusRecord.setId(businessKey);
                 statusRecord.setStatus(status);
                 statusRecord.setStatus(status);
-                statusRecordMapper.insert(statusRecord);
+//                statusRecordMapper.insert(statusRecord);
             }
             }
         }
         }
         contractManagementInfoService.updateAllColumnById(contractManagementInfo);
         contractManagementInfoService.updateAllColumnById(contractManagementInfo);
@@ -81,12 +81,12 @@ public class SaleContractListener extends AbstractWorkflowTaskListener {
         StatusRecord statusRecord1 = statusRecordMapper.selectById(businessKey);
         StatusRecord statusRecord1 = statusRecordMapper.selectById(businessKey);
         if(statusRecord1 != null){
         if(statusRecord1 != null){
             statusRecord1.setStatus(StatusEnum.PURCHASE_FAILED.getName());
             statusRecord1.setStatus(StatusEnum.PURCHASE_FAILED.getName());
-            statusRecordMapper.updateById(statusRecord1);
+//            statusRecordMapper.updateById(statusRecord1);
         }
         }
         else{
         else{
             statusRecord.setId(businessKey);
             statusRecord.setId(businessKey);
             statusRecord.setStatus(StatusEnum.PURCHASE_FAILED.getName());
             statusRecord.setStatus(StatusEnum.PURCHASE_FAILED.getName());
-            statusRecordMapper.insert(statusRecord);
+//            statusRecordMapper.insert(statusRecord);
         }
         }
     }
     }
 
 

+ 6 - 6
winsea-haixin-plugin-yiliangyiyun/src/main/java/com/yh/saas/plugin/yiliangyiyun/workflow/SaleOrderListener.java

@@ -42,24 +42,24 @@ public class SaleOrderListener extends AbstractWorkflowTaskListener {
 
 
             if(statusRecord1 != null){
             if(statusRecord1 != null){
                 statusRecord1.setStatus(StatusEnum.ORDER_PASSED.getName());
                 statusRecord1.setStatus(StatusEnum.ORDER_PASSED.getName());
-                statusRecordMapper.updateById(statusRecord1);
+//                statusRecordMapper.updateById(statusRecord1);
             }
             }
             else{
             else{
                 statusRecord.setId(businessKey);
                 statusRecord.setId(businessKey);
                 statusRecord.setStatus(StatusEnum.ORDER_PASSED.getName());
                 statusRecord.setStatus(StatusEnum.ORDER_PASSED.getName());
-                statusRecordMapper.insert(statusRecord);
+//                statusRecordMapper.insert(statusRecord);
             }
             }
         } else {
         } else {
             saleOrder.setApproveStatus(status);
             saleOrder.setApproveStatus(status);
 
 
             if(statusRecord1 != null){
             if(statusRecord1 != null){
                 statusRecord1.setStatus(status);
                 statusRecord1.setStatus(status);
-                statusRecordMapper.updateById(statusRecord1);
+//                statusRecordMapper.updateById(statusRecord1);
             }
             }
             else{
             else{
                 statusRecord.setId(businessKey);
                 statusRecord.setId(businessKey);
                 statusRecord.setStatus(status);
                 statusRecord.setStatus(status);
-                statusRecordMapper.insert(statusRecord);
+//                statusRecordMapper.insert(statusRecord);
             }
             }
         }
         }
         saleOrderService.updateAllColumnById(saleOrder);
         saleOrderService.updateAllColumnById(saleOrder);
@@ -79,12 +79,12 @@ public class SaleOrderListener extends AbstractWorkflowTaskListener {
         StatusRecord statusRecord1 = statusRecordMapper.selectById(businessKey);
         StatusRecord statusRecord1 = statusRecordMapper.selectById(businessKey);
         if(statusRecord1 != null){
         if(statusRecord1 != null){
             statusRecord1.setStatus(StatusEnum.PURCHASE_FAILED.getName());
             statusRecord1.setStatus(StatusEnum.PURCHASE_FAILED.getName());
-            statusRecordMapper.updateById(statusRecord1);
+//            statusRecordMapper.updateById(statusRecord1);
         }
         }
         else{
         else{
             statusRecord.setId(businessKey);
             statusRecord.setId(businessKey);
             statusRecord.setStatus(StatusEnum.PURCHASE_FAILED.getName());
             statusRecord.setStatus(StatusEnum.PURCHASE_FAILED.getName());
-            statusRecordMapper.insert(statusRecord);
+//            statusRecordMapper.insert(statusRecord);
         }
         }
     }
     }
 
 

+ 6 - 6
winsea-haixin-plugin-yiliangyiyun/src/main/java/com/yh/saas/plugin/yiliangyiyun/workflow/SaleOutReportListener.java

@@ -43,24 +43,24 @@ public class SaleOutReportListener extends AbstractWorkflowTaskListener {
 
 
             if(statusRecord1 != null){
             if(statusRecord1 != null){
                 statusRecord1.setStatus(StatusEnum.ORDER_PASSED.getName());
                 statusRecord1.setStatus(StatusEnum.ORDER_PASSED.getName());
-                statusRecordMapper.updateById(statusRecord1);
+//                statusRecordMapper.updateById(statusRecord1);
             }
             }
             else{
             else{
                 statusRecord.setId(businessKey);
                 statusRecord.setId(businessKey);
                 statusRecord.setStatus(StatusEnum.ORDER_PASSED.getName());
                 statusRecord.setStatus(StatusEnum.ORDER_PASSED.getName());
-                statusRecordMapper.insert(statusRecord);
+//                statusRecordMapper.insert(statusRecord);
             }
             }
         } else {
         } else {
             salesDeliveryReport.setApproveStatus(status);
             salesDeliveryReport.setApproveStatus(status);
 
 
             if(statusRecord1 != null){
             if(statusRecord1 != null){
                 statusRecord1.setStatus(status);
                 statusRecord1.setStatus(status);
-                statusRecordMapper.updateById(statusRecord1);
+//                statusRecordMapper.updateById(statusRecord1);
             }
             }
             else{
             else{
                 statusRecord.setId(businessKey);
                 statusRecord.setId(businessKey);
                 statusRecord.setStatus(status);
                 statusRecord.setStatus(status);
-                statusRecordMapper.insert(statusRecord);
+//                statusRecordMapper.insert(statusRecord);
             }
             }
         }
         }
         salesDeliveryReportService.updateAllColumnById(salesDeliveryReport);
         salesDeliveryReportService.updateAllColumnById(salesDeliveryReport);
@@ -80,12 +80,12 @@ public class SaleOutReportListener extends AbstractWorkflowTaskListener {
         StatusRecord statusRecord1 = statusRecordMapper.selectById(businessKey);
         StatusRecord statusRecord1 = statusRecordMapper.selectById(businessKey);
         if(statusRecord1 != null){
         if(statusRecord1 != null){
             statusRecord1.setStatus(StatusEnum.PURCHASE_FAILED.getName());
             statusRecord1.setStatus(StatusEnum.PURCHASE_FAILED.getName());
-            statusRecordMapper.updateById(statusRecord1);
+//            statusRecordMapper.updateById(statusRecord1);
         }
         }
         else{
         else{
             statusRecord.setId(businessKey);
             statusRecord.setId(businessKey);
             statusRecord.setStatus(StatusEnum.PURCHASE_FAILED.getName());
             statusRecord.setStatus(StatusEnum.PURCHASE_FAILED.getName());
-            statusRecordMapper.insert(statusRecord);
+//            statusRecordMapper.insert(statusRecord);
         }
         }
     }
     }
 
 

+ 6 - 6
winsea-haixin-plugin-yiliangyiyun/src/main/java/com/yh/saas/plugin/yiliangyiyun/workflow/ShouContractListener.java

@@ -40,24 +40,24 @@ public class ShouContractListener extends AbstractWorkflowTaskListener {
 
 
           if(statusRecord1 != null){
           if(statusRecord1 != null){
               statusRecord1.setStatus(StatusEnum.ORDER_PASSED.getName());
               statusRecord1.setStatus(StatusEnum.ORDER_PASSED.getName());
-              statusRecordMapper.updateById(statusRecord1);
+//              statusRecordMapper.updateById(statusRecord1);
           }
           }
           else{
           else{
               statusRecord.setId(businessKey);
               statusRecord.setId(businessKey);
               statusRecord.setStatus(StatusEnum.ORDER_PASSED.getName());
               statusRecord.setStatus(StatusEnum.ORDER_PASSED.getName());
-              statusRecordMapper.insert(statusRecord);
+//              statusRecordMapper.insert(statusRecord);
           }
           }
         } else {
         } else {
             contractManagementInfo.setApproveStatus(status);
             contractManagementInfo.setApproveStatus(status);
 
 
           if(statusRecord1 != null){
           if(statusRecord1 != null){
               statusRecord1.setStatus(status);
               statusRecord1.setStatus(status);
-              statusRecordMapper.updateById(statusRecord1);
+//              statusRecordMapper.updateById(statusRecord1);
           }
           }
           else{
           else{
               statusRecord.setId(businessKey);
               statusRecord.setId(businessKey);
               statusRecord.setStatus(status);
               statusRecord.setStatus(status);
-              statusRecordMapper.insert(statusRecord);
+//              statusRecordMapper.insert(statusRecord);
           }
           }
       }
       }
         contractManagementInfoService.updateAllColumnById(contractManagementInfo);
         contractManagementInfoService.updateAllColumnById(contractManagementInfo);
@@ -77,12 +77,12 @@ public class ShouContractListener extends AbstractWorkflowTaskListener {
         StatusRecord statusRecord1 = statusRecordMapper.selectById(businessKey);
         StatusRecord statusRecord1 = statusRecordMapper.selectById(businessKey);
         if(statusRecord1 != null){
         if(statusRecord1 != null){
             statusRecord1.setStatus(StatusEnum.PURCHASE_FAILED.getName());
             statusRecord1.setStatus(StatusEnum.PURCHASE_FAILED.getName());
-            statusRecordMapper.updateById(statusRecord1);
+//            statusRecordMapper.updateById(statusRecord1);
         }
         }
         else{
         else{
             statusRecord.setId(businessKey);
             statusRecord.setId(businessKey);
             statusRecord.setStatus(StatusEnum.PURCHASE_FAILED.getName());
             statusRecord.setStatus(StatusEnum.PURCHASE_FAILED.getName());
-            statusRecordMapper.insert(statusRecord);
+//            statusRecordMapper.insert(statusRecord);
         }
         }
     }
     }
 
 

+ 6 - 6
winsea-haixin-plugin-yiliangyiyun/src/main/java/com/yh/saas/plugin/yiliangyiyun/workflow/TradeServicesListener.java

@@ -40,24 +40,24 @@ public class TradeServicesListener extends AbstractWorkflowTaskListener {
 
 
             if(statusRecord1 != null){
             if(statusRecord1 != null){
                 statusRecord1.setStatus(StatusEnum.ORDER_PASSED.getName());
                 statusRecord1.setStatus(StatusEnum.ORDER_PASSED.getName());
-                statusRecordMapper.updateById(statusRecord1);
+//                statusRecordMapper.updateById(statusRecord1);
             }
             }
             else{
             else{
                 statusRecord.setId(businessKey);
                 statusRecord.setId(businessKey);
                 statusRecord.setStatus(StatusEnum.ORDER_PASSED.getName());
                 statusRecord.setStatus(StatusEnum.ORDER_PASSED.getName());
-                statusRecordMapper.insert(statusRecord);
+//                statusRecordMapper.insert(statusRecord);
             }
             }
         } else {
         } else {
             tradeWarehouseReceiptAppl.setApproveStatus(status);
             tradeWarehouseReceiptAppl.setApproveStatus(status);
 
 
             if(statusRecord1 != null){
             if(statusRecord1 != null){
                 statusRecord1.setStatus(status);
                 statusRecord1.setStatus(status);
-                statusRecordMapper.updateById(statusRecord1);
+//                statusRecordMapper.updateById(statusRecord1);
             }
             }
             else{
             else{
                 statusRecord.setId(businessKey);
                 statusRecord.setId(businessKey);
                 statusRecord.setStatus(status);
                 statusRecord.setStatus(status);
-                statusRecordMapper.insert(statusRecord);
+//                statusRecordMapper.insert(statusRecord);
             }
             }
         }
         }
         tradeWarehouseReceiptApplService.updateAllColumnById(tradeWarehouseReceiptAppl);
         tradeWarehouseReceiptApplService.updateAllColumnById(tradeWarehouseReceiptAppl);
@@ -77,12 +77,12 @@ public class TradeServicesListener extends AbstractWorkflowTaskListener {
         StatusRecord statusRecord1 = statusRecordMapper.selectById(businessKey);
         StatusRecord statusRecord1 = statusRecordMapper.selectById(businessKey);
         if(statusRecord1 != null){
         if(statusRecord1 != null){
             statusRecord1.setStatus(StatusEnum.PURCHASE_FAILED.getName());
             statusRecord1.setStatus(StatusEnum.PURCHASE_FAILED.getName());
-            statusRecordMapper.updateById(statusRecord1);
+//            statusRecordMapper.updateById(statusRecord1);
         }
         }
         else{
         else{
             statusRecord.setId(businessKey);
             statusRecord.setId(businessKey);
             statusRecord.setStatus(StatusEnum.PURCHASE_FAILED.getName());
             statusRecord.setStatus(StatusEnum.PURCHASE_FAILED.getName());
-            statusRecordMapper.insert(statusRecord);
+//            statusRecordMapper.insert(statusRecord);
         }
         }
     }
     }
 
 

+ 6 - 6
winsea-haixin-plugin-yiliangyiyun/src/main/java/com/yh/saas/plugin/yiliangyiyun/workflow/TranProessListener.java

@@ -67,24 +67,24 @@ public class TranProessListener extends AbstractWorkflowTaskListener {
 
 
             if(statusRecord1 != null){
             if(statusRecord1 != null){
                 statusRecord1.setStatus(StatusEnum.ORDER_PASSED.getName());
                 statusRecord1.setStatus(StatusEnum.ORDER_PASSED.getName());
-                statusRecordMapper.updateById(statusRecord1);
+//                statusRecordMapper.updateById(statusRecord1);
             }
             }
             else{
             else{
                 statusRecord.setId(businessKey);
                 statusRecord.setId(businessKey);
                 statusRecord.setStatus(StatusEnum.ORDER_PASSED.getName());
                 statusRecord.setStatus(StatusEnum.ORDER_PASSED.getName());
-                statusRecordMapper.insert(statusRecord);
+//                statusRecordMapper.insert(statusRecord);
             }
             }
         } else {
         } else {
             tranProcessInfo.setApproveStatus(status);
             tranProcessInfo.setApproveStatus(status);
 
 
             if(statusRecord1 != null){
             if(statusRecord1 != null){
                 statusRecord1.setStatus(status);
                 statusRecord1.setStatus(status);
-                statusRecordMapper.updateById(statusRecord1);
+//                statusRecordMapper.updateById(statusRecord1);
             }
             }
             else{
             else{
                 statusRecord.setId(businessKey);
                 statusRecord.setId(businessKey);
                 statusRecord.setStatus(status);
                 statusRecord.setStatus(status);
-                statusRecordMapper.insert(statusRecord);
+//                statusRecordMapper.insert(statusRecord);
             }
             }
         }
         }
         tranProcessInfoService.updateAllColumnById(tranProcessInfo);
         tranProcessInfoService.updateAllColumnById(tranProcessInfo);
@@ -104,12 +104,12 @@ public class TranProessListener extends AbstractWorkflowTaskListener {
         StatusRecord statusRecord1 = statusRecordMapper.selectById(businessKey);
         StatusRecord statusRecord1 = statusRecordMapper.selectById(businessKey);
         if(statusRecord1 != null){
         if(statusRecord1 != null){
             statusRecord1.setStatus(StatusEnum.PURCHASE_FAILED.getName());
             statusRecord1.setStatus(StatusEnum.PURCHASE_FAILED.getName());
-            statusRecordMapper.updateById(statusRecord1);
+//            statusRecordMapper.updateById(statusRecord1);
         }
         }
         else{
         else{
             statusRecord.setId(businessKey);
             statusRecord.setId(businessKey);
             statusRecord.setStatus(StatusEnum.PURCHASE_FAILED.getName());
             statusRecord.setStatus(StatusEnum.PURCHASE_FAILED.getName());
-            statusRecordMapper.insert(statusRecord);
+//            statusRecordMapper.insert(statusRecord);
         }
         }
     }
     }
 
 

+ 6 - 6
winsea-haixin-plugin-yiliangyiyun/src/main/java/com/yh/saas/plugin/yiliangyiyun/workflow/TranSettlementReportListener.java

@@ -51,12 +51,12 @@ public class TranSettlementReportListener extends AbstractWorkflowTaskListener {
 
 
             if(statusRecord1 != null){
             if(statusRecord1 != null){
                 statusRecord1.setStatus(StatusEnum.ORDER_PASSED.getName());
                 statusRecord1.setStatus(StatusEnum.ORDER_PASSED.getName());
-                statusRecordMapper.updateById(statusRecord1);
+//                statusRecordMapper.updateById(statusRecord1);
             }
             }
             else{
             else{
                 statusRecord.setId(businessKey);
                 statusRecord.setId(businessKey);
                 statusRecord.setStatus(StatusEnum.ORDER_PASSED.getName());
                 statusRecord.setStatus(StatusEnum.ORDER_PASSED.getName());
-                statusRecordMapper.insert(statusRecord);
+//                statusRecordMapper.insert(statusRecord);
             }
             }
             flag =1;
             flag =1;
         } else {
         } else {
@@ -64,12 +64,12 @@ public class TranSettlementReportListener extends AbstractWorkflowTaskListener {
 
 
             if(statusRecord1 != null){
             if(statusRecord1 != null){
                 statusRecord1.setStatus(status);
                 statusRecord1.setStatus(status);
-                statusRecordMapper.updateById(statusRecord1);
+//                statusRecordMapper.updateById(statusRecord1);
             }
             }
             else{
             else{
                 statusRecord.setId(businessKey);
                 statusRecord.setId(businessKey);
                 statusRecord.setStatus(status);
                 statusRecord.setStatus(status);
-                statusRecordMapper.insert(statusRecord);
+//                statusRecordMapper.insert(statusRecord);
             }
             }
         }
         }
         batchReviewInfoService.updateAllColumnById(batchReviewInfo);
         batchReviewInfoService.updateAllColumnById(batchReviewInfo);
@@ -126,12 +126,12 @@ public class TranSettlementReportListener extends AbstractWorkflowTaskListener {
         StatusRecord statusRecord1 = statusRecordMapper.selectById(businessKey);
         StatusRecord statusRecord1 = statusRecordMapper.selectById(businessKey);
         if(statusRecord1 != null){
         if(statusRecord1 != null){
             statusRecord1.setStatus(StatusEnum.PURCHASE_FAILED.getName());
             statusRecord1.setStatus(StatusEnum.PURCHASE_FAILED.getName());
-            statusRecordMapper.updateById(statusRecord1);
+//            statusRecordMapper.updateById(statusRecord1);
         }
         }
         else{
         else{
             statusRecord.setId(businessKey);
             statusRecord.setId(businessKey);
             statusRecord.setStatus(StatusEnum.PURCHASE_FAILED.getName());
             statusRecord.setStatus(StatusEnum.PURCHASE_FAILED.getName());
-            statusRecordMapper.insert(statusRecord);
+//            statusRecordMapper.insert(statusRecord);
         }
         }
     }
     }
 
 

+ 6 - 6
winsea-haixin-plugin-yiliangyiyun/src/main/java/com/yh/saas/plugin/yiliangyiyun/workflow/WarehousingDebitListener.java

@@ -40,12 +40,12 @@ public class WarehousingDebitListener extends AbstractWorkflowTaskListener {
 
 
             if(statusRecord1 != null){
             if(statusRecord1 != null){
                 statusRecord1.setStatus(StatusEnum.ORDER_PASSED.getName());
                 statusRecord1.setStatus(StatusEnum.ORDER_PASSED.getName());
-                statusRecordMapper.updateById(statusRecord1);
+//                statusRecordMapper.updateById(statusRecord1);
             }
             }
             else{
             else{
                 statusRecord.setId(businessKey);
                 statusRecord.setId(businessKey);
                 statusRecord.setStatus(StatusEnum.ORDER_PASSED.getName());
                 statusRecord.setStatus(StatusEnum.ORDER_PASSED.getName());
-                statusRecordMapper.insert(statusRecord);
+//                statusRecordMapper.insert(statusRecord);
             }
             }
         } else {
         } else {
             warehousingOrder.setApproveStatus(status);
             warehousingOrder.setApproveStatus(status);
@@ -53,12 +53,12 @@ public class WarehousingDebitListener extends AbstractWorkflowTaskListener {
 
 
             if(statusRecord1 != null){
             if(statusRecord1 != null){
                 statusRecord1.setStatus(status);
                 statusRecord1.setStatus(status);
-                statusRecordMapper.updateById(statusRecord1);
+//                statusRecordMapper.updateById(statusRecord1);
             }
             }
             else{
             else{
                 statusRecord.setId(businessKey);
                 statusRecord.setId(businessKey);
                 statusRecord.setStatus(status);
                 statusRecord.setStatus(status);
-                statusRecordMapper.insert(statusRecord);
+//                statusRecordMapper.insert(statusRecord);
             }
             }
         }
         }
         warehousingOrderService.updateAllColumnById(warehousingOrder);
         warehousingOrderService.updateAllColumnById(warehousingOrder);
@@ -78,12 +78,12 @@ public class WarehousingDebitListener extends AbstractWorkflowTaskListener {
         StatusRecord statusRecord1 = statusRecordMapper.selectById(businessKey);
         StatusRecord statusRecord1 = statusRecordMapper.selectById(businessKey);
         if(statusRecord1 != null){
         if(statusRecord1 != null){
             statusRecord1.setStatus(StatusEnum.PURCHASE_FAILED.getName());
             statusRecord1.setStatus(StatusEnum.PURCHASE_FAILED.getName());
-            statusRecordMapper.updateById(statusRecord1);
+//            statusRecordMapper.updateById(statusRecord1);
         }
         }
         else{
         else{
             statusRecord.setId(businessKey);
             statusRecord.setId(businessKey);
             statusRecord.setStatus(StatusEnum.PURCHASE_FAILED.getName());
             statusRecord.setStatus(StatusEnum.PURCHASE_FAILED.getName());
-            statusRecordMapper.insert(statusRecord);
+//            statusRecordMapper.insert(statusRecord);
         }
         }
     }
     }
 
 

+ 4 - 4
winsea-haixin-plugin-yiliangyiyun/src/main/java/com/yh/saas/plugin/yiliangyiyun/workflow/WarehousingOrderListener.java

@@ -44,12 +44,12 @@ public class WarehousingOrderListener extends AbstractWorkflowTaskListener {
 
 
                 if(statusRecord1 != null){
                 if(statusRecord1 != null){
                     statusRecord1.setStatus(StatusEnum.ORDER_PASSED.getName());
                     statusRecord1.setStatus(StatusEnum.ORDER_PASSED.getName());
-                    statusRecordMapper.updateById(statusRecord1);
+//                    statusRecordMapper.updateById(statusRecord1);
                 }
                 }
                 else{
                 else{
                     statusRecord.setId(businessKey);
                     statusRecord.setId(businessKey);
                     statusRecord.setStatus(StatusEnum.ORDER_PASSED.getName());
                     statusRecord.setStatus(StatusEnum.ORDER_PASSED.getName());
-                    statusRecordMapper.insert(statusRecord);
+//                    statusRecordMapper.insert(statusRecord);
                 }
                 }
             } else {
             } else {
                 warehousingOrder.setApproveStatus(status);
                 warehousingOrder.setApproveStatus(status);
@@ -77,12 +77,12 @@ public class WarehousingOrderListener extends AbstractWorkflowTaskListener {
         StatusRecord statusRecord1 = statusRecordMapper.selectById(businessKey);
         StatusRecord statusRecord1 = statusRecordMapper.selectById(businessKey);
         if(statusRecord1 != null){
         if(statusRecord1 != null){
             statusRecord1.setStatus(StatusEnum.PURCHASE_FAILED.getName());
             statusRecord1.setStatus(StatusEnum.PURCHASE_FAILED.getName());
-            statusRecordMapper.updateById(statusRecord1);
+//            statusRecordMapper.updateById(statusRecord1);
         }
         }
         else{
         else{
             statusRecord.setId(businessKey);
             statusRecord.setId(businessKey);
             statusRecord.setStatus(StatusEnum.PURCHASE_FAILED.getName());
             statusRecord.setStatus(StatusEnum.PURCHASE_FAILED.getName());
-            statusRecordMapper.insert(statusRecord);
+//            statusRecordMapper.insert(statusRecord);
         }
         }
     }
     }