瀏覽代碼

Merge branch 'dev' of trick9191/patient-co-management into dev

trick9191 7 年之前
父節點
當前提交
2cdf9522a7

+ 5 - 0
patient-co/patient-co-wlyy/src/main/java/com/yihu/wlyy/service/specialist/SpecialistService.java

@ -727,5 +727,10 @@ public class SpecialistService extends BaseService {
        return total;
    }
    public List<SignPatientLabelInfo> getPatientHealthLabel(String patient){
        List<SignPatientLabelInfo> list =   signPatientLabelInfoDao.findByPatientAndLabelTypeAndStatus(patient,"8",1);
        return list;
    }
}

+ 11 - 0
patient-co/patient-co-wlyy/src/main/java/com/yihu/wlyy/web/doctor/specialist/SpecialistController.java

@ -302,4 +302,15 @@ public class SpecialistController extends WeixinBaseController {
        }
    }
    @RequestMapping(value = "/getPatientHealthLabel", method = RequestMethod.GET)
    @ApiOperation(value = "获取居民专病服务信息")
    public String getPatientHealthLabel(@ApiParam(name = "patient", value = "患者code") @RequestParam(required = true)String patient){
        try {
            return write(200, "获取成功", "data", specialistService.getPatientHealthLabel(patient));
        } catch (Exception e) {
            error(e);
            return error(-1, "请求失败");
        }
    }
}