| | |
| | | <result property="remark" column="remark" jdbcType="VARCHAR"/> |
| | | <association property="instruction" |
| | | column="id" javaType="java.lang.Long" select="com.dy.pmsGlobal.daoPr.PrWorkingInstructionMapper.selectByNodeId" fetchType="eager" /> |
| | | <association property="bill" |
| | | column="id" javaType="java.lang.Long" select="com.dy.pmsGlobal.daoPr.PrBillOfMaterialMapper.selectByNodeId" fetchType="eager" /> |
| | | </resultMap> |
| | | |
| | | <sql id="Base_Column_List"> |
| | |
| | | from pr_production_node |
| | | where id = #{id,jdbcType=BIGINT} |
| | | </select> |
| | | <select id="selectNodeBySort" resultMap="BaseResultMap"> |
| | | select |
| | | <include refid="Base_Column_List" /> |
| | | from pr_production_node |
| | | where process_id = #{processId,jdbcType=BIGINT} and sort = #{sort,jdbcType=INTEGER} |
| | | </select> |
| | | <select id="selectNameByNodeId" parameterType="java.lang.Long" resultType="String"> |
| | | select content from pr_production_node where id = #{id} |
| | | </select> |