소스 검색

医嘱执行长期、临时

zengfanwei 2 주 전
부모
커밋
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>" +