|
@@ -39,7 +39,6 @@
|
|
<result column="company_name" property="companyName"/>
|
|
<result column="company_name" property="companyName"/>
|
|
<result column="parent_id" property="parentId" />
|
|
<result column="parent_id" property="parentId" />
|
|
<result column="sex" property="sex" />
|
|
<result column="sex" property="sex" />
|
|
- <result column="role_name" property="roleName" />
|
|
|
|
<result column="work_state" property="workState" />
|
|
<result column="work_state" property="workState" />
|
|
<result column="is_disable" property="isDisable" />
|
|
<result column="is_disable" property="isDisable" />
|
|
<result column="indate" property="indate" />
|
|
<result column="indate" property="indate" />
|
|
@@ -51,8 +50,8 @@
|
|
<select id="selectListByCondition" resultMap="BaseResultMapVO">
|
|
<select id="selectListByCondition" resultMap="BaseResultMapVO">
|
|
SELECT
|
|
SELECT
|
|
u.id id, u.account account, u.username username, u.password password, u.mobile mobile, u.role_type role_type, u.company_id company_id, c.`company_name` company_name,
|
|
u.id id, u.account account, u.username username, u.password password, u.mobile mobile, u.role_type role_type, u.company_id company_id, c.`company_name` company_name,
|
|
- r.role_name role_name,u.parent_id parent_id, u.sex sex,u.work_state work_state, u.is_disable is_disable,
|
|
|
|
- u.indate indate, u.head_imgurl head_imgurl, u.team_name team_name, u.role_name role_name,u.subordinate_type subordinate_type
|
|
|
|
|
|
+ r.role_name role_name,u.parent_id parent_id, u.sex sex, u.work_state work_state, u.is_disable is_disable,
|
|
|
|
+ u.indate indate, u.head_imgurl head_imgurl, u.team_name team_name, u.subordinate_type subordinate_type
|
|
FROM
|
|
FROM
|
|
tb_user AS u
|
|
tb_user AS u
|
|
LEFT JOIN tb_company c
|
|
LEFT JOIN tb_company c
|
|
@@ -79,4 +78,5 @@
|
|
</where>
|
|
</where>
|
|
Order by u.id desc
|
|
Order by u.id desc
|
|
</select>
|
|
</select>
|
|
|
|
+
|
|
</mapper>
|
|
</mapper>
|