Преглед изворни кода

医嘱执行长期、临时

zengfanwei пре 1 недеља
родитељ
комит
660cab9e27

+ 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>" +