demand: TMS系统 - 客户账单管理 - 月结账单核销 - 运单收款明细查询重复数据问题修复
committer: heyu
This commit is contained in:
parent
aa69391136
commit
8e9b75a875
@ -32,10 +32,11 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|||||||
a.update_time,
|
a.update_time,
|
||||||
a.create_site,
|
a.create_site,
|
||||||
a.update_site,
|
a.update_site,
|
||||||
r.apply_seq_no
|
(select r.apply_seq_no
|
||||||
|
from emis_settle_pay_invoice_rel r
|
||||||
|
where r.pay_id = a.pay_id and r.del_flag = '0'
|
||||||
|
limit 1) as apply_seq_no
|
||||||
from emis_settle_pay_rel a
|
from emis_settle_pay_rel a
|
||||||
left join emis_settle_pay_invoice_rel r
|
|
||||||
on r.pay_id = a.pay_id and r.del_flag = '0'
|
|
||||||
</sql>
|
</sql>
|
||||||
|
|
||||||
<select id="selectEmisSettlePayRelList" parameterType="EmisSettlePayRel" resultMap="EmisSettlePayRelWithSubBillResult">
|
<select id="selectEmisSettlePayRelList" parameterType="EmisSettlePayRel" resultMap="EmisSettlePayRelWithSubBillResult">
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user