|
|
@@ -698,30 +698,6 @@ public interface YiZhuLuRuDao {
|
|
|
List<YiZhuMingChen> composeOrders(String code, String deptCode);
|
|
|
|
|
|
|
|
|
- @Select("SELECT act_order_no, " +
|
|
|
- " order_name, " +
|
|
|
- " order_time, " +
|
|
|
- " start_time, " +
|
|
|
- " rtrim(frequ_code) frequ_code, " +
|
|
|
- " frequ_code_name = (select rtrim(comm) from yz_order_frequency where frequ_code = code), " +
|
|
|
- " rtrim(supply_code) supply_code, " +
|
|
|
- " supply_code_name = (select rtrim(supply_name) " +
|
|
|
- " from yz_supply_type " +
|
|
|
- " where yz_act_order.supply_code = yz_supply_type.supply_code)," +
|
|
|
- " group_no, " +
|
|
|
- " group_no_name = (select rtrim(group_name) " +
|
|
|
- " from yp_zd_group_name " +
|
|
|
- " where yp_zd_group_name.group_no = yz_act_order.group_no) " +
|
|
|
- "FROM yz_act_order with (NOLOCK) " +
|
|
|
- "WHERE inpatient_no = #{patNo} " +
|
|
|
- " AND admiss_times = #{times} " +
|
|
|
- " AND isnull(parent_no, 0) = 0 " +
|
|
|
- " and status_flag = '1'" +
|
|
|
- " and drug_flag <> 'd' " +
|
|
|
- " and serial <> '00' ")
|
|
|
- List<XinZhenYzActOrder> getParentOrders(String patNo, Integer times);
|
|
|
-
|
|
|
-
|
|
|
@Select("SELECT cast(rtrim(isnull(nullif(del_flag, " +
|
|
|
" ''), " +
|
|
|
" 0)) as int) as del_flag, " +
|