给序列号商品的单据中的出库,做成支持批量出库的功能(在出库的时候搜索序列号支持按逗号分隔)

This commit is contained in:
jishenghua
2025-12-10 22:49:36 +08:00
parent 490454d5f7
commit c21d36715b
6 changed files with 45 additions and 9 deletions

View File

@@ -159,6 +159,14 @@
<bind name="bindName" value="'%'+name+'%'"/>
and ser.serial_number like #{bindName}
</if>
<if test="nameArray != null">
and ser.serial_number
in (
<foreach collection="nameArray" item="name" separator=",">
#{name}
</foreach>
)
</if>
<if test="depotId != null">
and ser.depot_id = #{depotId}
</if>
@@ -187,6 +195,14 @@
<bind name="bindName" value="'%'+name+'%'"/>
and ser.serial_number like #{bindName}
</if>
<if test="nameArray != null">
and ser.serial_number
in (
<foreach collection="nameArray" item="name" separator=",">
#{name}
</foreach>
)
</if>
<if test="depotId != null">
and ser.depot_id = #{depotId}
</if>
@@ -208,4 +224,4 @@
and is_sell = '0'
and ifnull(delete_flag,'0') !='1'
</select>
</mapper>
</mapper>