Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gogirl-miniapp-backend
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
huluobin
gogirl-miniapp-backend
Commits
cdc90b77
Commit
cdc90b77
authored
Jul 08, 2020
by
huluobin
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' into 3.8
parents
a5b792d7
d608b2be
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
2 deletions
+7
-2
PayServiceImpl.java
...m/gogirl/application/order/serve/impl/PayServiceImpl.java
+1
-1
ScheduleManageServiceImpl.java
...plication/order/serve/impl/ScheduleManageServiceImpl.java
+6
-1
No files found.
src/main/java/com/gogirl/application/order/serve/impl/PayServiceImpl.java
View file @
cdc90b77
...
@@ -66,7 +66,7 @@ public class PayServiceImpl implements PayService {
...
@@ -66,7 +66,7 @@ public class PayServiceImpl implements PayService {
throw
new
RRException
(
"订单状态异常"
);
throw
new
RRException
(
"订单状态异常"
);
}
}
this
.
checkCustomerBalance
(
currentCustomerId
,
orderId
);
//
this.checkCustomerBalance(currentCustomerId, orderId);
/*1、扣除余额*/
/*1、扣除余额*/
...
...
src/main/java/com/gogirl/application/order/serve/impl/ScheduleManageServiceImpl.java
View file @
cdc90b77
...
@@ -644,6 +644,7 @@ public class ScheduleManageServiceImpl extends ServiceImpl<ScheduleManageMapper,
...
@@ -644,6 +644,7 @@ public class ScheduleManageServiceImpl extends ServiceImpl<ScheduleManageMapper,
technicianPushService
.
scheduledMsg
(
scheduleManage
.
getId
());
technicianPushService
.
scheduledMsg
(
scheduleManage
.
getId
());
}
}
@Transactional
(
rollbackFor
=
Exception
.
class
)
@Override
@Override
public
void
updateSchedule
(
SubmitScheduleCommand
cmd
)
{
public
void
updateSchedule
(
SubmitScheduleCommand
cmd
)
{
...
@@ -978,11 +979,15 @@ public class ScheduleManageServiceImpl extends ServiceImpl<ScheduleManageMapper,
...
@@ -978,11 +979,15 @@ public class ScheduleManageServiceImpl extends ServiceImpl<ScheduleManageMapper,
scheduleServeCommand
.
setStartTime
(
mainScheduleServeCommand
.
getStartTime
());
scheduleServeCommand
.
setStartTime
(
mainScheduleServeCommand
.
getStartTime
());
scheduleServeCommand
.
setEndTime
(
mainScheduleServeCommand
.
getEndTime
());
scheduleServeCommand
.
setEndTime
(
mainScheduleServeCommand
.
getEndTime
());
//如果主服务
应
开单 并且更新 同步主服务的开始时间
//如果主服务
已经
开单 并且更新 同步主服务的开始时间
ScheduleServe
mainScheduleServe
=
scheduleServeMapper
.
selectById
(
mainScheduleServeCommand
.
getId
());
ScheduleServe
mainScheduleServe
=
scheduleServeMapper
.
selectById
(
mainScheduleServeCommand
.
getId
());
if
(
mainScheduleServe
!=
null
&&
mainScheduleServe
.
getActualStartTime
()
!=
null
)
{
if
(
mainScheduleServe
!=
null
&&
mainScheduleServe
.
getActualStartTime
()
!=
null
)
{
scheduleServeCommand
.
setActualStartTime
(
mainScheduleServe
.
getActualStartTime
());
scheduleServeCommand
.
setActualStartTime
(
mainScheduleServe
.
getActualStartTime
());
}
}
//如果主服务已经结单 不能再添加辅助服务
if
(
mainScheduleServe
!=
null
&&
mainScheduleServe
.
getStatus
()
==
3
)
{
throw
new
RRException
(
"不能再为已完成的服务添加辅助服务"
)
}
});
});
ScheduleManage
scheduleManage
=
scheduleManageMapper
.
selectById
(
cmd
.
getId
());
ScheduleManage
scheduleManage
=
scheduleManageMapper
.
selectById
(
cmd
.
getId
());
...
...
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