刘小明
2024-09-03 b5a3c0f6823d17d4acd97545cee3556a07f09865
pms-parent/pms-global/src/main/resources/mapper/StaDevOpsTaskClaimInfoMapper.xml
@@ -38,33 +38,33 @@
    <insert id="insertSelective" keyColumn="id" keyProperty="id" parameterType="com.dy.pmsGlobal.pojoSta.StaDevOpsTaskClaimInfo" useGeneratedKeys="true">
        insert into sta_dev_ops_task_claim_info
        <trim prefix="(" suffix=")" suffixOverrides=",">
                <if test="id != null and id !=''">id,</if>
                <if test="userId != null and userId !=''">user_id,</if>
                <if test="planId != null and planId !=''">plan_id,</if>
                <if test="id != null">id,</if>
                <if test="userId != null">user_id,</if>
                <if test="planId != null">plan_id,</if>
                <if test="dt != null and dt !=''">dt,</if>
                <if test="status != null and status !=''">status,</if>
                <if test="status != null">status,</if>
        </trim>
        <trim prefix="values (" suffix=")" suffixOverrides=",">
                <if test="id != null and id !=''">#{id,jdbcType=BIGINT},</if>
                <if test="userId != null and userId !=''">#{userId,jdbcType=BIGINT},</if>
                <if test="planId != null and planId !=''">#{planId,jdbcType=BIGINT},</if>
                <if test="id != null">#{id,jdbcType=BIGINT},</if>
                <if test="userId != null">#{userId,jdbcType=BIGINT},</if>
                <if test="planId != null">#{planId,jdbcType=BIGINT},</if>
                <if test="dt != null and dt !=''">#{dt,jdbcType=TIMESTAMP},</if>
                <if test="status != null and status !=''">#{status,jdbcType=TINYINT},</if>
                <if test="status != null">#{status,jdbcType=TINYINT},</if>
        </trim>
    </insert>
    <update id="updateByPrimaryKeySelective" parameterType="com.dy.pmsGlobal.pojoSta.StaDevOpsTaskClaimInfo">
        update sta_dev_ops_task_claim_info
        <set>
                <if test="userId != null and userId !=''">
                <if test="userId != null">
                    user_id = #{userId,jdbcType=BIGINT},
                </if>
                <if test="planId != null and planId !=''">
                <if test="planId != null">
                    plan_id = #{planId,jdbcType=BIGINT},
                </if>
                <if test="dt != null and dt !=''">
                    dt = #{dt,jdbcType=TIMESTAMP},
                </if>
                <if test="status != null and status !=''">
                <if test="status != null">
                    status = #{status,jdbcType=TINYINT},
                </if>
        </set>