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