md
This commit is contained in:
parent
5c78a388e9
commit
56a403da6a
@ -476,17 +476,30 @@
|
||||
from emis_tms_scan_record a
|
||||
<where>
|
||||
del_flag='0'
|
||||
<if test="billCode != null and billCode != ''">
|
||||
<if test="billCode != null and billCode != '' and params.billCodeSortList==null ">
|
||||
bill_code=#{billCode}
|
||||
</if>
|
||||
|
||||
<if test="params.billCodeSortList != null and params.billCodeSortList.size() > 1 ">
|
||||
and bill_code in
|
||||
<foreach collection="params.billCodeSortList" item="item" open="(" separator="," close=")">
|
||||
#{item}
|
||||
</foreach>
|
||||
</if>
|
||||
|
||||
<if test="blSubBill != null and blSubBill == 1 ">
|
||||
and main_bill_code in
|
||||
<foreach collection="params.billCodeSortList" item="item" open="(" separator="," close=")">
|
||||
#{item}
|
||||
</foreach>
|
||||
|
||||
<if test="billCode != null and billCode != '' and params.billCodeSortList==null ">
|
||||
main_bill_code=#{billCode}
|
||||
</if>
|
||||
|
||||
<if test="params.billCodeSortList != null and params.billCodeSortList.size() > 1 ">
|
||||
and main_bill_code in
|
||||
<foreach collection="params.billCodeSortList" item="item" open="(" separator="," close=")">
|
||||
#{item}
|
||||
</foreach>
|
||||
</if>
|
||||
|
||||
</if>
|
||||
|
||||
</where>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user