Browse Source

合理用药,先不给所有的医嘱,只给新开的医嘱。

xiaochan 2 years ago
parent
commit
5e882c57d4

+ 5 - 2
src/main/java/thyyxxk/webserver/service/heliyongyao/RationalUseServer.java

@@ -55,10 +55,14 @@ public class RationalUseServer {
                 .eq("a.enter_oper", TokenUtil.getTokenUserId())
                 .eq("isnull(a.self_buy,'0')", "0")
                 .ne("a.serial", "00");
+
         XinZhenYiZhu patInfo = orderDao.queryPatientInfo(patNo, times);
+
         // 获取新开的医嘱
         patInfo.setList(orderDao.selectOrderNo(qw));
-        List<XinZhenYzActOrder> historicalData = dao.getHistoricalMedicalOrders(patNo, times);
+        // 历史医嘱先不给,影响我这里开医嘱
+        // List<XinZhenYzActOrder> historicalData = dao.getHistoricalMedicalOrders(patNo, times);
+        List<XinZhenYzActOrder> historicalData = new ArrayList<>();
 
         JSONObject js = verify(patInfo, historicalData);
         return ResultVoUtil.success(js);
@@ -102,7 +106,6 @@ public class RationalUseServer {
      * 添加药品编码
      *
      * @param list
-     * @param yp
      * @param drugList
      */
     private static void addTheDrugCode(List<XinZhenYzActOrder> list, List<String> drugList) {

+ 1 - 1
src/main/java/thyyxxk/webserver/service/zhuyuanyisheng/YiZhuLuRuServer.java

@@ -1212,7 +1212,7 @@ public class YiZhuLuRuServer {
     }
 
     /**
-     * 确认出院带药医嘱
+     * 确认 出院带药医嘱
      *
      * @param patNo 住院号
      * @param times 住院次数