diff --git a/op-modules/op-plan/src/main/resources/mapper/plan/ProOrderMapper.xml b/op-modules/op-plan/src/main/resources/mapper/plan/ProOrderMapper.xml index d37c4669..181039a5 100644 --- a/op-modules/op-plan/src/main/resources/mapper/plan/ProOrderMapper.xml +++ b/op-modules/op-plan/src/main/resources/mapper/plan/ProOrderMapper.xml @@ -45,8 +45,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" and plan_factory_code = #{planFactoryCode} and factory_code = #{factoryCode} and order_type = #{orderType} - and order_code = #{orderCode} - and prod_code = #{prodCode} + and order_code like concat('%', #{orderCode}, '%') + and prod_code like concat('%', #{prodCode}, '%') and prod_desc like concat('%', #{prodDesc}, '%') and quantity = #{quantity} and unit = #{unit}