|
@ -14,7 +14,6 @@ import io.swagger.annotations.Api;
|
|
|
import io.swagger.annotations.ApiOperation;
|
|
|
import io.swagger.annotations.ApiParam;
|
|
|
import org.apache.commons.lang3.StringUtils;
|
|
|
import org.json.JSONArray;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.web.bind.annotation.*;
|
|
|
|
|
@ -252,24 +251,26 @@ public class RehabilitationManageController {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
@GetMapping(value = SpecialistMapping.rehabilitation.serviceDoctorList)
|
|
|
@ApiOperation(value = "康复管理-医生端居民详情服务医生列表")
|
|
|
public Envelop serviceDoctorList(
|
|
|
@ApiParam(name = "patientCode", value = "居民code", required = true) @RequestParam(value = "patientCode", required = true) String patientCode,
|
|
|
@ApiParam(name = "healthDoctor", value = "健管师医生code", required = false) @RequestParam(value = "healthDoctor", required = false) String healthDoctor,
|
|
|
@ApiParam(name = "healthDoctorName", value = "健管师医生名称", required = false) @RequestParam(value = "healthDoctorName", required = false) String healthDoctorName,
|
|
|
@ApiParam(name = "generalDoctor", value = "全科医生code", required = false) @RequestParam(value = "generalDoctor", required = false) String generalDoctor,
|
|
|
@ApiParam(name = "generalDoctorName", value = "全科医生名称", required = false) @RequestParam(value = "generalDoctorName", required = false) String generalDoctorName
|
|
|
) {
|
|
|
try {
|
|
|
return rehabilitationManageService.serviceDoctorList(patientCode, healthDoctor, healthDoctorName, generalDoctor, generalDoctorName);
|
|
|
} catch (Exception e) {
|
|
|
e.printStackTrace();
|
|
|
|
|
|
return Envelop.getError(e.getMessage());
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
* 2.0方法
|
|
|
*/
|
|
|
// @GetMapping(value = SpecialistMapping.rehabilitation.serviceDoctorList)
|
|
|
// @ApiOperation(value = "康复管理-医生端居民详情服务医生列表")
|
|
|
// public Envelop serviceDoctorList(
|
|
|
// @ApiParam(name = "patientCode", value = "居民code", required = true) @RequestParam(value = "patientCode", required = true) String patientCode,
|
|
|
// @ApiParam(name = "healthDoctor", value = "健管师医生code", required = false) @RequestParam(value = "healthDoctor", required = false) String healthDoctor,
|
|
|
// @ApiParam(name = "healthDoctorName", value = "健管师医生名称", required = false) @RequestParam(value = "healthDoctorName", required = false) String healthDoctorName,
|
|
|
// @ApiParam(name = "generalDoctor", value = "全科医生code", required = false) @RequestParam(value = "generalDoctor", required = false) String generalDoctor,
|
|
|
// @ApiParam(name = "generalDoctorName", value = "全科医生名称", required = false) @RequestParam(value = "generalDoctorName", required = false) String generalDoctorName
|
|
|
// ) {
|
|
|
// try {
|
|
|
// return rehabilitationManageService.serviceDoctorList(patientCode, healthDoctor, healthDoctorName, generalDoctor, generalDoctorName);
|
|
|
// } catch (Exception e) {
|
|
|
// e.printStackTrace();
|
|
|
//
|
|
|
// return Envelop.getError(e.getMessage());
|
|
|
// }
|
|
|
// }
|
|
|
@GetMapping(value = SpecialistMapping.rehabilitation.appCalendarPlanDetailList)
|
|
|
@ApiOperation(value = "康复管理-app端、微信端计划的服务项目列表")
|
|
|
public ObjEnvelop appCalendarPlanDetailList(
|