Skip to content

Commit

Permalink
!23 association标签顺序错误导
Browse files Browse the repository at this point in the history
Merge pull request !23 from ping199143/master
  • Loading branch information
dienaso authored and think-gem committed Mar 2, 2018
2 parents 022740d + f64546f commit bf36181
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/main/resources/mappings/modules/sys/RoleDao.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,17 @@

<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" />
<result property="dataScope" column="dataScope" />
<result property="remarks" column="remarks" />
<result property="useable" column="useable" />
<result property="sysData" column="sysData" /><!--
<result property="sysData" column="sysData" />
<association property="office" javaType="Office">
<id property="id" column="office.id"/>
<id property="name" column="office.name"/>
</association><!--
<collection property="userList" ofType="User">
<id property="id" column="userList.id" />
<id property="loginName" column="userList.loginName" />
Expand Down

0 comments on commit bf36181

Please sign in to comment.