gongdecai 3 лет назад
Родитель
Сommit
609a0f1251

+ 1 - 1
winsea-haixin-plugin-yiliangyiyun/src/main/java/com/yh/saas/plugin/yiliangyiyun/service/impl/PurchaseOrderServiceImpl.java

@@ -510,7 +510,7 @@ public class PurchaseOrderServiceImpl extends ServiceImpl<PurchaseOrderMapper, P
         // 不是退回的单子
         if (isStartWorkflow) {
             Workflow workflow = workflowService
-                    .findLatestWorkflowByBusinessCode("PURCHASE-ORDER-APPROVE");
+                    .findLatestWorkflowByBusinessCode("PROCUREMENT-ORDER-APPROVE");
             // 没配置审核流程,直接结束并处理信息
             if (workflow == null) {
                 throw new YException(YExceptionEnum.PURCHASE_ORDER_ERROR);

+ 1 - 1
winsea-haixin-plugin-yiliangyiyun/src/main/java/com/yh/saas/plugin/yiliangyiyun/workflow/PurchaseOrderListener.java

@@ -10,7 +10,7 @@ import com.yh.saas.plugin.yiliangyiyun.service.IProcurementPlanInfoService;
 import com.yh.saas.plugin.yiliangyiyun.service.IPurchaseOrderService;
 import org.springframework.beans.factory.annotation.Autowired;
 
-@WorkflowTaskListener(name = "采购管理", group = "采购订单")
+@WorkflowTaskListener(name = "采购订单", group = "采购订单")
 public class PurchaseOrderListener extends AbstractWorkflowTaskListener {
 
     private static final long serialVersionUID = 4103656734835351132L;