|
@ -1613,4 +1613,21 @@ public class PrescriptionEndpoint extends EnvelopRestEndpoint {
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@GetMapping(value = BaseHospitalRequestMapping.Prescription.findPatientAllOutpatient)
|
|
|
|
@ApiOperation(value = "查询患者问诊信息", notes = "查询患者问诊信息")
|
|
|
|
public MixEnvelop findPatientAllOutpatient( @ApiParam(name = "status", value = "状态")
|
|
|
|
@RequestParam(value = "status", required = false)String status,
|
|
|
|
@ApiParam(name = "page", value = "第几页")
|
|
|
|
@RequestParam(value = "page",required = false,defaultValue = "1") Integer page,
|
|
|
|
@ApiParam(name = "size", value = "页面大小")
|
|
|
|
@RequestParam(value = "size",required = false,defaultValue = "10") Integer size)throws Exception {
|
|
|
|
try {
|
|
|
|
return prescriptionService.findPatientAllOutpatient(status,page,size);
|
|
|
|
} catch (Exception e) {
|
|
|
|
return MixEnvelop.getError(e.getMessage());
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
}
|
|
}
|