From 5c2d7fcc8450e02fd51ea6a20e34567068c7f31f Mon Sep 17 00:00:00 2001
From: zengh <123456>
Date: Fri, 27 Aug 2021 21:08:01 +0800
Subject: [PATCH] 成绩统计

---
 src/main/java/org/springblade/modules/information/mapper/InformationMapper.xml |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/main/java/org/springblade/modules/information/mapper/InformationMapper.xml b/src/main/java/org/springblade/modules/information/mapper/InformationMapper.xml
index c5d8228..5a0d8f2 100644
--- a/src/main/java/org/springblade/modules/information/mapper/InformationMapper.xml
+++ b/src/main/java/org/springblade/modules/information/mapper/InformationMapper.xml
@@ -157,7 +157,7 @@
         WHERE u.examination_type = 1
         GROUP BY u.dept_id,u.jurisdiction
         ) B ON A.dept_id = B.dept_id
-        <if test="jurisdiction!=null and jurisdiction==''">
+        <if test="jurisdiction!=null and jurisdiction=='' and jurisdiction!='1123598813738675201">
             WHERE A.jurisdiction = #{jurisdiction}
         </if>
         <if test="deptid!=null and deptid==''">
@@ -180,7 +180,7 @@
         WHERE role_id = '1412226235153731586' AND `status`=1 AND is_deleted=0
         AND hold = 2
         GROUP BY dept_id,jurisdiction) B ON A.dept_id = B.dept_id
-        <if test="jurisdiction!=null and jurisdiction==''">
+        <if test="jurisdiction!=null and jurisdiction=='' and jurisdiction!='1123598813738675201">
             WHERE A.jurisdiction = #{jurisdiction}
         </if>
         <if test="deptid!=null and deptid==''">

--
Gitblit v1.9.3