md
This commit is contained in:
parent
e9e19c1ba9
commit
0f5e171a46
@ -59,7 +59,7 @@
|
||||
del_flag='0'
|
||||
<if test="id != null "> and id = #{id}</if>
|
||||
<if test="batchNo != null and batchNo != ''"> and ( FIND_IN_SET(`batch_no`,#{batchNo}) or batch_no like concat('%', #{batchNo}, '%') )</if>
|
||||
<if test="batchName != null and batchName != ''"> and ( batch_name like concat('%', #{batchName}, '%') or batch_no like concat('%', #{batchName}, '%') )</if>
|
||||
<if test="batchName != null and batchName != ''"> and ( batch_name like concat('%', #{batchName}, '%') )</if>
|
||||
<if test="batchDate != null "> and batch_date = #{batchDate}</if>
|
||||
<if test="transLineType != null and transLineType != ''"> and trans_line_type=#{transLineType}</if>
|
||||
<if test="productType != null and productType != ''"> and product_type=#{productType}</if>
|
||||
@ -93,6 +93,10 @@
|
||||
<if test="createSite != null and createSite != ''"> and create_site=#{createSite}</if>
|
||||
<if test="updateSite != null and updateSite != ''"> and update_site=#{updateSite}</if>
|
||||
|
||||
<if test="searchValue != null and searchValue != '' ">
|
||||
and ( batch_name like concat('%', #{searchValue},'%') or car_no like concat('%', #{searchValue},'%') )
|
||||
</if>
|
||||
|
||||
<if test="params.billCode != null and params.billCode != ''">
|
||||
and batch_no in (select batch_no from emis_tms_site_batch_dtl where del_flag='0' and bill_code=#{params.billCode})
|
||||
</if>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user