|
@@ -22,6 +22,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
<result property="createTime" column="create_time" />
|
|
<result property="createTime" column="create_time" />
|
|
<result property="updateBy" column="update_by" />
|
|
<result property="updateBy" column="update_by" />
|
|
<result property="updateTime" column="update_time" />
|
|
<result property="updateTime" column="update_time" />
|
|
|
|
+ <result property="openId" column="open_id" />
|
|
<result property="remark" column="remark" />
|
|
<result property="remark" column="remark" />
|
|
<result property="isSex" column="is_Sex"/>
|
|
<result property="isSex" column="is_Sex"/>
|
|
<association property="dept" javaType="SysDept" resultMap="deptResult" />
|
|
<association property="dept" javaType="SysDept" resultMap="deptResult" />
|
|
@@ -85,7 +86,12 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
<!-- 数据范围过滤 -->
|
|
<!-- 数据范围过滤 -->
|
|
${params.dataScope}
|
|
${params.dataScope}
|
|
</select>
|
|
</select>
|
|
-
|
|
|
|
|
|
+
|
|
|
|
+ <select id="selectWxUserByOpenId" parameterType="String" resultMap="SysUserResult">
|
|
|
|
+ <include refid="selectUserVo" />
|
|
|
|
+ where u.open_id = #{openId} and u.del_flag = '0'
|
|
|
|
+ </select>
|
|
|
|
+
|
|
<select id="selectAllocatedList" parameterType="SysUser" resultMap="SysUserResult">
|
|
<select id="selectAllocatedList" parameterType="SysUser" resultMap="SysUserResult">
|
|
select distinct u.user_id, u.dept_id, u.user_name, u.nick_name, u.email, u.phonenumber, u.status, u.create_time
|
|
select distinct u.user_id, u.dept_id, u.user_name, u.nick_name, u.email, u.phonenumber, u.status, u.create_time
|
|
from sys_user u
|
|
from sys_user u
|
|
@@ -156,6 +162,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
<if test="password != null and password != ''">password,</if>
|
|
<if test="password != null and password != ''">password,</if>
|
|
<if test="status != null and status != ''">status,</if>
|
|
<if test="status != null and status != ''">status,</if>
|
|
<if test="createBy != null and createBy != ''">create_by,</if>
|
|
<if test="createBy != null and createBy != ''">create_by,</if>
|
|
|
|
+ <if test="openId != null and openId != ''">open_id,</if>
|
|
<if test="remark != null and remark != ''">remark,</if>
|
|
<if test="remark != null and remark != ''">remark,</if>
|
|
create_time
|
|
create_time
|
|
)values(
|
|
)values(
|
|
@@ -170,6 +177,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
<if test="password != null and password != ''">#{password},</if>
|
|
<if test="password != null and password != ''">#{password},</if>
|
|
<if test="status != null and status != ''">#{status},</if>
|
|
<if test="status != null and status != ''">#{status},</if>
|
|
<if test="createBy != null and createBy != ''">#{createBy},</if>
|
|
<if test="createBy != null and createBy != ''">#{createBy},</if>
|
|
|
|
+ <if test="openId != null and openId != ''">#{openId},</if>
|
|
<if test="remark != null and remark != ''">#{remark},</if>
|
|
<if test="remark != null and remark != ''">#{remark},</if>
|
|
sysdate()
|
|
sysdate()
|
|
)
|
|
)
|