刘小明
2024-08-27 53a365fb64b49ee85f528341c785c4beab1d1f43
pms-parent/pms-global/src/main/resources/mapper/StaRepairInfoMapper.xml
@@ -48,21 +48,21 @@
    <insert id="insertSelective" keyColumn="id" keyProperty="id" parameterType="com.dy.pmsGlobal.pojoSta.StaRepairInfo" useGeneratedKeys="true">
        insert into sta_repair_info
        <trim prefix="(" suffix=")" suffixOverrides=",">
                <if test="id != null and id !=''">id,</if>
                <if test="id != null">id,</if>
                <if test="deviceNo != null and deviceNo !=''">device_no,</if>
                <if test="workId != null and workId !=''">work_id,</if>
                <if test="fromNode != null and fromNode !=''">from_node,</if>
                <if test="workId != null">work_id,</if>
                <if test="fromNode != null">from_node,</if>
                <if test="repairReason != null and repairReason !=''">repair_reason,</if>
                <if test="repairBy != null and repairBy !=''">repair_by,</if>
                <if test="repairBy != null">repair_by,</if>
                <if test="repairTime != null and repairTime !=''">repair_time,</if>
        </trim>
        <trim prefix="values (" suffix=")" suffixOverrides=",">
                <if test="id != null and id !=''">#{id,jdbcType=BIGINT},</if>
                <if test="id != null">#{id,jdbcType=BIGINT},</if>
                <if test="deviceNo != null and deviceNo !=''">#{deviceNo,jdbcType=VARCHAR},</if>
                <if test="workId != null and workId !=''">#{workId,jdbcType=BIGINT},</if>
                <if test="fromNode != null and fromNode !=''">#{fromNode,jdbcType=BIGINT},</if>
                <if test="workId != null">#{workId,jdbcType=BIGINT},</if>
                <if test="fromNode != null">#{fromNode,jdbcType=BIGINT},</if>
                <if test="repairReason != null and repairReason !=''">#{repairReason,jdbcType=VARCHAR},</if>
                <if test="repairBy != null and repairBy !=''">#{repairBy,jdbcType=BIGINT},</if>
                <if test="repairBy != null">#{repairBy,jdbcType=BIGINT},</if>
                <if test="repairTime != null and repairTime !=''">#{repairTime,jdbcType=TIMESTAMP},</if>
        </trim>
    </insert>
@@ -72,16 +72,16 @@
                <if test="deviceNo != null and deviceNo !=''">
                    device_no = #{deviceNo,jdbcType=VARCHAR},
                </if>
                <if test="workId != null and workId !=''">
                <if test="workId != null">
                    work_id = #{workId,jdbcType=BIGINT},
                </if>
                <if test="fromNode != null and fromNode !=''">
                <if test="fromNode != null">
                    from_node = #{fromNode,jdbcType=BIGINT},
                </if>
                <if test="repairReason != null and repairReason !=''">
                    repair_reason = #{repairReason,jdbcType=VARCHAR},
                </if>
                <if test="repairBy != null and repairBy !=''">
                <if test="repairBy != null">
                    repair_by = #{repairBy,jdbcType=BIGINT},
                </if>
                <if test="repairTime != null and repairTime !=''">