Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
yd-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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
AutogeneralShanghai
yd-backend
Commits
00be0180
Commit
00be0180
authored
Sep 10, 2020
by
jianan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改日程查询接口传参
parent
6d77130e
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
3 deletions
+6
-3
yd-api/src/main/java/com/yd/api/practitioner/PractitionerController.java
+6
-3
No files found.
yd-api/src/main/java/com/yd/api/practitioner/PractitionerController.java
View file @
00be0180
...
@@ -31,6 +31,8 @@ import org.springframework.beans.factory.annotation.Autowired;
...
@@ -31,6 +31,8 @@ import org.springframework.beans.factory.annotation.Autowired;
import
org.springframework.stereotype.Controller
;
import
org.springframework.stereotype.Controller
;
import
org.springframework.web.bind.annotation.*
;
import
org.springframework.web.bind.annotation.*
;
import
java.util.Map
;
@Controller
@Controller
@RestController
@RestController
@RequestMapping
(
"/practitioner"
)
@RequestMapping
(
"/practitioner"
)
...
@@ -517,12 +519,13 @@ public class PractitionerController {
...
@@ -517,12 +519,13 @@ public class PractitionerController {
/**
/**
* 根据经纪人id查询日程列表
* 根据经纪人id查询日程列表
* @param practitionerId 经纪人id
* @param params
* @param trackDate 查询日期
* @return
* @return
*/
*/
@RequestMapping
(
"/queryScheduleTrackList"
)
@RequestMapping
(
"/queryScheduleTrackList"
)
public
Object
queryScheduleTrackList
(
@RequestParam
(
"practitionerId"
)
Long
practitionerId
,
@RequestParam
(
"trackDate"
)
String
trackDate
){
public
Object
queryScheduleTrackList
(
@RequestBody
Map
<
String
,
String
>
params
){
Long
practitionerId
=
Long
.
parseLong
(
params
.
get
(
"practitionerId"
))
;
String
trackDate
=
(
String
)
params
.
get
(
"trackDate"
);
JsonResult
result
=
scheduleTrackService
.
queryScheduleTrackList
(
practitionerId
,
trackDate
);
JsonResult
result
=
scheduleTrackService
.
queryScheduleTrackList
(
practitionerId
,
trackDate
);
return
result
;
return
result
;
}
}
...
...
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