diff --git a/emis-biz/src/main/resources/mapper/EmisTransPlanRuleMapper.xml b/emis-biz/src/main/resources/mapper/EmisTransPlanRuleMapper.xml index 6c2a77dc8..66ad527fa 100644 --- a/emis-biz/src/main/resources/mapper/EmisTransPlanRuleMapper.xml +++ b/emis-biz/src/main/resources/mapper/EmisTransPlanRuleMapper.xml @@ -59,8 +59,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" and ( FIND_IN_SET(#{productType},r.product_type) ) - and CONCAT(',', r.supplier_code, ',') - REGEXP CONCAT(',(', REPLACE(#{supplierCode}, ',', '|'), '),') + + and FIND_IN_SET(#{code}, r.supplier_code) + order by id desc