针对智慧工地对公司框架进行优化
This commit is contained in:
parent
7f7d333fb5
commit
d19533a19b
|
|
@ -27,7 +27,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||||
<result property="deptAbbreviation" column="dept_abbreviation" />
|
<result property="deptAbbreviation" column="dept_abbreviation" />
|
||||||
<result property="remark" column="remark" />
|
<result property="remark" column="remark" />
|
||||||
<result property="logo" column="logo" />
|
<result property="logo" column="logo" />
|
||||||
</resultMap>logo
|
</resultMap>
|
||||||
|
|
||||||
<sql id="selectDeptVo">
|
<sql id="selectDeptVo">
|
||||||
select d.dept_id,
|
select d.dept_id,
|
||||||
|
|
@ -149,7 +149,6 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||||
select * from sys_dept where parent_id='0'
|
select * from sys_dept where parent_id='0'
|
||||||
</select>
|
</select>
|
||||||
<select id="selectDeptAndUserById" resultType="com.bonus.system.api.domain.SysDept">
|
<select id="selectDeptAndUserById" resultType="com.bonus.system.api.domain.SysDept">
|
||||||
|
|
||||||
select sd.*,su.nick_name as nickName,su.user_name as userName,su.password as password,
|
select sd.*,su.nick_name as nickName,su.user_name as userName,su.password as password,
|
||||||
sr.role_name as roleName,su.user_id as userId,sr.role_id as roleId from sys_dept sd
|
sr.role_name as roleName,su.user_id as userId,sr.role_id as roleId from sys_dept sd
|
||||||
left join sys_role_dept srd on sd.dept_id = srd.dept_id
|
left join sys_role_dept srd on sd.dept_id = srd.dept_id
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue