|
|
@@ -641,27 +641,13 @@ public class YfWardPrescriptionServiceImpl implements YfWardPrescriptionService
|
|
|
resultMap.put("data", ypZyPatients);
|
|
|
}
|
|
|
}
|
|
|
-
|
|
|
- // 发药记录存根日志,以备查验记录
|
|
|
- if(yyzos != null && yyzos.size() > 0){
|
|
|
- // 目前开放长期,临时医嘱单存放日志
|
|
|
- if("5".equals(yyzos.get(0).getPageClass()) || "6".equals(yyzos.get(0).getPageClass())){
|
|
|
- List<YzYpZyOrder> yzYpList = new ArrayList<>(yyzos);
|
|
|
- try {
|
|
|
- callSaveSendOrPrintYpYzDetail(yzYpList, "1");
|
|
|
- } catch (Exception e) {
|
|
|
- log.error("发药记录存根日志出错--1");
|
|
|
- e.printStackTrace();
|
|
|
- }
|
|
|
- }
|
|
|
- }
|
|
|
resultMap.put("code", 0);
|
|
|
resultMap.put("message", "保存领药单发药数据成功");
|
|
|
return resultMap;
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
- * @description: 药品发药医嘱记录表: 记录发药或打印时药品明细信息
|
|
|
+ * @description: 药品发药医嘱记录表: 记录发药或打印时药品明细信息(废除)
|
|
|
* @author: hsh
|
|
|
* @date: 2023/8/2 10:15
|
|
|
* @param: [yzYpList, status] status: 1 发药 2 打印
|
|
|
@@ -1163,26 +1149,6 @@ public class YfWardPrescriptionServiceImpl implements YfWardPrescriptionService
|
|
|
i--;
|
|
|
}
|
|
|
}
|
|
|
-
|
|
|
- // 保存口服药打印查询记录信息
|
|
|
- if(yfWardVos.size() > 0){
|
|
|
- // 目前开放长期,临时医嘱单存放日志
|
|
|
- if("5".equals(yfWardVos.get(0).getPageClass()) || "6".equals(yfWardVos.get(0).getPageClass())){
|
|
|
- List<YzYpZyOrder> yzYpList = new ArrayList<>();
|
|
|
- for (YfWardVo vo: yfWardVos) {
|
|
|
- YzYpZyOrder yz = new YzYpZyOrder();
|
|
|
- BeanUtils.copyProperties(vo, yz);
|
|
|
- yzYpList.add(yz);
|
|
|
- }
|
|
|
- try {
|
|
|
- callSaveSendOrPrintYpYzDetail(yzYpList, "2");
|
|
|
- } catch (Exception e) {
|
|
|
- log.error("发药打印存根日志出错--2");
|
|
|
- e.printStackTrace();
|
|
|
- }
|
|
|
- }
|
|
|
- }
|
|
|
-
|
|
|
return yfWardVos;
|
|
|
}
|
|
|
|