Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
amos-boot-zx-biz
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
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
Jobs
Commits
Open sidebar
项目统一框架
一体化_户用光伏项目代码
amos-boot-zx-biz
Commits
414e11e2
Commit
414e11e2
authored
Jul 04, 2024
by
chenzhao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
发货流程问题修复
parent
6c3494b7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
PreparationMoneyServiceImpl.java
...le/hygf/biz/service/impl/PreparationMoneyServiceImpl.java
+5
-2
No files found.
amos-boot-system-jxiop/amos-boot-module-hygf-biz/src/main/java/com/yeejoin/amos/boot/module/hygf/biz/service/impl/PreparationMoneyServiceImpl.java
View file @
414e11e2
...
...
@@ -598,6 +598,8 @@ public class PreparationMoneyServiceImpl extends BaseService<PreparationMoneyDto
hygfPreparationMoneyAuditingService
.
createWithModel
(
hygfPreparationMoneyAuditingDto
);
//提交时 赋值发货时间及订单状态
model
.
setDeliveryTime
(
new
Date
());
model
.
setDeliveryState
(
DeliveryStateeEnum
.
已发货
.
getName
());
model
.
setArrivalState
(
ArrivalStateeEnum
.
待收货
.
getName
());
model
.
setOrderStatus
(
DeliveryStateeEnum
.
待确认
.
getName
());
}
else
{
up
.
set
(
PeasantHousehold:
:
getConstructionState
,
DeliveryStateeEnum
.
暂存发货
.
getCode
());
...
...
@@ -907,7 +909,7 @@ public class PreparationMoneyServiceImpl extends BaseService<PreparationMoneyDto
preparationMoneyMapper
.
updateById
(
model
);
//执行工作流并保存记录
this
.
wofkflowExcute
(
instanceId
,
kv
.
getOrDefault
(
"approvalStatus"
,
""
).
toString
(),
kv
.
getOrDefault
(
"
comment
"
,
""
).
toString
());
this
.
wofkflowExcute
(
instanceId
,
kv
.
getOrDefault
(
"approvalStatus"
,
""
).
toString
(),
kv
.
getOrDefault
(
"
approvalStatus
"
,
""
).
toString
());
}
...
...
@@ -1005,7 +1007,8 @@ public class PreparationMoneyServiceImpl extends BaseService<PreparationMoneyDto
}
else
{
preparationMoney
.
setOrderStatus
(
DeliveryStateeEnum
.
待确认
.
getName
());
}
this
.
wofkflowExcute
(
kv
.
get
(
"instanceId"
).
toString
(),
kv
.
get
(
"approvalStatus"
).
toString
(),
kv
.
getOrDefault
(
"comment"
,
""
).
toString
());
preparationMoneyMapper
.
updateById
(
preparationMoney
);
this
.
wofkflowExcute
(
kv
.
get
(
"instanceId"
).
toString
(),
kv
.
get
(
"approvalStatus"
).
toString
(),
kv
.
getOrDefault
(
"approveInfo"
,
""
).
toString
());
}
public
PreparationMoney
submitOrder
(
PreparationMoney
model
,
String
instanceId
,
String
isSubmit
){
...
...
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