|
@ -405,10 +405,10 @@ public class PrescriptionInfoController extends BaseController {
|
|
|
|
|
|
@RequestMapping(value = "/getPrescription", method = RequestMethod.GET)
|
|
|
@ApiOperation(value = "获取长处方详细信息")
|
|
|
public String getPrescription(@RequestParam(required = true) @ApiParam(name = "code", value = "处方CODE") String
|
|
|
code) {
|
|
|
public String getPrescription(@RequestParam(required = true) @ApiParam(name = "code", value = "处方CODE") String code
|
|
|
,@RequestParam(required = true) @ApiParam(name = "patient", value = "居民CODE") String patient) {
|
|
|
try {
|
|
|
return write(200, "查询成功!", "data", prescriptionInfoService.getPrescription(code));
|
|
|
return write(200, "查询成功!", "data", prescriptionInfoService.getPrescription(code,patient));
|
|
|
} catch (Exception e) {
|
|
|
error(e);
|
|
|
return error(-1, "查询失败!");
|