|
@ -103,10 +103,11 @@ public class LabelController extends EnvelopRestEndpoint {
|
|
|
@ApiOperation(value = "查询居民标签分组数量")
|
|
|
public ListEnvelop findLabelPatientGroupCount(
|
|
|
@ApiParam(name = "name", value = "姓名") @RequestParam(value = "name", required = false) String name,
|
|
|
@ApiParam(name = "labelType", value = "1健康情况 2疾病类型 3专病类型 4自定义标签") @RequestParam(value = "labelType", required = false) String labelType
|
|
|
@ApiParam(name = "labelType", value = "1健康情况 2疾病类型 3专病类型 4自定义标签") @RequestParam(value = "labelType", required = false) String labelType,
|
|
|
@ApiParam(name = "doctorCode", value = "医生code") @RequestParam(value = "doctorCode", required = false) String doctorCode
|
|
|
) {
|
|
|
try {
|
|
|
return ListEnvelop.getSuccess("查询成功", labelService.findLabelPatientGroupCount(name,labelType));
|
|
|
return ListEnvelop.getSuccess("查询成功", labelService.findLabelPatientGroupCount(name,labelType,doctorCode));
|
|
|
} catch (Exception e) {
|
|
|
e.printStackTrace();
|
|
|
return ListEnvelop.getError("查询失败");
|
|
@ -118,10 +119,11 @@ public class LabelController extends EnvelopRestEndpoint {
|
|
|
public ListEnvelop findLabelPatientList(
|
|
|
@ApiParam(name = "name", value = "姓名") @RequestParam(value = "name", required = false) String name,
|
|
|
@ApiParam(name = "labelType", value = "1健康情况 2疾病类型 3专病类型 4自定义标签") @RequestParam(value = "labelType", required = false) String labelType,
|
|
|
@ApiParam(name = "labelCode", value = "类型") @RequestParam(value = "labelCode", required = false) String labelCode
|
|
|
@ApiParam(name = "labelCode", value = "类型") @RequestParam(value = "labelCode", required = false) String labelCode,
|
|
|
@ApiParam(name = "doctorCode", value = "医生code") @RequestParam(value = "doctorCode", required = false) String doctorCode
|
|
|
) {
|
|
|
try {
|
|
|
return ListEnvelop.getSuccess("查询成功", labelService.findLabelPatientList(name,labelType,labelCode));
|
|
|
return ListEnvelop.getSuccess("查询成功", labelService.findLabelPatientList(name,labelType,labelCode,doctorCode));
|
|
|
} catch (Exception e) {
|
|
|
e.printStackTrace();
|
|
|
return ListEnvelop.getError("查询失败");
|