|  |  |  | 
|---|
|  |  |  | <result column="name" property="name" /> | 
|---|
|  |  |  | <result column="disabled" property="disabled" /> | 
|---|
|  |  |  | <result column="deleted" property="deleted" /> | 
|---|
|  |  |  | <result column="create_dt" property="createDt" /> | 
|---|
|  |  |  | </resultMap> | 
|---|
|  |  |  | <resultMap id="partResultMap" type="com.dy.pmsGlobal.pojoBa.BaRole"> | 
|---|
|  |  |  | <result column="id" property="id" /> | 
|---|
|  |  |  | 
|---|
|  |  |  | </resultMap> | 
|---|
|  |  |  |  | 
|---|
|  |  |  | <resultMap id="someResultMap" extends="partResultMap" type="com.dy.pmsGlobal.pojoBa.BaRole"> | 
|---|
|  |  |  | <collection property="priIds" ofType="java.lang.String" fetchType="eager" column="{roleId=id}" select="com.dy.pmsGlobal.daoBa.BaPrivilegeMapper.selectPrivilegeByRoleId" /> | 
|---|
|  |  |  | <collection property="priIds" ofType="java.lang.Integer" fetchType="eager" column="{roleId=id}" select="com.dy.pmsGlobal.daoBa.BaPrivilegeMapper.selectPrivilegeByRoleId" /> | 
|---|
|  |  |  | </resultMap> | 
|---|
|  |  |  |  | 
|---|
|  |  |  | <sql id="Base_Column_List"> | 
|---|
|  |  |  | <!--@mbg.generated--> | 
|---|
|  |  |  | id, `name`, disabled, deleted | 
|---|
|  |  |  | id, `name`, disabled, deleted,create_dt | 
|---|
|  |  |  | </sql> | 
|---|
|  |  |  |  | 
|---|
|  |  |  | <sql id="Part_Column_List"> | 
|---|
|  |  |  | <!--@mbg.generated--> | 
|---|
|  |  |  | id, `name`, disabled | 
|---|
|  |  |  | id, `name`, disabled,create_dt | 
|---|
|  |  |  | </sql> | 
|---|
|  |  |  |  | 
|---|
|  |  |  | <select id="selectByPrimaryKey" parameterType="java.lang.Long" resultMap="someResultMap"> | 
|---|