|
@@ -6,6 +6,7 @@ import cn.hnthyy.thmz.entity.his.mz.Employee;
|
|
|
import cn.hnthyy.thmz.entity.his.mz.MzPatientMi;
|
|
|
import cn.hnthyy.thmz.entity.his.mz.MzZyReq;
|
|
|
import cn.hnthyy.thmz.enums.GenderEnum;
|
|
|
+import cn.hnthyy.thmz.enums.ZyReqEnum;
|
|
|
import cn.hnthyy.thmz.service.his.RegionService;
|
|
|
import cn.hnthyy.thmz.service.his.ResponceTypeService;
|
|
|
import cn.hnthyy.thmz.service.his.mz.EmployeeService;
|
|
@@ -52,7 +53,7 @@ public class ZyReqController {
|
|
|
resultMap.put("message", "查询病人的住院证失败,病人id为空");
|
|
|
return resultMap;
|
|
|
}
|
|
|
- List<MzZyReq> list = mzZyReqService.queryMzZyReqByPatientId(patientId);
|
|
|
+ List<MzZyReq> list = mzZyReqService.queryMzZyReqByPatientId(patientId,ZyReqEnum.CONFIRMED.code);
|
|
|
if (list == null || list.size() == 0) {
|
|
|
resultMap.put("code", -1);
|
|
|
resultMap.put("message", "查询病人的住院证失败,当前病人没有对应的住院证");
|
|
@@ -87,7 +88,7 @@ public class ZyReqController {
|
|
|
resultMap.put("message", "打印入院通知单失败,病人id为空");
|
|
|
return resultMap;
|
|
|
}
|
|
|
- List<MzZyReq> list = mzZyReqService.queryMzZyReqByPatientId(patientId);
|
|
|
+ List<MzZyReq> list = mzZyReqService.queryMzZyReqByPatientId(patientId,null);
|
|
|
if (list == null || list.size() == 0) {
|
|
|
resultMap.put("code", -1);
|
|
|
resultMap.put("message", "打印入院通知单失败,当前病人没有对应的住院证");
|