|
@@ -36,39 +36,6 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
remark,
|
|
|
params
|
|
|
</sql>
|
|
|
- <resultMap id="BaseResultMap" type="com.ruoyi.common.core.domain.entity.SysUser">
|
|
|
- <result column="user_id" property="userId"/>
|
|
|
- <result column="dept_id" property="deptId"/>
|
|
|
- <result column="dept_id_list" property="deptIdList"/>
|
|
|
- <result column="user_name" property="userName"/>
|
|
|
- <result column="nick_name" property="nickName"/>
|
|
|
- <result column="email" property="email"/>
|
|
|
- <result column="phonenumber" property="phonenumber"/>
|
|
|
- <result column="sex" property="sex"/>
|
|
|
- <result column="avatar" property="avatar"/>
|
|
|
- <result column="password" property="password"/>
|
|
|
- <result column="status" property="status"/>
|
|
|
- <result column="employ_no" property="employNo"/>
|
|
|
- <result column="del_flag" property="delFlag"/>
|
|
|
- <result column="login_ip" property="loginIp"/>
|
|
|
- <result column="login_date" property="loginDate"/>
|
|
|
- <result column="access_token" property="accessToken"/>
|
|
|
- <result column="corp_id" property="corpId"/>
|
|
|
- <result column="role_type" property="roleType"/>
|
|
|
- <result column="dept" property="dept"/>
|
|
|
- <result column="roles" property="roles"/>
|
|
|
- <result column="role_ids" property="roleIds"/>
|
|
|
- <result column="post_ids" property="postIds"/>
|
|
|
- <result column="role_id" property="roleId"/>
|
|
|
- <result column="menu_ids" property="menuIds"/>
|
|
|
- <result column="search_value" property="searchValue"/>
|
|
|
- <result column="create_by" property="createBy"/>
|
|
|
- <result column="create_time" property="createTime"/>
|
|
|
- <result column="update_by" property="updateBy"/>
|
|
|
- <result column="update_time" property="updateTime"/>
|
|
|
- <result column="remark" property="remark"/>
|
|
|
- <result column="params" property="params"/>
|
|
|
- </resultMap>
|
|
|
<resultMap type="SysUser" id="SysUserResult">
|
|
|
<id property="userId" column="user_id" />
|
|
|
<result property="deptId" column="dept_id" />
|
|
@@ -293,8 +260,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
</select>
|
|
|
|
|
|
<!--auto generated by MybatisCodeHelper on 2024-06-06-->
|
|
|
- <select id="selectByEmployNoAndCorpId" resultMap="BaseResultMap">
|
|
|
+ <select id="selectByEmployNoAndCorpId" resultMap="SysUserResult">
|
|
|
<include refid="selectUserVo"/>
|
|
|
- where u.del_flag = '0' and u.employ_no = #{employNo and u.corp_id =#{corpId}
|
|
|
+ where u.del_flag = '0' and u.employ_no = #{employNo} and u.corp_id =#{corpId}
|
|
|
</select>
|
|
|
</mapper>
|