This commit is contained in:
linfso 2025-05-07 14:43:03 +08:00
parent 873cdfbe7d
commit af44502b1d

View File

@ -181,7 +181,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
select id, pay_id, pay_type, rec_type, pay_man, pay_man_code, settle_bill_no, bl_audit, audit_date, audit_man_code, audit_site_code, customer_code, customer_name, pay_money, pay_status, pay_status_desc, break_type, break_reason, break_emp_code, rec_man_code, settle_type, refund_date, refund_man_code, refund_seq, refund_mode, refund_money, refund_reason, refund_remark, refund_op_man_code, refund_register_site_code, refund_register_man_code, satisfy_money, satisfy_reason, allowance_money, allowance_reason, deduction_money, deduction_reason, other_money, other_reason, trade_date, remark, del_flag, create_by, create_time, update_by, update_time, create_site, update_site
from emis_settle_pay_record a
where del_flag='0' and pay_id in(
select pay_id from emis_settle_pay_rel espr where espr.del_flag='0' and espr.settle_bill_no = #{settleBillNo}
select pay_id from emis_settle_pay_bill_rel espbr where espbr.del_flag='0' and espbr.settle_bill_no = #{settleBillNo}
)
</select>