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
b962ceb6
Commit
b962ceb6
authored
Mar 21, 2024
by
吕明尚
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改订单因逻辑删除后,不能正常回调
parent
527f1bcb
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
7 additions
and
4 deletions
+7
-4
OrderStatusEnum.java
...mon/src/main/java/share/common/enums/OrderStatusEnum.java
+0
-1
SOrderMapper.java
...ystem/src/main/java/share/system/mapper/SOrderMapper.java
+2
-0
SOrderServiceImpl.java
...ain/java/share/system/service/impl/SOrderServiceImpl.java
+1
-3
SOrderMapper.xml
...-system/src/main/resources/mapper/system/SOrderMapper.xml
+4
-0
No files found.
share-common/src/main/java/share/common/enums/OrderStatusEnum.java
View file @
b962ceb6
...
...
@@ -12,7 +12,6 @@ public enum OrderStatusEnum {
CANCEL
(
3
,
"已取消"
),
REFUNDING
(
4
,
"退款中"
),
REFUNDED
(
5
,
"已退款"
),
UNUSED_AND_INUSE
(
10
,
"待使用/已预约/使用中"
),
;
...
...
share-system/src/main/java/share/system/mapper/SOrderMapper.java
View file @
b962ceb6
...
...
@@ -64,4 +64,6 @@ public interface SOrderMapper extends BaseMapper<SOrder>
SOrder
selectSOrderByNo
(
String
orderNo
);
List
<
SOrder
>
queryList
(
Long
roomId
);
SOrder
getInfoByEntity
(
SOrder
orderParam
);
}
share-system/src/main/java/share/system/service/impl/SOrderServiceImpl.java
View file @
b962ceb6
...
...
@@ -1081,9 +1081,7 @@ public class SOrderServiceImpl extends ServiceImpl<SOrderMapper, SOrder> impleme
@Override
public
SOrder
getInfoByEntity
(
SOrder
orderParam
)
{
LambdaQueryWrapper
<
SOrder
>
lambdaQueryWrapper
=
new
LambdaQueryWrapper
<>();
lambdaQueryWrapper
.
setEntity
(
orderParam
);
return
getOne
(
lambdaQueryWrapper
);
return
baseMapper
.
getInfoByEntity
(
orderParam
);
}
@DSTransactional
...
...
share-system/src/main/resources/mapper/system/SOrderMapper.xml
View file @
b962ceb6
...
...
@@ -146,6 +146,10 @@
AND (room_id = #{roomId} AND pay_status = 1 AND status IN (0, 1))
ORDER BY status DESC , pre_start_date
</select>
<select
id=
"getInfoByEntity"
resultType=
"share.system.domain.SOrder"
parameterType=
"SOrder"
>
<include
refid=
"selectSOrderVo"
/>
where out_trade_no=#{outTradeNo} and consumer_id=#{consumerId}
</select>
<insert
id=
"insertSOrder"
parameterType=
"SOrder"
useGeneratedKeys=
"true"
keyProperty=
"id"
>
insert into s_order
...
...
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