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
e0468c1e
Commit
e0468c1e
authored
Mar 13, 2020
by
huluobin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug fix
parent
bcc4b899
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
33 additions
and
57 deletions
+33
-57
ScheduleManageService.java
...gogirl/application/order/serve/ScheduleManageService.java
+1
-1
ScheduleManageServiceImpl.java
...plication/order/serve/impl/ScheduleManageServiceImpl.java
+30
-54
ScheduleManageController.java
...girl/interfaces/order/serve/ScheduleManageController.java
+2
-2
No files found.
src/main/java/com/gogirl/application/order/serve/ScheduleManageService.java
View file @
e0468c1e
...
...
@@ -96,7 +96,7 @@ public interface ScheduleManageService extends IService<ScheduleManage> {
* @param cmd
* @return
*/
void
updateSchedule
(
Update
ScheduleCommand
cmd
);
void
updateSchedule
(
Submit
ScheduleCommand
cmd
);
/**
* 更新预约前检查
...
...
src/main/java/com/gogirl/application/order/serve/impl/ScheduleManageServiceImpl.java
View file @
e0468c1e
This diff is collapsed.
Click to expand it.
src/main/java/com/gogirl/interfaces/order/serve/ScheduleManageController.java
View file @
e0468c1e
...
...
@@ -96,7 +96,7 @@ public class ScheduleManageController {
@ApiOperation
(
"用户更新预约"
)
@PostMapping
(
"/customer/schedule/updateSchedule"
)
public
JsonResult
<
Void
>
updateSchedule
(
@RequestHeader
String
token
,
@RequestBody
Update
ScheduleCommand
cmd
)
{
@RequestBody
Submit
ScheduleCommand
cmd
)
{
Integer
currentCustomerId
=
Optional
.
ofNullable
(
gogirlTokenService
.
getByToken
(
token
).
getCustomerId
())
.
orElseThrow
(()
->
new
RRException
(
500
,
"token不存在"
));
...
...
@@ -191,7 +191,7 @@ public class ScheduleManageController {
@ApiOperation
(
"更新预约"
)
@PostMapping
(
"/technician/schedule/updateSchedule"
)
public
JsonResult
<
Void
>
updateSchedule
(
@RequestBody
Update
ScheduleCommand
cmd
)
{
public
JsonResult
<
Void
>
updateSchedule
(
@RequestBody
Submit
ScheduleCommand
cmd
)
{
scheduleManageService
.
updateSchedule
(
cmd
);
return
JsonResult
.
success
();
...
...
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