|
@@ -443,7 +443,8 @@ public interface XiangMuLuRuDao extends BaseMapper<ZyDetailCharge> {
|
|
|
" charge_amount=b.charge_amount, " +
|
|
|
" op_id_code=a.op_id_code, " +
|
|
|
" bill_item_code=b.bill_item_zy, " +
|
|
|
- " bill_item_name=(select name from zy_bill_item where code = b.bill_item_zy) " +
|
|
|
+ " bill_item_name=(select name from zy_bill_item where code = b.bill_item_zy)," +
|
|
|
+ " national_code " +
|
|
|
"FROM zy_charge_pattern a, " +
|
|
|
" zd_charge_item b " +
|
|
|
"WHERE (a.pattern_name = #{patternName}) " +
|
|
@@ -458,7 +459,8 @@ public interface XiangMuLuRuDao extends BaseMapper<ZyDetailCharge> {
|
|
|
" charge_amount=d.pack_retprice, " +
|
|
|
" op_id_code=a.op_id_code, " +
|
|
|
" bill_item_code=d.bill_item_zy, " +
|
|
|
- " bill_item_name=(select name from zy_bill_item where code = d.bill_item_zy) " +
|
|
|
+ " bill_item_name=(select name from zy_bill_item where code = d.bill_item_zy)," +
|
|
|
+ " national_code " +
|
|
|
"FROM zy_charge_pattern a, " +
|
|
|
" yp_base_yf b, " +
|
|
|
" yp_zd_dict d " +
|
|
@@ -499,7 +501,8 @@ public interface XiangMuLuRuDao extends BaseMapper<ZyDetailCharge> {
|
|
|
" a.yb_comment, " +
|
|
|
" exec_unit_name=b.name, " +
|
|
|
" serial='00', " +
|
|
|
- " group_no='00' " +
|
|
|
+ " group_no='00'," +
|
|
|
+ " national_code " +
|
|
|
"FROM zd_charge_item a,zd_unit_code b " +
|
|
|
"where isnull(a.del_flag,'') <> '1' and " +
|
|
|
" isnull(a.in_out_flag,'') <> '1' and " +
|
|
@@ -525,7 +528,8 @@ public interface XiangMuLuRuDao extends BaseMapper<ZyDetailCharge> {
|
|
|
" bill_item_name=(select name from zy_bill_item where code = a.bill_item_zy), " +
|
|
|
" ybbz=a.yb_comment_new, " +
|
|
|
" yblx=(select name from yp_zd_yb_type where code=a.yb_flag_new), " +
|
|
|
- " xnh=a.xnh_flag " +
|
|
|
+ " xnh=a.xnh_flag," +
|
|
|
+ " national_code " +
|
|
|
"FROM yp_zd_dict a ,yp_print_name b , " +
|
|
|
" yp_base_yf c " +
|
|
|
"where " +
|