demand: TMS系统 - 客户账单管理 - 财务开票处理 - 已开票 T7080300415602 按照单号查询 查询的数据与单号不相关
committer: heyu
This commit is contained in:
parent
f421fecbd2
commit
eac982b6ea
@ -151,12 +151,8 @@
|
||||
<if test="params.billCode != null and params.billCode != ''">
|
||||
|
||||
and EXISTS(
|
||||
select 1 from emis_settle_bill x2,emis_settle_invoice_bill_rel x3,emis_settle_sub_bill x4
|
||||
where x2.del_flag = '0' and x3.del_flag = '0' and x4.del_flag='0'
|
||||
and a.apply_seq_no=x3.apply_seq_no
|
||||
and x2.settle_bill_no=x3.settle_bill_no
|
||||
and x4.settle_bill_no=x2.settle_bill_no
|
||||
and FIND_IN_SET(x4.`bill_code`,#{params.billCode})
|
||||
select 1 from emis_settle_invoice_rel rel
|
||||
where rel.del_flag = '0' and rel.bill_no=#{params.billCode}
|
||||
)
|
||||
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user