Commit 00be0180 by jianan

修改日程查询接口传参

parent 6d77130e
......@@ -31,6 +31,8 @@ import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.*;
import java.util.Map;
@Controller
@RestController
@RequestMapping("/practitioner")
......@@ -517,12 +519,13 @@ public class PractitionerController {
/**
* 根据经纪人id查询日程列表
* @param practitionerId 经纪人id
* @param trackDate 查询日期
* @param params
* @return
*/
@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);
return result;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment