刘小明
2024-10-10 7a6e4f5b60c2092184c5b601be5cbe036a55ab7b
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">