From d731537b22c6ececd52aa48a8d1353fa41b1e1ea Mon Sep 17 00:00:00 2001
From: lsh <lsh@163.com>
Date: 星期一, 19 八月 2024 15:15:34 +0800
Subject: [PATCH] #工作档管理的,工作档明细查询,同上品号,名称,品号拉长,有文字宽度拉长

---
 zy-asrs-wcs/src/main/resources/mapper/system/UserMapper.xml |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/zy-asrs-wcs/src/main/resources/mapper/system/UserMapper.xml b/zy-asrs-wcs/src/main/resources/mapper/system/UserMapper.xml
index 86fcc6e..6d8fef4 100644
--- a/zy-asrs-wcs/src/main/resources/mapper/system/UserMapper.xml
+++ b/zy-asrs-wcs/src/main/resources/mapper/system/UserMapper.xml
@@ -19,6 +19,7 @@
         from sys_user su
         left join sys_dept sd on su.dept_id = sd.id
         where 1=1
+        and su.deleted = 0
         <if test="param.deptId != null">
             and (FIND_IN_SET(#{param.deptId}, sd.`path`) OR sd.`id` = #{param.deptId})
         </if>
@@ -44,7 +45,7 @@
                 or su.phone like concat('%',#{param.condition},'%')
             )
         </if>
-        order by su.create_time desc
+        order by su.create_time
     </select>
 
 </mapper>

--
Gitblit v1.9.1