|
@ -142,10 +142,15 @@ public class DoctorRehabilitationManageController extends BaseController {
|
|
|
@ApiOperation("康复管理-多个康复计划服务项目内容列表")
|
|
|
@ObserverRequired
|
|
|
public String serviceItemList(@ApiParam(name = "planDetailIds", value = "康复计划多个服务项目id(多个‘,’分隔)", required = true)
|
|
|
@RequestParam(value = "planDetailIds", required = true)String planDetailIds){
|
|
|
@RequestParam(value = "planDetailIds", required = true)String planDetailIds,
|
|
|
@ApiParam(name = "doctorCode", value = "医生code", required = false)
|
|
|
@RequestParam(value = "doctorCode", required = false)String doctorCode){
|
|
|
|
|
|
try {
|
|
|
JSONArray result = rehabilitationManageService.serviceItemList(planDetailIds);
|
|
|
if(!StringUtils.isNotEmpty(doctorCode)){
|
|
|
doctorCode = getRepUID();
|
|
|
}
|
|
|
JSONArray result = rehabilitationManageService.serviceItemList(planDetailIds,doctorCode);
|
|
|
return write(200, "获取成功", "data", result);
|
|
|
} catch (Exception e) {
|
|
|
error(e);
|
|
@ -157,10 +162,15 @@ public class DoctorRehabilitationManageController extends BaseController {
|
|
|
@ApiOperation("康复管理-康复计划服务项目确认详情页")
|
|
|
@ObserverRequired
|
|
|
public String serviceItem(@ApiParam(name = "planDetailId", value = "康复计划服务项目id", required = true)
|
|
|
@RequestParam(value = "planDetailId", required = true)String planDetailId){
|
|
|
@RequestParam(value = "planDetailId", required = true)String planDetailId,
|
|
|
@ApiParam(name = "doctorCode", value = "医生code", required = false)
|
|
|
@RequestParam(value = "doctorCode", required = false)String doctorCode){
|
|
|
|
|
|
try {
|
|
|
JSONObject result = rehabilitationManageService.serviceItem(planDetailId);
|
|
|
if(!StringUtils.isNotEmpty(doctorCode)){
|
|
|
doctorCode = getRepUID();
|
|
|
}
|
|
|
JSONObject result = rehabilitationManageService.serviceItem(planDetailId,doctorCode);
|
|
|
return write(200, "获取成功", "data", result);
|
|
|
} catch (Exception e) {
|
|
|
error(e);
|