Browse Source

新增自卑字段

xiaochan 1 week ago
parent
commit
ea85cf86e1

+ 5 - 5
src/main/java/thyyxxk/webserver/dao/his/executeItem/ExecuteItemDao.java

@@ -39,7 +39,7 @@ public interface ExecuteItemDao {
             "                                              isnull(yz_act_occ.dose, ''))) + rtrim( " +
             "                                      ltrim( " +
             "                                              isnull(yp_zd_unit.name, ''))), " +
-            "                yz_act_occ.order_name, " +
+            "                yz_act_occ.order_name,b.self_buy, " +
             "                yz_act_occ.frequ_code, " +
             "                yz_act_occ.print_flag, " +
             "                yz_act_occ.dept_code, " +
@@ -106,7 +106,7 @@ public interface ExecuteItemDao {
             "                                            isnull(yz_act_occ.dose, ''))) + rtrim( " +
             "                                    ltrim( " +
             "                                            isnull(yz_act_occ.dose_unit, ''))), " +
-            "                yz_act_occ.order_name, " +
+            "                yz_act_occ.order_name,b.self_buy, " +
             "                yz_act_occ.frequ_code, " +
             "                yz_act_occ.print_flag, " +
             "                yz_act_occ.dept_code, " +
@@ -174,7 +174,7 @@ public interface ExecuteItemDao {
             " yz_act_occ.print_flag, " +
             " yz_act_occ.dept_code, " +
             " yz_act_occ.ward_code, " +
-            " mini_unit   = (select name from yp_zd_unit a where a.code =b.mini_unit), " +
+            " mini_unit   = (select name from yp_zd_unit a where a.code =b.mini_unit),b.self_buy, " +
             " zb = ''  " +
             " FROM " +
             " yz_act_occ, " +
@@ -241,7 +241,7 @@ public interface ExecuteItemDao {
             "                                when yz_act_occ.parent_no is not null" +
             "                                    then ' --' + yz_act_occ.order_name + '(' + yz_act_occ.specification + ')'" +
             "                                else yz_act_occ.order_name + '(' + yz_act_occ.specification + ')' end," +
-            "                yz_act_occ.frequ_code," +
+            "                yz_act_occ.frequ_code,b.self_buy," +
             "                yz_act_occ.print_flag," +
             "                yz_act_occ.dept_code," +
             "                yz_act_occ.ward_code," +
@@ -308,7 +308,7 @@ public interface ExecuteItemDao {
             "                                when yz_act_occ.parent_no is not null" +
             "                                    then ' --' + yz_act_occ.order_name + '(' + yz_act_occ.specification + ')'" +
             "                                else yz_act_occ.order_name + '(' + yz_act_occ.specification + ')' end," +
-            "                yz_act_occ.frequ_code," +
+            "                yz_act_occ.frequ_code,b.self_buy," +
             "                yz_act_occ.print_flag," +
             "                yz_act_occ.dept_code," +
             "                yz_act_occ.ward_code," +

+ 2 - 0
src/main/java/thyyxxk/webserver/entity/executeItem/ExecuteItemData.java

@@ -51,5 +51,7 @@ public class ExecuteItemData {
     private String zb;
     //只显示床号 住院号 姓名
     private Integer showFlag = 1;
+    // 医嘱标志
+    private String selfBuy;
 
 }