id,pro_id,item,disabled,sort,
        deleted
    
    
        ${alias}.id,
        ${alias}.pro_id,
        ${alias}.item,
        ${alias}.sort,
        ${alias}.disabled,
        ${alias}.deleted
    
    
    
        insert into plt_product_quality_inspection_items
        
            id,
            pro_id,
            item,
            sort,
            disabled,
            deleted,
        
        
            #{id,jdbcType=BIGINT},
            #{proId,jdbcType=BIGINT},
            #{item,jdbcType=VARCHAR},
            #{sort,jdbcType=INTEGER},
            #{disabled,jdbcType=TINYINT},
            #{deleted,jdbcType=TINYINT},
        
    
    
        update plt_product_quality_inspection_items
        
            
                pro_id = #{proId,jdbcType=BIGINT},
            
            
                disabled = #{disabled,jdbcType=BIGINT},
            
            
                item = #{item,jdbcType=VARCHAR},
            
            
                sort = #{sort,jdbcType=INTEGER},
            
        
        where   id = #{id,jdbcType=BIGINT} 
    
    
    
    
        update plt_product_quality_inspection_items set deleted = 1
        where id = #{id}