id,pro_id,reason,disabled,
        deleted,pro_id,sort
    
    
    
        insert into plt_product_unqualified_reason
        
            id,
            reason,
            pro_id,
            sort,
            deleted,
        
        
                #{id,jdbcType=BIGINT},
                #{reason,jdbcType=VARCHAR},
                #{proId,jdbcType=VARCHAR},
                #{sort,jdbcType=VARCHAR},
                #{deleted,jdbcType=TINYINT},
        
    
    
        update plt_product_unqualified_reason
        
            
                disabled = #{disabled,jdbcType=TINYINT},
            
            
                reason = #{reason,jdbcType=VARCHAR},
            
            
                pro_id = #{proId,jdbcType=VARCHAR},
            
            
                sort = #{sort,jdbcType=VARCHAR},
            
            
                deleted = #{deleted,jdbcType=TINYINT},
            
        
        where   id = #{id,jdbcType=BIGINT} 
    
    
    
    
        update plt_product_unqualified_reason set deleted = 1
        where id = #{id}