刘小明
2024-10-10 7a6e4f5b60c2092184c5b601be5cbe036a55ab7b
selectNodeBySort,sta_repair_info.insertSelective 方法修改
2个文件已修改
6 ■■■■ 已修改文件
pms-parent/pms-global/src/main/resources/mapper/PrProductionNodeMapper.xml 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
pms-parent/pms-global/src/main/resources/mapper/StaRepairInfoMapper.xml 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pms-parent/pms-global/src/main/resources/mapper/PrProductionNodeMapper.xml
@@ -40,7 +40,7 @@
        from pr_production_node
        where  id = #{id,jdbcType=BIGINT} 
    </select>
    <select id="selectNodeBySort" parameterType="java.lang.Long" resultMap="BaseResultMap">
    <select id="selectNodeBySort" resultMap="BaseResultMap">
        select
        <include refid="Base_Column_List" />
        from pr_production_node
pms-parent/pms-global/src/main/resources/mapper/StaRepairInfoMapper.xml
@@ -54,7 +54,7 @@
                <if test="fromNode != null">from_node,</if>
                <if test="repairReason != null and repairReason !=''">repair_reason,</if>
                <if test="repairBy != null">repair_by,</if>
                <if test="repairTime != null and repairTime !=''">repair_time,</if>
                <if test="repairTime != null">repair_time,</if>
        </trim>
        <trim prefix="values (" suffix=")" suffixOverrides=",">
                <if test="id != null">#{id,jdbcType=BIGINT},</if>
@@ -63,7 +63,7 @@
                <if test="fromNode != null">#{fromNode,jdbcType=BIGINT},</if>
                <if test="repairReason != null and repairReason !=''">#{repairReason,jdbcType=VARCHAR},</if>
                <if test="repairBy != null">#{repairBy,jdbcType=BIGINT},</if>
                <if test="repairTime != null and repairTime !=''">#{repairTime,jdbcType=TIMESTAMP},</if>
                <if test="repairTime != null">#{repairTime,jdbcType=TIMESTAMP},</if>
        </trim>
    </insert>
    <update id="updateByPrimaryKeySelective" parameterType="com.dy.pmsGlobal.pojoSta.StaRepairInfo">