|
@ -61,7 +61,11 @@ public class DoctorDayHandoverController extends BaseController {
|
|
|
@PostMapping("/getDayHandoverList")
|
|
|
@ApiOperation(value = "获取交接列表")
|
|
|
public String getDayHandoverList(@ApiParam(name = "doctor")
|
|
|
@RequestParam(value = "doctor") String doctor) {
|
|
|
@RequestParam(value = "doctor") String doctor,
|
|
|
@ApiParam(name = "staterDate")
|
|
|
@RequestParam(value = "staterDate")String staterDate,
|
|
|
@ApiParam(name = "endDate")
|
|
|
@RequestParam(value = "endDate")String endDate) {
|
|
|
|
|
|
try {
|
|
|
JSONObject param = new JSONObject();
|
|
@ -73,7 +77,7 @@ public class DoctorDayHandoverController extends BaseController {
|
|
|
return write(-1, "该操作仅支持社工");
|
|
|
}
|
|
|
|
|
|
return write(200, "成功", "data", dayHandoverService.getDayHandoverList(doctor));
|
|
|
return write(200, "成功", "data", dayHandoverService.getDayHandoverList(doctor,staterDate,endDate));
|
|
|
|
|
|
} catch (Exception e) {
|
|
|
error(e);
|