From 0761da96aae497ee9a0b3c5c7f1edfeb87c497ed Mon Sep 17 00:00:00 2001 From: linfso Date: Tue, 16 Jul 2024 06:57:03 +0800 Subject: [PATCH] md --- emis-wms/src/main/resources/mapper/WmsWarehouseMapper.xml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/emis-wms/src/main/resources/mapper/WmsWarehouseMapper.xml b/emis-wms/src/main/resources/mapper/WmsWarehouseMapper.xml index 248110eff..448cd992f 100644 --- a/emis-wms/src/main/resources/mapper/WmsWarehouseMapper.xml +++ b/emis-wms/src/main/resources/mapper/WmsWarehouseMapper.xml @@ -50,7 +50,7 @@ and id = #{id} - and code like concat('%', #{code}, '%') + and code=#{code} and name like concat('%', #{name}, '%') and inteface_type like concat('%', #{intefaceType}, '%') and warehouse_type like concat('%', #{warehouseType}, '%') @@ -84,6 +84,10 @@ and update_by like concat('%', #{updateBy}, '%') and update_time = #{updateTime} and remark like concat('%', #{remark}, '%') + + + and name like concat('%', #{searchValue}, '%') + order by create_time desc