|
@@ -15,6 +15,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
<result property="sex" column="sex" />
|
|
<result property="sex" column="sex" />
|
|
<result property="idCard" column="id_card" />
|
|
<result property="idCard" column="id_card" />
|
|
<result property="chargeCommunityId" column="charge_community_id" />
|
|
<result property="chargeCommunityId" column="charge_community_id" />
|
|
|
|
+ <result property="isWuhan" column="is_wuhan" />
|
|
<result property="communityName" column="community_name" />
|
|
<result property="communityName" column="community_name" />
|
|
<result property="avatar" column="avatar" />
|
|
<result property="avatar" column="avatar" />
|
|
<result property="password" column="password" />
|
|
<result property="password" column="password" />
|
|
@@ -62,7 +63,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
|
|
|
<sql id="selectUserVo">
|
|
<sql id="selectUserVo">
|
|
select u.user_id,u.company_id, u.dept_id, u.login_name, u.user_name, u.email, u.avatar, u.phonenumber,
|
|
select u.user_id,u.company_id, u.dept_id, u.login_name, u.user_name, u.email, u.avatar, u.phonenumber,
|
|
- u.id_card,u.charge_community_id,com.name community_name,
|
|
|
|
|
|
+ u.id_card,u.charge_community_id,com.name community_name,u.is_wuhan,
|
|
u.sex, u.password, u.salt, u.status, u.del_flag, u.login_ip, u.login_date, u.create_time, u.remark,
|
|
u.sex, u.password, u.salt, u.status, u.del_flag, u.login_ip, u.login_date, u.create_time, u.remark,
|
|
d.dept_id, d.parent_id, d.dept_name, d.order_num, d.leader, d.status as dept_status,
|
|
d.dept_id, d.parent_id, d.dept_name, d.order_num, d.leader, d.status as dept_status,
|
|
r.role_id, r.role_name, r.role_key, r.role_sort, r.data_scope, r.status as role_status
|
|
r.role_id, r.role_name, r.role_key, r.role_sort, r.data_scope, r.status as role_status
|
|
@@ -202,6 +203,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
<if test="sex != null and sex != ''">sex = #{sex},</if>
|
|
<if test="sex != null and sex != ''">sex = #{sex},</if>
|
|
<if test="idCard != null and idCard != ''">id_card = #{idCard},</if>
|
|
<if test="idCard != null and idCard != ''">id_card = #{idCard},</if>
|
|
<if test="chargeCommunityId != null and chargeCommunityId != ''">charge_community_id = #{chargeCommunityId},</if>
|
|
<if test="chargeCommunityId != null and chargeCommunityId != ''">charge_community_id = #{chargeCommunityId},</if>
|
|
|
|
+ <if test="isWuhan != null and isWuhan != ''">is_wuhan = #{isWuhan},</if>
|
|
<if test="avatar != null and avatar != ''">avatar = #{avatar},</if>
|
|
<if test="avatar != null and avatar != ''">avatar = #{avatar},</if>
|
|
<if test="password != null and password != ''">password = #{password},</if>
|
|
<if test="password != null and password != ''">password = #{password},</if>
|
|
<if test="salt != null and salt != ''">salt = #{salt},</if>
|
|
<if test="salt != null and salt != ''">salt = #{salt},</if>
|
|
@@ -238,6 +240,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
<if test="phonenumber != null and phonenumber != ''">phonenumber,</if>
|
|
<if test="phonenumber != null and phonenumber != ''">phonenumber,</if>
|
|
<if test="idCard != null and idCard != ''">id_card,</if>
|
|
<if test="idCard != null and idCard != ''">id_card,</if>
|
|
<if test="chargeCommunityId != null ">charge_community_id,</if>
|
|
<if test="chargeCommunityId != null ">charge_community_id,</if>
|
|
|
|
+ <if test="isWuhan != null and isWuhan != ''">is_wuhan,</if>
|
|
<if test="sex != null and sex != ''">sex,</if>
|
|
<if test="sex != null and sex != ''">sex,</if>
|
|
<if test="password != null and password != ''">password,</if>
|
|
<if test="password != null and password != ''">password,</if>
|
|
<if test="salt != null and salt != ''">salt,</if>
|
|
<if test="salt != null and salt != ''">salt,</if>
|
|
@@ -256,6 +259,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
<if test="phonenumber != null and phonenumber != ''">#{phonenumber},</if>
|
|
<if test="phonenumber != null and phonenumber != ''">#{phonenumber},</if>
|
|
<if test="idCard != null and idCard != ''">#{idCard},</if>
|
|
<if test="idCard != null and idCard != ''">#{idCard},</if>
|
|
<if test="chargeCommunityId != null ">#{chargeCommunityId},</if>
|
|
<if test="chargeCommunityId != null ">#{chargeCommunityId},</if>
|
|
|
|
+ <if test="isWuhan != null and isWuhan != ''">#{isWuhan},</if>
|
|
<if test="sex != null and sex != ''">#{sex},</if>
|
|
<if test="sex != null and sex != ''">#{sex},</if>
|
|
<if test="password != null and password != ''">#{password},</if>
|
|
<if test="password != null and password != ''">#{password},</if>
|
|
<if test="salt != null and salt != ''">#{salt},</if>
|
|
<if test="salt != null and salt != ''">#{salt},</if>
|
|
@@ -317,7 +321,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
<select id="selectPeople" parameterType="String" resultMap="SysUserResult">
|
|
<select id="selectPeople" parameterType="String" resultMap="SysUserResult">
|
|
select
|
|
select
|
|
u.user_id,u.company_id, u.dept_id, u.login_name, u.user_name, u.email,
|
|
u.user_id,u.company_id, u.dept_id, u.login_name, u.user_name, u.email,
|
|
- u.id_card,u.charge_community_id,c.name community_name,
|
|
|
|
|
|
+ u.id_card,u.charge_community_id,c.name community_name,u.is_wuhan,
|
|
u.avatar, u.phonenumber, u.password, u.sex, u.salt, u.status, u.del_flag,
|
|
u.avatar, u.phonenumber, u.password, u.sex, u.salt, u.status, u.del_flag,
|
|
u.login_ip, u.login_date, u.create_by, u.create_time, u.remark
|
|
u.login_ip, u.login_date, u.create_by, u.create_time, u.remark
|
|
from sys_user u
|
|
from sys_user u
|