From 77a1f88ba606d78cd0079ae28a215c7f44a4fddb Mon Sep 17 00:00:00 2001
From: puzhibing <393733352@qq.com>
Date: 星期三, 15 一月 2025 10:15:23 +0800
Subject: [PATCH] 修改bug

---
 ruoyi-service/ruoyi-order/src/main/java/com/ruoyi/order/service/impl/OrderServiceImpl.java |    2 +-
 ruoyi-service/ruoyi-other/src/main/resources/mapper/other/TechnicianMapper.xml             |    6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/ruoyi-service/ruoyi-order/src/main/java/com/ruoyi/order/service/impl/OrderServiceImpl.java b/ruoyi-service/ruoyi-order/src/main/java/com/ruoyi/order/service/impl/OrderServiceImpl.java
index 579cf54..02537dc 100644
--- a/ruoyi-service/ruoyi-order/src/main/java/com/ruoyi/order/service/impl/OrderServiceImpl.java
+++ b/ruoyi-service/ruoyi-order/src/main/java/com/ruoyi/order/service/impl/OrderServiceImpl.java
@@ -256,7 +256,7 @@
         Order order = orderMapper.selectById(id);
         boolean check = check(order, shopId, loginUserApplet.getUserid());
         if (!check){
-            throw new ServiceException("订单不存在");
+            throw new ServiceException("该订单与当前扫码门店不一致");
         }
 
         // 售后设置
diff --git a/ruoyi-service/ruoyi-other/src/main/resources/mapper/other/TechnicianMapper.xml b/ruoyi-service/ruoyi-other/src/main/resources/mapper/other/TechnicianMapper.xml
index 640c729..f74199c 100644
--- a/ruoyi-service/ruoyi-other/src/main/resources/mapper/other/TechnicianMapper.xml
+++ b/ruoyi-service/ruoyi-other/src/main/resources/mapper/other/TechnicianMapper.xml
@@ -18,7 +18,7 @@
           AND tt.del_flag = 0
           AND tt.shop_id = #{shopId}
         <if test="name != null and name != ''">
-            AND tt.`name` LIKE concat('%', #{name}, '%')
+            AND tt.name LIKE concat('%', #{name}, '%')
         </if>
         GROUP BY
             tt.id,
@@ -26,10 +26,10 @@
             tt.introduction,
             tt.home_picture
         <if test="point != null and point == 1">
-        order by ttsc.score DESC
+        order by score DESC
         </if>
         <if test="point != null and point == 2">
-        order by ttsc.score
+        order by score
         </if>
     </select>
     <select id="selectTechnicianDetail" resultType="com.ruoyi.other.vo.TechnicianDetailVO">

--
Gitblit v1.7.1