瀏覽代碼

优化模板查询包装规格

xiaochan 2 年之前
父節點
當前提交
31367f9317

+ 2 - 2
src/main/java/thyyxxk/webserver/dao/his/zhuyuanyisheng/YiZhuLuRuDao.java

@@ -1143,8 +1143,8 @@ public interface YiZhuLuRuDao {
             "                        where yz_supply_type.supply_code = a.supply_code), " +
             "                       a.drug_quan, " +
             "                       a.instruction, " +
-            "                       a.mini_unit, " +
-            "    mini_unit_name   = (select rtrim(name) from yp_zd_unit with (NOLOCK) where code = mini_unit), " +
+            "                       b.pack_unit as                                 mini_unit,, " +
+            "    mini_unit_name   = (select rtrim(name) from yp_zd_unit with (NOLOCK) where code = b.pack_unit), " +
             "                       a.drug_weight, " +
             "                       a.drug_weight_unit, " +
             "                       a.parent_no, " +

+ 1 - 1
src/main/java/thyyxxk/webserver/entity/zhuyuanyisheng/yizhuluru/YaoPinXinXi.java

@@ -66,7 +66,7 @@ public class YaoPinXinXi {
     private Integer psFlag;
 
     /**
-     * 默认给药方式
+     * 默认频率
      */
     private String frequCode;
     private String frequCodeName;