Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
J
jiedao-api-boot-master
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lanbaoming
jiedao-api-boot-master
Commits
131e173b
Commit
131e173b
authored
Sep 07, 2024
by
chenjiuping
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加入仓申请流程
parent
3bde7cb7
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
31 additions
and
0 deletions
+31
-0
WorkFlowEmus.java
.../java/cn/iocoder/yudao/module/bpm/enums/WorkFlowEmus.java
+1
-0
BmpOrderWarehouseingResultListener.java
...ce/order/listener/BmpOrderWarehouseingResultListener.java
+30
-0
No files found.
yudao-module-bpm/yudao-module-bpm-api/src/main/java/cn/iocoder/yudao/module/bpm/enums/WorkFlowEmus.java
View file @
131e173b
...
...
@@ -95,6 +95,7 @@ public enum WorkFlowEmus {
SHIPMENT_LINE_WEIGHT_ALLOW_OVER
(
"shipment_line_weight_allow_over"
,
"出货审批-允许超出线路重量上限审核"
),
ORDER_OVERSEAS_WAREHOUSE_CHANGE
(
"order_overseas_warehouse_change"
,
"订单审批-海外仓修改申请"
),
ORDER_CONSIGNEE_LIMIT_CHANGE
(
"order_consignee_limit_change"
,
"订单审批-收货人限制修改申请"
),
ORDER_WAREHOUSING
(
"order_warehousing"
,
"订单审批-入仓申请"
),
;
private
String
key
;
private
String
value
;
...
...
yudao-module-bpm/yudao-module-bpm-base/src/main/java/cn/iocoder/yudao/module/bpm/service/order/listener/BmpOrderWarehouseingResultListener.java
0 → 100644
View file @
131e173b
package
cn
.
iocoder
.
yudao
.
module
.
bpm
.
service
.
order
.
listener
;
import
cn.iocoder.yudao.module.bpm.enums.WorkFlowEmus
;
import
cn.iocoder.yudao.module.bpm.framework.bpm.core.event.BpmProcessInstanceResultEvent
;
import
cn.iocoder.yudao.module.bpm.framework.bpm.core.event.BpmProcessInstanceResultEventListener
;
import
cn.iocoder.yudao.module.order.service.order.OrderService
;
import
lombok.extern.slf4j.Slf4j
;
import
org.springframework.stereotype.Component
;
import
javax.annotation.Resource
;
@Component
@Slf4j
public
class
BmpOrderWarehouseingResultListener
extends
BpmProcessInstanceResultEventListener
{
@Resource
OrderService
orderService
;
@Override
protected
String
getProcessDefinitionKey
()
{
return
WorkFlowEmus
.
ORDER_WAREHOUSING
.
getKey
();
}
@Override
protected
void
onEvent
(
BpmProcessInstanceResultEvent
event
)
{
log
.
info
(
"----------------------入仓申请----------------------,{},{}"
+
event
.
getBusinessKey
(),
event
.
getResult
());
//orderService.approvalOrder(event.getBusinessKey(), event.getResult());
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment