diff --git a/xkt/src/main/resources/mapper/StoreProductDemandDetailMapper.xml b/xkt/src/main/resources/mapper/StoreProductDemandDetailMapper.xml index 40ad03239..5f52e7f20 100644 --- a/xkt/src/main/resources/mapper/StoreProductDemandDetailMapper.xml +++ b/xkt/src/main/resources/mapper/StoreProductDemandDetailMapper.xml @@ -17,7 +17,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" LEFT JOIN store_factory sf ON spd.store_factory_id = sf.id WHERE spdd.del_flag = 0 AND spdd.store_id = #{storeId} - and spdd.prod_art_num like concat('%', #{remark}, '%') + and spdd.prod_art_num like concat('%', #{prodArtNum}, '%') and sf.id = #{storeFactoryId} and sf.remark like concat('%', #{remark}, '%') and spdd.emergency = #{emergency}