Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gxpt_ht
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
pseer
gxpt_ht
Commits
83ae3348
Commit
83ae3348
authored
Mar 22, 2024
by
吕明尚
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
支付回调判断订单状态是否删除,修改订单逻辑删除状态
parent
650733de
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
1 deletions
+4
-1
SOrderServiceImpl.java
...ain/java/share/system/service/impl/SOrderServiceImpl.java
+3
-0
SOrderMapper.xml
...-system/src/main/resources/mapper/system/SOrderMapper.xml
+1
-1
No files found.
share-system/src/main/java/share/system/service/impl/SOrderServiceImpl.java
View file @
83ae3348
...
...
@@ -1309,6 +1309,9 @@ public class SOrderServiceImpl extends ServiceImpl<SOrderMapper, SOrder> impleme
JSONObject
jsonObject
=
new
JSONObject
(
map
);
redisUtil
.
set
(
ReceiptRdeisEnum
.
ORDER_NO
.
getValue
()
+
sOrder
.
getOrderNo
(),
jsonObject
.
toString
());
}
if
(
sOrder
.
getIsDelete
().
equals
(
YesNoEnum
.
yes
.
getIndex
()))
{
sOrder
.
setIsDelete
(
YesNoEnum
.
no
.
getIndex
());
}
baseMapper
.
updateSOrder
(
sOrder
);
Long
couponId
=
sOrder
.
getCouponId
();
SStore
sStore
=
storeService
.
getById
(
sOrder
.
getStoreId
());
...
...
share-system/src/main/resources/mapper/system/SOrderMapper.xml
View file @
83ae3348
...
...
@@ -259,7 +259,7 @@
<if
test=
"refundReason != null"
>
refund_reason = #{refundReason},
</if>
<if
test=
"refundReasonTime != null"
>
refund_reason_time = #{refundReasonTime},
</if>
<if
test=
"refundPrice != null"
>
refund_price = #{refundPrice},
</if>
<if
test=
"isDelete != null"
>
is_delete = #{isDelete},
</if>
<if
test=
"isDelete != null
or isDelete==0
"
>
is_delete = #{isDelete},
</if>
<if
test=
"updateBy != null"
>
update_by = #{updateBy},
</if>
<if
test=
"updateTime != null"
>
update_time = NOW(),
</if>
<if
test=
"arrivalTime != null"
>
arrival_time = #{arrivalTime},
</if>
...
...
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