Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
O
on-site-service
Project
Project
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
external
on-site-service
Commits
c73e8a92
Commit
c73e8a92
authored
Aug 10, 2022
by
shangtx
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 订单多次支付
parent
202f32a0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
5 deletions
+7
-5
ServiceOrderBizService.java
...service/miniapp/service/order/ServiceOrderBizService.java
+7
-5
No files found.
mini-app/src/main/java/com/onsiteservice/miniapp/service/order/ServiceOrderBizService.java
View file @
c73e8a92
...
...
@@ -237,11 +237,13 @@ public class ServiceOrderBizService extends AbstractMapper<ServiceOrder> {
int
result
=
serviceOrderMapper
.
updateByPrimaryKeySelective
(
order
);
// 通知客服
var
logCondition
=
new
ServiceOrderLog
();
logCondition
.
setOrderId
(
order
.
getId
());
logCondition
.
setProcessId
(
ServiceOrderStatusEnum
.
SEND
.
getStatus
());
var
orderLog
=
serviceOrderLogMapper
.
selectOne
(
logCondition
);
if
(
orderLog
!=
null
)
{
var
logCondition
=
new
Condition
(
ServiceOrderLog
.
class
);
logCondition
.
createCriteria
().
andEqualTo
(
"orderId"
,
order
.
getId
())
.
andEqualTo
(
"processId"
,
ServiceOrderStatusEnum
.
SEND
.
getStatus
());
logCondition
.
setOrderByClause
(
"create_time desc limit 1"
);
var
orderLogs
=
serviceOrderLogMapper
.
selectByCondition
(
logCondition
);
if
(!
orderLogs
.
isEmpty
())
{
var
orderLog
=
orderLogs
.
get
(
0
);
if
(
ServiceOrderOpSourceEnum
.
WEB
.
getId
().
equals
(
orderLog
.
getSource
()))
{
var
sysUser
=
sysUserMapper
.
selectByPrimaryKey
(
orderLog
.
getHostId
());
if
(
StringUtils
.
isNotEmpty
(
sysUser
.
getPhone
()))
{
...
...
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