diff --git a/emis-biz/src/main/resources/mapper/EmisTransPlanRuleMapper.xml b/emis-biz/src/main/resources/mapper/EmisTransPlanRuleMapper.xml index 6be50bc18..e7ef77c15 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 @@ -96,11 +97,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" AND l.trans_manager like concat('%', #{transManager}, '%') and ( FIND_IN_SET(#{productType},r.product_type) ) - - - and FIND_IN_SET(#{code}, r.supplier_code) - - + and ( FIND_IN_SET(#{supplierCode},r.supplier_code) ) order by id desc