select id, inspection_order_id, work_id, worker_name, worker_phone, is_pass, status, start_time, end_time, year, month, day, create_time, creator, update_time, updater from inspection_info
    
    
    
    
        insert into inspection_info
        
            id,
            inspection_order_id,
            work_id,
            worker_name,
            worker_phone,
            is_pass,
            status,
            start_time,
            end_time,
            year,
            month,
            day,
            create_time,
            creator,
            update_time,
            updater,
         
        
            #{id},
            #{inspectionOrderId},
            #{workId},
            #{workerName},
            #{workerPhone},
            #{isPass},
            #{status},
            #{startTime},
            #{endTime},
            #{year},
            #{month},
            #{day},
            #{createTime},
            #{creator},
            #{updateTime},
            #{updater},
         
    
    
        update inspection_info
        
            inspection_order_id = #{inspectionOrderId},
            work_id = #{workId},
            worker_name = #{workerName},
            worker_phone = #{workerPhone},
            is_pass = #{isPass},
            status = #{status},
            start_time = #{startTime},
            end_time = #{endTime},
            year = #{year},
            month = #{month},
            day = #{day},
            create_time = #{createTime},
            creator = #{creator},
            update_time = #{updateTime},
            updater = #{updater},
        
        where id = #{id}
    
    
        delete from inspection_info where id = #{id}
    
    
        delete from inspection_info where id in
        
            #{id}