liuxm
2024-06-04 eeee3d8fa04aff41db6ee2418468e7371ecad57d
pms-parent/pms-global/src/main/resources/mapper/PrProductionNodeMapper.xml
@@ -16,7 +16,7 @@
        <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">
@@ -26,11 +26,11 @@
        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" />