|
@ -79,7 +79,7 @@ public class PatientPrescriptionInfoController extends BaseController {
|
|
|
@ApiOperation(value = "获取长处方详细信息")
|
|
|
public String getPrescription(@RequestParam(required = true)@ApiParam(name="code",value="处方CODE")String code){
|
|
|
try {
|
|
|
return write(200, "查询成功!", "data", prescriptionInfoService.getPrescription(code,getUID()));
|
|
|
return write(200, "查询成功!", "data", prescriptionInfoService.getPrescription(code,getRepUID()));
|
|
|
} catch (Exception e) {
|
|
|
error(e);
|
|
|
return error(-1, "查询失败!");
|