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