Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
H
haoban-manage3.0
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
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
haoban3.0
haoban-manage3.0
Commits
a0d4296c
Commit
a0d4296c
authored
Mar 21, 2023
by
徐高华
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
核销
parent
f31105a2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
GicOrderController.java
...aoban/manage/web/controller/order/GicOrderController.java
+4
-3
No files found.
haoban-manage3-wx/src/main/java/com/gic/haoban/manage/web/controller/order/GicOrderController.java
View file @
a0d4296c
...
@@ -683,6 +683,7 @@ public class GicOrderController {
...
@@ -683,6 +683,7 @@ public class GicOrderController {
record
.
setOrderNo
(
data
.
getDefinedCode
());
record
.
setOrderNo
(
data
.
getDefinedCode
());
record
.
setPayNumber
(
data
.
getPayNumber
());
record
.
setPayNumber
(
data
.
getPayNumber
());
record
.
setPayTime
(
data
.
getPayTime
());
record
.
setPayTime
(
data
.
getPayTime
());
record
.
setOrigin
(
2
);
return
orderVerificationRecordApiService
.
createRecord
(
record
);
return
orderVerificationRecordApiService
.
createRecord
(
record
);
}
}
...
@@ -696,7 +697,6 @@ public class GicOrderController {
...
@@ -696,7 +697,6 @@ public class GicOrderController {
scanVO
.
setPayCost
(
exchangeLogDTO
.
getPayCost
());
scanVO
.
setPayCost
(
exchangeLogDTO
.
getPayCost
());
scanVO
.
setPayNumber
(
exchangeLogDTO
.
getPayNumber
());
scanVO
.
setPayNumber
(
exchangeLogDTO
.
getPayNumber
());
scanVO
.
setPayTime
(
exchangeLogDTO
.
getPayTime
());
scanVO
.
setPayTime
(
exchangeLogDTO
.
getPayTime
());
scanVO
.
setFinishTime
(
exchangeLogDTO
.
getFinishTime
());
ProductVO
productVO
=
new
ProductVO
();
ProductVO
productVO
=
new
ProductVO
();
productVO
.
setProName
(
exchangeLogDTO
.
getProName
());
productVO
.
setProName
(
exchangeLogDTO
.
getProName
());
...
@@ -718,6 +718,7 @@ public class GicOrderController {
...
@@ -718,6 +718,7 @@ public class GicOrderController {
scanVO
.
setPoint
(
exchangeLogDTO
.
getGoodsPoint
());
scanVO
.
setPoint
(
exchangeLogDTO
.
getGoodsPoint
());
scanVO
.
setAddress
(
exchangeLogDTO
.
getGoodsAddress
());
scanVO
.
setAddress
(
exchangeLogDTO
.
getGoodsAddress
());
scanVO
.
setTakeTime
(
exchangeLogDTO
.
getGoodsTime
());
scanVO
.
setTakeTime
(
exchangeLogDTO
.
getGoodsTime
());
scanVO
.
setCreateTime
(
exchangeLogDTO
.
getCreateTime
());
// 兑换状态 -2兑换取消(退货) -1兑换无效 0兑换取消(礼品未付款) 11兑换中(加钱购待支付) 3已发货(礼品) 1兑换功成
// 兑换状态 -2兑换取消(退货) -1兑换无效 0兑换取消(礼品未付款) 11兑换中(加钱购待支付) 3已发货(礼品) 1兑换功成
// 2领取(卡券) 4成功
// 2领取(卡券) 4成功
// 其实只需要 1 2 4
// 其实只需要 1 2 4
...
@@ -728,11 +729,11 @@ public class GicOrderController {
...
@@ -728,11 +729,11 @@ public class GicOrderController {
OrderVerificationRecordDTO
info
=
orderVerificationRecordApiService
.
recordInfo
(
scanVO
.
getRecordId
());
OrderVerificationRecordDTO
info
=
orderVerificationRecordApiService
.
recordInfo
(
scanVO
.
getRecordId
());
if
(
null
!=
info
)
{
if
(
null
!=
info
)
{
// 说明已经核销了
// 说明已经核销了
scanVO
.
set
CreateTime
(
info
.
getCreate
Time
());
scanVO
.
set
FinishTime
(
info
.
getFinish
Time
());
scanVO
.
setChecked
(
1
);
scanVO
.
setChecked
(
1
);
}
}
if
(
exchangeLogDTO
.
getStatus
()
==
IntegralMallExchangeLogStatusEnums
.
CONFIRM
.
getStatus
())
{
if
(
exchangeLogDTO
.
getStatus
()
==
IntegralMallExchangeLogStatusEnums
.
CONFIRM
.
getStatus
())
{
scanVO
.
set
CreateTime
(
exchangeLogDTO
.
getUpdate
Time
());
scanVO
.
set
FinishTime
(
exchangeLogDTO
.
getFinish
Time
());
scanVO
.
setChecked
(
1
);
scanVO
.
setChecked
(
1
);
}
}
}
}
...
...
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