Skip to content

Commit

Permalink
角色修改时归属机构回显Bug
Browse files Browse the repository at this point in the history
修复角色修改时,角色归属机构为空,导致显示的是当前用户归属部门造成的显示问题.
  • Loading branch information
jgroups authored Oct 17, 2016
1 parent cb41967 commit 74ffd4a
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/main/resources/mappings/modules/sys/RoleDao.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@

<resultMap id="roleResult" type="Role">
<id property="id" column="id" />
<association property="office" javaType="Office">
<id property="id" column="office.id" />
<id property="name" column="office.name" />
</association>
<result property="name" column="name" />
<result property="enname" column="enname" />
<result property="roleType" column="roleType" />
Expand Down Expand Up @@ -201,4 +205,4 @@
WHERE id = #{id}
</update>

</mapper>
</mapper>

0 comments on commit 74ffd4a

Please sign in to comment.