Merge pull request 'demand: tms-运输管理-组批次规则维护-查询组批次规则支持根据多个供应商查询' (#324) from develop into master

Reviewed-on: http://git.xdadan.loc/tanex/emis-service/pulls/324
This commit is contained in:
heyu 2026-03-10 16:45:58 +08:00
commit 2da4b460e2

View File

@ -58,7 +58,10 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
AND l.trans_manager like concat('%', #{transManager}, '%')
</if>
<if test="productType != null and productType != ''"> and ( FIND_IN_SET(#{productType},r.product_type) )</if>
<if test="supplierCode != null and supplierCode != ''"> and ( FIND_IN_SET(#{supplierCode},r.supplier_code) )</if>
<if test="supplierCode != null and supplierCode != ''">
and CONCAT(',', r.supplier_code, ',')
REGEXP CONCAT(',(', REPLACE(#{supplierCode}, ',', '|'), '),')
</if>
</where>
order by id desc
</select>