|
@@ -1005,7 +1005,7 @@ public interface XiangMuLuRuDao extends BaseMapper<ZyDetailCharge> {
|
|
|
@Select("select charge_code_mx,b.name from zy_detail_charge a, yp_zd_dict b " +
|
|
|
"where trans_flag_yb not in (1,2) and charge_code like 'BILL%' " +
|
|
|
" and isnull(b.national_code,'') = '' and inpatient_no = #{inpatientNo} and admiss_times = #{admissTimes} and ledger_sn = #{ledger} " +
|
|
|
- "and a.infant_flag = #{infantFlag} and a.ori_detail_sn is null " +
|
|
|
+ "and a.infant_flag = #{infantFlag} " +
|
|
|
" and a.charge_code_mx = b.code " +
|
|
|
"group by charge_code_mx, b.name")
|
|
|
List<WeiGuiFeiYongFenXi> weiGuiYaoPin(@Param("inpatientNo") String inpatientNo,
|
|
@@ -1017,7 +1017,7 @@ public interface XiangMuLuRuDao extends BaseMapper<ZyDetailCharge> {
|
|
|
@Select("select charge_code_mx,b.name from zy_detail_charge a, zd_charge_item b " +
|
|
|
"where trans_flag_yb not in (1,2) and charge_code not like 'BILL%' " +
|
|
|
" and isnull(b.national_code,'') = '' and inpatient_no = #{inpatientNo} and admiss_times = #{admissTimes} and ledger_sn = #{ledger} " +
|
|
|
- " and a.infant_flag = #{infantFlag} and a.ori_detail_sn is null " +
|
|
|
+ " and a.infant_flag = #{infantFlag} " +
|
|
|
" and a.charge_code_mx = b.code " +
|
|
|
"group by charge_code_mx, b.name")
|
|
|
List<WeiGuiFeiYongFenXi> weiGuiXiangMu(@Param("inpatientNo") String inpatientNo,
|