给序列号商品的单据中的出库,做成支持批量出库的功能(在出库的时候搜索序列号支持按逗号分隔)
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user