Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
O
online-edu-backend
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Redmine
Redmine
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
online-edu
online-edu-backend
Commits
631d3ced
Commit
631d3ced
authored
Jun 18, 2021
by
liuyang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
adb18f33
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
ProductOrderService.java
...om/qkdata/biz/management/service/ProductOrderService.java
+1
-1
product_orderMapper.xml
...main/resources/mappers/management/product_orderMapper.xml
+1
-1
No files found.
src/main/java/com/qkdata/biz/management/service/ProductOrderService.java
View file @
631d3ced
...
...
@@ -319,7 +319,7 @@ public class ProductOrderService extends ServiceImpl<ProductOrderMapper, Product
//下单来源不一致
if
(
orderPO
.
getPayMethod
()
==
PayMethodEnum
.
WeiXin
&&
orderPO
.
getSource
()
!=
model
.
getSource
()){
if
(
orderPO
.
getSource
()
==
PaySourceEnum
.
MWEB
){
throw
new
BusinessException
(
"请从浏览器中支付"
);
throw
new
BusinessException
(
"请从
手机
浏览器中支付"
);
}
else
if
(
orderPO
.
getSource
()
==
PaySourceEnum
.
JSAPI
){
throw
new
BusinessException
(
"请从微信浏览器中支付"
);
}
...
...
src/main/resources/mappers/management/product_orderMapper.xml
View file @
631d3ced
...
...
@@ -15,6 +15,6 @@
<if
test=
"p.orgId != null"
>
and o.org_id = #{p.orgId}
</if>
order by
`status` DESC,
create_time DESC
order by create_time DESC
</select>
</mapper>
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