From 2019d3ea4088eae51b5d52a2f6245841deb26781 Mon Sep 17 00:00:00 2001
From: zhangfeng <1603559716@qq.com>
Date: 星期三, 19 七月 2023 15:05:43 +0800
Subject: [PATCH] 用户以及要素部分修改

---
 src/main/java/com/gk/hotwork/Mapper/mybatis/UserInfoMapper.xml |   11 ++++++++---
 1 files changed, 8 insertions(+), 3 deletions(-)

diff --git a/src/main/java/com/gk/hotwork/Mapper/mybatis/UserInfoMapper.xml b/src/main/java/com/gk/hotwork/Mapper/mybatis/UserInfoMapper.xml
index 75ec0fb..c456458 100644
--- a/src/main/java/com/gk/hotwork/Mapper/mybatis/UserInfoMapper.xml
+++ b/src/main/java/com/gk/hotwork/Mapper/mybatis/UserInfoMapper.xml
@@ -65,6 +65,11 @@
     <result column="crossy" property="crossY" jdbcType="DECIMAL" />
     <result column="issecurityofficer" property="issecurityofficer" jdbcType="TINYINT" />
     <result column="updateat" property="updateat" jdbcType="TIMESTAMP" />
+    <result column="executive_level" property="executiveLevel" jdbcType="INTEGER" />
+    <result column="province" property="province" jdbcType="VARCHAR" />
+    <result column="city" property="city" jdbcType="VARCHAR" />
+    <result column="county" property="county" jdbcType="VARCHAR" />
+    <result column="professional_level" property="professionalLevel" jdbcType="INTEGER" />
     <association property="companyInfo" javaType="com.gk.hotwork.Domain.CompanyInfo">
       <result column="company_id" property="id"  />
       <result column="company" property="company"  />
@@ -187,7 +192,7 @@
     left join userroles as r on r.userid = `user`.id
     <where>
         `user`.status = 1
-        and  user.type != 1
+        and  user.type = 3
       <if test="record.username != null and record.username !=''">
         and user.username like concat ('%',#{record.username,jdbcType=VARCHAR},'%')
       </if>
@@ -244,7 +249,7 @@
     left join userroles as r on r.userid = `user`.id
     <where>
       `user`.status = 1
-      and  user.type != 1
+      and  user.type = 2
       <if test="record.username != null and record.username !=''">
         and user.username like concat ('%',#{record.username,jdbcType=VARCHAR},'%')
       </if>
@@ -314,7 +319,7 @@
     left join speciality as s on s.id = `user`.speciality_id
     <where>
       `user`.status = 1
-      and  user.type != 1
+      and  user.type = 4
       <if test="record.username != null and record.username !=''">
         and user.username like concat ('%',#{record.username,jdbcType=VARCHAR},'%')
       </if>

--
Gitblit v1.9.2