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