Fancy
2024-08-20 b277bf442b58ad5084aeedf213be3f7b8b35c259
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