From cac939bb4469b181844f0537fc6866fc23da9054 Mon Sep 17 00:00:00 2001
From: “djh” <“3298565835@qq.com”>
Date: 星期三, 03 十二月 2025 16:20:34 +0800
Subject: [PATCH] 修改

---
 multi-system/src/main/resources/mapper/system/StandingBookMapper.xml |    8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/multi-system/src/main/resources/mapper/system/StandingBookMapper.xml b/multi-system/src/main/resources/mapper/system/StandingBookMapper.xml
index 758422c..cc8239e 100644
--- a/multi-system/src/main/resources/mapper/system/StandingBookMapper.xml
+++ b/multi-system/src/main/resources/mapper/system/StandingBookMapper.xml
@@ -6,12 +6,16 @@
 
 
     <select id="getStandingBooks" parameterType="com.gkhy.exam.system.domain.StandingBook" resultType="com.gkhy.exam.system.domain.StandingBook">
-            select a.*,b.dept_name as deptName from standing_book a
+            select a.*,b.dept_name as deptName,c.name as personResponsibleName from standing_book a
                 left join sys_dept b on a.dept_id = b.dept_id
-        where del_flag = 0
+                left join sys_user c on a.person_responsible = c.id
+        where a.del_flag = 0
         <if test="companyId != null">
             and a.company_id = #{companyId}
         </if>
+        <if test="deviceType != null">
+            and a.device_type = #{deviceType}
+        </if>
         order by a.create_time desc
     </select>
 

--
Gitblit v1.9.2