刘小明
2024-06-26 a058edded3901601f8597c66bcae687c5dbc4407
pms-parent/pms-global/src/main/resources/mapper/PrDevOpsPlanMapper.xml
@@ -160,6 +160,14 @@
            </if>
        </trim>
    </select>
    <select id="exists" resultType="java.lang.Boolean">
        select count(1) > 0
        from pr_dev_ops_plan
        where name = #{name,jdbcType=VARCHAR}
        <if test="id != null">
            and id != #{id,jdbcType=BIGINT}
        </if>
    </select>
    <update id="deleteLogicById" parameterType="java.lang.Long">
        update pr_dev_ops_plan set deleted = 1