|  |  |  | 
|---|
|  |  |  | <result property="deleted" column="deleted" jdbcType="TINYINT"/> | 
|---|
|  |  |  | <result property="remark" column="remark" jdbcType="VARCHAR"/> | 
|---|
|  |  |  | <association property="instruction" | 
|---|
|  |  |  | column="id" javaType="java.lang.Long" select="selectProNameById" fetchType="eager" /> | 
|---|
|  |  |  | column="id" javaType="java.lang.Long" select="com.dy.pmsGlobal.daoPr.PrWorkingInstructionMapper.selectByNodeId" fetchType="eager" /> | 
|---|
|  |  |  | </resultMap> | 
|---|
|  |  |  |  | 
|---|
|  |  |  | <sql id="Base_Column_List"> | 
|---|
|  |  |  | 
|---|
|  |  |  | remark | 
|---|
|  |  |  | </sql> | 
|---|
|  |  |  |  | 
|---|
|  |  |  | <select id="selectProNameById" resultMap="com.dy.pmsGlobal.daoPr.PrWorkingInstructionMapper.BaseResultMap"> | 
|---|
|  |  |  | select * | 
|---|
|  |  |  | from pr_working_instruction | 
|---|
|  |  |  | where node_id = #{id,jdbcType=BIGINT} | 
|---|
|  |  |  | </select> | 
|---|
|  |  |  | <!--    <select id="selectProNameById" resultMap="com.dy.pmsGlobal.daoPr.PrWorkingInstructionMapper.BaseResultMap">--> | 
|---|
|  |  |  | <!--        select *--> | 
|---|
|  |  |  | <!--        from pr_working_instruction--> | 
|---|
|  |  |  | <!--        where node_id = #{id,jdbcType=BIGINT}--> | 
|---|
|  |  |  | <!--    </select>--> | 
|---|
|  |  |  | <select id="selectByPrimaryKey" parameterType="java.lang.Long" resultMap="BaseResultMap"> | 
|---|
|  |  |  | select | 
|---|
|  |  |  | <include refid="Base_Column_List" /> | 
|---|