This commit is contained in:
linfso 2025-06-17 14:00:22 +08:00
parent 0ba3afb5a1
commit 0d8ae4bb1c

View File

@ -112,7 +112,7 @@
<where>
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="batchNo != null and batchNo != ''"> and FIND_IN_SET(`batch_no`,#{batchNo})</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>