|
@@ -10,6 +10,7 @@
|
|
|
<result property="remarks" column="remarks" />
|
|
|
<result property="useable" column="useable" />
|
|
|
<result property="office.name" column="office.name" />
|
|
|
+ <result property="office.id" column="office.id" />
|
|
|
<result property="sysData" column="sysData" />
|
|
|
<collection property="menuList" ofType="Menu">
|
|
|
<id property="id" column="menuList.id" />
|
|
@@ -48,7 +49,7 @@
|
|
|
LEFT JOIN sys_role_datarule rd ON rd.role_id = a.id
|
|
|
WHERE a.id = #{id}
|
|
|
</select>
|
|
|
-
|
|
|
+
|
|
|
<select id="getByName" resultType="Role">
|
|
|
SELECT
|
|
|
<include refid="roleColumns"/>
|