|
@@ -290,12 +290,14 @@ public interface YiZhuLuRuDao {
|
|
|
" order_code =a.code, " +
|
|
|
" order_name =a.name, " +
|
|
|
" drug_specification=a.specification, " +
|
|
|
- " order_type =case a.infusion_flag " +
|
|
|
- " when '1' then 'i' " +
|
|
|
- " else " +
|
|
|
- " (case " +
|
|
|
- " when a.code >= '30000' and a.code < '50000' then 'z' " +
|
|
|
- " else 'd' end) end, " +
|
|
|
+ " order_type =case a.infusion_flag " +
|
|
|
+ " when '1' then 'i' " +
|
|
|
+ " else (case categories_flag " +
|
|
|
+ " when '0' " +
|
|
|
+ " then 'd' " +
|
|
|
+ " else 'z' " +
|
|
|
+ " end) " +
|
|
|
+ " end, " +
|
|
|
" parent_code=null, " +
|
|
|
" exclu_group_type=null, " +
|
|
|
" discription=case a.infusion_flag " +
|
|
@@ -674,7 +676,7 @@ public interface YiZhuLuRuDao {
|
|
|
|
|
|
|
|
|
@Select("select " +
|
|
|
- " /* 毒麻标志 */ drug_flag, " +
|
|
|
+ " drug_flag, categories_flag," +
|
|
|
" a.serial, " +
|
|
|
" /* 医保自费 */ " +
|
|
|
" cast(isnull(NULLIF(self_flag_yb, " +
|