From 7aad06fedc12f0183734088fa44c929ac6ff42b3 Mon Sep 17 00:00:00 2001
From: yuan <123@>
Date: 星期六, 10 十月 2026 11:54:01 +0800
Subject: [PATCH] feat: 增加多个查询的排序功能以优化数据检索

---
 src/main/resources/mapper/warehouse/WarehouseGoodsShelvesMapper.xml |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/main/resources/mapper/warehouse/WarehouseGoodsShelvesMapper.xml b/src/main/resources/mapper/warehouse/WarehouseGoodsShelvesMapper.xml
index 8493e2d..d708f69 100644
--- a/src/main/resources/mapper/warehouse/WarehouseGoodsShelvesMapper.xml
+++ b/src/main/resources/mapper/warehouse/WarehouseGoodsShelvesMapper.xml
@@ -1,4 +1,4 @@
-<?xml version="1.0" encoding="UTF-8" ?>
+锘�<?xml version="1.0" encoding="UTF-8" ?>
 <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
         "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
 <mapper namespace="com.ruoyi.warehouse.mapper.WarehouseGoodsShelvesMapper">
@@ -19,7 +19,7 @@
         <where>
             1=1
             <if test="warehouseGoodsShelves.goodsShelvesName != null and warehouseGoodsShelves.goodsShelvesName != ''">
-                and wgs.goods_shelves_name like concat('%',#{warehouseGoodsShelves.goodsShelvesName},'%')
+                and wgs.name like concat('%',#{warehouseGoodsShelves.goodsShelvesName},'%')
             </if>
             <if test="warehouseGoodsShelves.warehouseId != null">
                 and wgs.warehouse_id = #{warehouseGoodsShelves.warehouseId}
@@ -35,7 +35,7 @@
         <where>
             1=1
             <if test="warehouseGoodsShelves.goodsShelvesName != null and warehouseGoodsShelves.goodsShelvesName != ''">
-                and goods_shelves_name like concat('%',#{warehouseGoodsShelves.goodsShelvesName},'%')
+                and wgs.name like concat('%',#{warehouseGoodsShelves.goodsShelvesName},'%')
             </if>
             <if test="warehouseGoodsShelves.warehouseId != null">
                 and warehouse_id = #{warehouseGoodsShelves.warehouseId}

--
Gitblit v1.9.3