|
@@ -107,6 +107,11 @@ public interface SiMzDao {
|
|
|
"drugName=(case when group_no='00' then " +
|
|
|
"(select name from zd_charge_item a where a.code=charge_item_code) else " +
|
|
|
"(select top 1 name from yp_zd_dict a where a.code=charge_item_code) end)," +
|
|
|
+ "drugUnit=(case when group_no='00' then " +
|
|
|
+ "(select rtrim(charge_unit) from zd_charge_item a where a.code=charge_item_code) else " +
|
|
|
+ "(select rtrim(name) from yp_zd_unit a where a.code=charge_item_code) end)," +
|
|
|
+ "specification=(case when group_no='00' then '' else " +
|
|
|
+ "(select rtrim(specification) from yp_zd_dict a where a.code=charge_item_code) end)," +
|
|
|
"ybComment=(case when group_no='00' then null else " +
|
|
|
"(select max(yb_comment_new) from yp_zd_dict where code=charge_item_code) end)," +
|
|
|
"nationalCode=(case when group_no='00' then " +
|