This commit is contained in:
linfso 2025-01-06 18:58:52 +08:00
parent dd0187465c
commit 765b63a021
2 changed files with 5 additions and 5 deletions

View File

@ -147,7 +147,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<select id="selectSettlePayRecordListBySettleBillNo" parameterType="String" resultMap="EmisSettlePayRecordResult">
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 a.settle_bill_no = #{settleBillNo}
where del_flag='0' and a.settle_bill_no = #{settleBillNo}
</select>
@ -372,11 +372,11 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
</update>
<delete id="deleteEmisSettlePayRecordById" parameterType="Long">
delete from emis_settle_pay_record where id = #{id}
update emis_settle_pay_record set del_flag='1' where id = #{id}
</delete>
<delete id="deleteEmisSettlePayRecordByIds" parameterType="String">
delete from emis_settle_pay_record where id in
update emis_settle_pay_record set del_flag='1' where id in
<foreach item="id" collection="array" open="(" separator="," close=")">
#{id}
</foreach>

View File

@ -153,11 +153,11 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
</update>
<delete id="deleteEmisSettlePayRelById" parameterType="Long">
delete from emis_settle_pay_rel where id = #{id}
update emis_settle_pay_rel set del_flag='1' where id = #{id}
</delete>
<delete id="deleteEmisSettlePayRelByIds" parameterType="String">
delete from emis_settle_pay_rel where id in
update emis_settle_pay_rel set del_flag='1' where id in
<foreach item="id" collection="array" open="(" separator="," close=")">
#{id}
</foreach>