|
@ -197,14 +197,14 @@ public class PrescriptionController extends BaseController{
|
|
|
|
|
|
@RequestMapping(value = "getRecipeMasterList",method = RequestMethod.POST)
|
|
|
@ApiOperation("获取历史处方列表")
|
|
|
public Result getRecipeMasterList(@ApiParam(name="cardNo",value="病人卡号",defaultValue = "")
|
|
|
@RequestParam(value = "cardNo",required = true) String cardNo,
|
|
|
public Result getRecipeMasterList(@ApiParam(name="patientCode",value="居民code",defaultValue = "")
|
|
|
@RequestParam(value = "patientCode",required = true) String patientCode,
|
|
|
@ApiParam(name="applyTimeFrom",value="开始时间",defaultValue = "")
|
|
|
@RequestParam(value = "applyTimeFrom",required = false) String applyTimeFrom,
|
|
|
@ApiParam(name="applyTimeEnd",value="结束时间",defaultValue = "")
|
|
|
@RequestParam(value = "applyTimeEnd",required = false) String applyTimeEnd){
|
|
|
try {
|
|
|
String re = prescriptionService.getRecipeMasterList(cardNo,applyTimeFrom,applyTimeEnd);
|
|
|
String re = prescriptionService.getRecipeMasterList(patientCode,applyTimeFrom,applyTimeEnd);
|
|
|
return Result.success("获取历史处方列表!",re);
|
|
|
} catch (Exception ex) {
|
|
|
ex.printStackTrace();
|