wangzhinan пре 9 месеци
родитељ
комит
00a05db78f

+ 2 - 2
business/base-service/src/main/java/com/yihu/jw/wlyy/service/WlyyBusinessService.java

@ -1015,8 +1015,8 @@ public class WlyyBusinessService {
        return re;
    }
    public JSONObject selectPlanServerDoctor_IJK(String planId) {
        String param = "?planId=" + nullToTransfor(planId);
    public JSONObject selectPlanServerDoctor_IJK(String planId,String doctorCode) {
        String param = "?planId=" + nullToTransfor(planId)+"&doctorCode=" + nullToTransfor(doctorCode);
        JSONObject re = wlyyHttpService.sendWlyyMesGet("selectPlanServerDoctor_IJK", param);
        return re;
    }

+ 3 - 2
svr/svr-internet-hospital/src/main/java/com/yihu/jw/hospital/endpoint/specialist/BaseDiseaseHospitalController.java

@ -385,9 +385,10 @@ public class BaseDiseaseHospitalController extends EnvelopRestEndpoint {
    @RequestMapping(value = "selectPlanServerDoctor_IJK", method = RequestMethod.POST)
    @ApiOperation("康复管理-康复计划的服务医生")
    public Envelop selectPlanServerDoctor_IJK(@ApiParam(name = "planId", value = "康复计划ID") @RequestParam(value = "planId", required = true) String planId) {
    public Envelop selectPlanServerDoctor_IJK(@ApiParam(name = "planId", value = "康复计划ID") @RequestParam(value = "planId", required = true) String planId,
                                              @ApiParam(name = "doctorCode", value = "医生id") @RequestParam(value = "doctorCode", required = true) String doctorCode) {
        try {
            JSONObject result = wlyyBusinessService.selectPlanServerDoctor_IJK(planId);
            JSONObject result = wlyyBusinessService.selectPlanServerDoctor_IJK(planId,doctorCode);
            return success(result);
        } catch (Exception e) {
            return failedException(e);