md
This commit is contained in:
parent
01a21cf332
commit
b71aff1dad
@ -313,13 +313,13 @@
|
||||
from emis_tms_scan_record a
|
||||
<where>
|
||||
del_flag='0'
|
||||
<if test="billCode != null and billCode != ''"> and ( FIND_IN_SET(`bill_code`,#{billCode}) or FIND_IN_SET(`main_bill_code`,#{billCode}) or bill_code like concat('%', #{billCode}, '%') ) </if>
|
||||
<if test="billCode != null and billCode != ''">
|
||||
and ( FIND_IN_SET(`bill_code`,#{billCode}) )
|
||||
</if>
|
||||
<if test="blSubBill != null and blSubBill == 1 ">
|
||||
and bl_sub_bill='1'
|
||||
</if>
|
||||
<if test="blSubBill != null and blSubBill == 0 ">
|
||||
and bl_sub_bill='0'
|
||||
or FIND_IN_SET(`main_bill_code`,#{billCode})
|
||||
</if>
|
||||
|
||||
</where>
|
||||
ORDER BY
|
||||
<if test="params.orderSnSortList != null and params.orderSnSortList.size >0 ">
|
||||
|
||||
Loading…
Reference in New Issue
Block a user