This commit is contained in:
linfso 2025-06-17 14:01:26 +08:00
parent 0d8ae4bb1c
commit 209a22439c

View File

@ -187,7 +187,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 `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>