浏览代码

医嘱执行长期、临时

zengfanwei 1 周之前
父节点
当前提交
660cab9e27
共有 1 个文件被更改,包括 12 次插入0 次删除
  1. 12 0
      src/main/java/thyyxxk/webserver/dao/his/executeItem/YzExecuteSignDao.java

+ 12 - 0
src/main/java/thyyxxk/webserver/dao/his/executeItem/YzExecuteSignDao.java

@@ -51,6 +51,12 @@ public interface YzExecuteSignDao {
             " <if test=\" startBedNo !=null and  startBedNo !='' \">" +
             "  AND zy_actpatient.bed_no &gt;= cast(#{startBedNo} as float)\n" +
             " </if>" +
+            " <if test=\"frequCode == 'ALWAYS'\">" +
+            "  AND yz_act_order.frequ_code != 'ONCE'\n" +
+            " </if>" +
+            " <if test=\"frequCode == 'ONCE'\">" +
+            "  AND yz_act_order.frequ_code = 'ONCE'\n" +
+            " </if>" +
             " <if test=\" endBedNo !=null and  endBedNo !='' \">" +
             "  AND zy_actpatient.bed_no &lt;= cast(#{endBedNo} as float)\n" +
             " </if>" +
@@ -78,6 +84,12 @@ public interface YzExecuteSignDao {
             " <if test=\" startBedNo !=null and  startBedNo !='' \">" +
             "  AND zy_actpatient.bed_no &gt;= cast(#{startBedNo} as float)\n" +
             " </if>" +
+            " <if test=\"frequCode == 'ALWAYS'\">" +
+            "  AND yz_act_order.frequ_code != 'ONCE'\n" +
+            " </if>" +
+            " <if test=\"frequCode == 'ONCE'\">" +
+            "  AND yz_act_order.frequ_code = 'ONCE'\n" +
+            " </if>" +
             " <if test=\" endBedNo !=null and  endBedNo !='' \">" +
             "  AND zy_actpatient.bed_no &lt;= cast(#{endBedNo} as float)\n" +
             " </if>" +