demand: tms-运输管理-组批次规则维护-查询组批次规则支持根据多个供应商查询,传多个供应商必须是忽略顺序全包含
This commit is contained in:
parent
f8fee6af40
commit
23e1173484
@ -59,7 +59,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|||||||
</if>
|
</if>
|
||||||
<if test="productType != null and productType != ''"> and ( FIND_IN_SET(#{productType},r.product_type) )</if>
|
<if test="productType != null and productType != ''"> and ( FIND_IN_SET(#{productType},r.product_type) )</if>
|
||||||
<if test="supplierCode != null and supplierCode != ''">
|
<if test="supplierCode != null and supplierCode != ''">
|
||||||
<foreach item="code" collection="supplierCode.replace(' ', '').split(',')">
|
<foreach item="code" collection="supplierCode.split(',')">
|
||||||
and FIND_IN_SET(#{code}, r.supplier_code)
|
and FIND_IN_SET(#{code}, r.supplier_code)
|
||||||
</foreach>
|
</foreach>
|
||||||
</if>
|
</if>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user