From d4e35652a8a879c9e53016eeb1e3e9018c716502 Mon Sep 17 00:00:00 2001
From: Administrator <admin>
Date: Thu, 12 Aug 2021 10:08:55 +0800
Subject: [PATCH] 用户新增字段是否培训报名,培训公司查询接口修改

---
 src/main/java/org/springblade/modules/information/mapper/InformationMapper.xml |   12 ++++--------
 1 files changed, 4 insertions(+), 8 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 c17c570..fd32991 100644
--- a/src/main/java/org/springblade/modules/information/mapper/InformationMapper.xml
+++ b/src/main/java/org/springblade/modules/information/mapper/InformationMapper.xml
@@ -24,6 +24,9 @@
         <result column="departmentid" property="departmentid"/>
         <result column="stats" property="stats"/>
         <result column="jurisdiction" property="jurisdiction"/>
+        <result column="representativecell" property="representativecell"/>
+        <result column="contacts" property="contacts"/>
+        <result column="contactscell" property="contactscell"/>
     </resultMap>
 
 
@@ -172,20 +175,13 @@
             blade_dept bd
         on
             si.departmentid = bd.id
-        left join
-            sys_train_exam ste
-        on
-            ste.dept_id = bd.id
         where 1=1
-        and ste.audit_status = 1
+        and bd.dept_category = 3
         <if test="information.deptName!=null and information.deptName!=''">
             and bd.dept_name like concat(concat('%', #{information.deptName}),'%')
         </if>
         <if test="information.representative!=null and information.representative!=''">
             and representative like concat(concat('%', #{information.representative}),'%')
-        </if>
-        <if test="information.stats!=null and information.stats!=''">
-            and stats=#{stats}
         </if>
         <if test="information.jurisdiction!=null and information.jurisdiction!=''">
             and si.jurisdiction=#{jurisdiction}

--
Gitblit v1.9.3