id,name,
        status,creator,dt,
        start_date,end_date,deleted,
        content
    
    
    
        delete from pr_dev_ops_plan
        where  id = #{id,jdbcType=BIGINT} 
    
    
        insert into pr_dev_ops_plan
        ( id,name,status,creator,dt
        ,start_date,end_date,deleted
        ,content)
        values (#{id,jdbcType=BIGINT},#{name,jdbcType=VARCHAR}
        ,#{status,jdbcType=TINYINT},#{creator,jdbcType=VARCHAR},#{dt,jdbcType=TIMESTAMP}
        ,#{startDate,jdbcType=VARCHAR},#{endDate,jdbcType=VARCHAR},#{deleted,jdbcType=TINYINT}
        ,#{content,jdbcType=VARCHAR})
    
    
        insert into pr_dev_ops_plan
        
                id,
                name,
                status,
                creator,
                dt,
                start_date,
                end_date,
                deleted,
                content,
        
        
                #{id,jdbcType=BIGINT},
                #{name,jdbcType=VARCHAR},
                #{status,jdbcType=TINYINT},
                #{creator,jdbcType=VARCHAR},
                #{dt,jdbcType=TIMESTAMP},
                #{startDate,jdbcType=VARCHAR},
                #{endDate,jdbcType=VARCHAR},
                #{deleted,jdbcType=TINYINT},
                #{content,jdbcType=VARCHAR},
        
    
    
        update pr_dev_ops_plan
        
                
                    name = #{name,jdbcType=VARCHAR},
                
                
                    status = #{status,jdbcType=TINYINT},
                
                
                    creator = #{creator,jdbcType=VARCHAR},
                
                
                    dt = #{dt,jdbcType=TIMESTAMP},
                
                
                    start_date = #{startDate,jdbcType=VARCHAR},
                
                
                    end_date = #{endDate,jdbcType=VARCHAR},
                
                
                    deleted = #{deleted,jdbcType=TINYINT},
                
                
                    content = #{content,jdbcType=VARCHAR},
                
        
        where   id = #{id,jdbcType=BIGINT} 
    
    
        update pr_dev_ops_plan
        set 
            name =  #{name,jdbcType=VARCHAR},
            status =  #{status,jdbcType=TINYINT},
            creator =  #{creator,jdbcType=VARCHAR},
            dt =  #{dt,jdbcType=TIMESTAMP},
            start_date =  #{startDate,jdbcType=VARCHAR},
            end_date =  #{endDate,jdbcType=VARCHAR},
            deleted =  #{deleted,jdbcType=TINYINT},
            content =  #{content,jdbcType=VARCHAR}
        where   id = #{id,jdbcType=BIGINT} 
    
    
    
    
    
        update pr_dev_ops_plan set deleted = 1
        where id = #{id}