id,user_id,line_id,
        station_id,plan_id,process_id,
        node_id,dt,status
    
    
    
        delete from pr_production_task_claim_info
        where  id = #{id,jdbcType=BIGINT} 
    
    
        insert into pr_production_task_claim_info
        ( id,user_id,line_id
        ,station_id,plan_id,process_id
        ,node_id,dt,status
        )
        values (#{id,jdbcType=BIGINT},#{userId,jdbcType=BIGINT},#{lineId,jdbcType=BIGINT}
        ,#{stationId,jdbcType=BIGINT},#{planId,jdbcType=BIGINT},#{processId,jdbcType=BIGINT}
        ,#{nodeId,jdbcType=BIGINT},#{dt,jdbcType=TIMESTAMP},#{status,jdbcType=TINYINT}
        )
    
    
        insert into pr_production_task_claim_info
        
                id,
                user_id,
                line_id,
                station_id,
                plan_id,
                process_id,
                node_id,
                dt,
                status,
        
        
                #{id,jdbcType=BIGINT},
                #{userId,jdbcType=BIGINT},
                #{lineId,jdbcType=BIGINT},
                #{stationId,jdbcType=BIGINT},
                #{planId,jdbcType=BIGINT},
                #{processId,jdbcType=BIGINT},
                #{nodeId,jdbcType=BIGINT},
                #{dt,jdbcType=TIMESTAMP},
                #{status,jdbcType=TINYINT},
        
    
    
        update pr_production_task_claim_info
        
                
                    user_id = #{userId,jdbcType=BIGINT},
                
                
                    line_id = #{lineId,jdbcType=BIGINT},
                
                
                    station_id = #{stationId,jdbcType=BIGINT},
                
                
                    plan_id = #{planId,jdbcType=BIGINT},
                
                
                    process_id = #{processId,jdbcType=BIGINT},
                
                
                    node_id = #{nodeId,jdbcType=BIGINT},
                
                
                    dt = #{dt,jdbcType=TIMESTAMP},
                
                
                    status = #{status,jdbcType=TINYINT},
                
        
        where   id = #{id,jdbcType=BIGINT} 
    
    
        update pr_production_task_claim_info
        set 
            user_id =  #{userId,jdbcType=BIGINT},
            line_id =  #{lineId,jdbcType=BIGINT},
            station_id =  #{stationId,jdbcType=BIGINT},
            plan_id =  #{planId,jdbcType=BIGINT},
            process_id =  #{processId,jdbcType=BIGINT},
            node_id =  #{nodeId,jdbcType=BIGINT},
            dt =  #{dt,jdbcType=TIMESTAMP},
            status =  #{status,jdbcType=TINYINT}
        where   id = #{id,jdbcType=BIGINT} 
    
    
    
    
        update pr_production_task_claim_info set deleted = 1
        where id = #{id}