select waste_id, weight, garbage_name, action_date, device_id, mealtime_type, canteen_id, area_id, deal_type, sale_amount, scene_picture, staff_id, create_by, create_time, update_by, update_time from kitchen_waste_deal insert into kitchen_waste_deal weight, garbage_name, action_date, device_id, mealtime_type, canteen_id, area_id, deal_type, sale_amount, scene_picture, staff_id, create_by, create_time, update_by, update_time, #{weight}, #{garbageName}, #{actionDate}, #{deviceId}, #{mealtimeType}, #{canteenId}, #{areaId}, #{dealType}, #{saleAmount}, #{scenePicture}, #{staffId}, #{createBy}, #{createTime}, #{updateBy}, #{updateTime}, update kitchen_waste_deal weight = #{weight}, garbage_name = #{garbageName}, action_date = #{actionDate}, device_id = #{deviceId}, mealtime_type = #{mealtimeType}, canteen_id = #{canteenId}, area_id = #{areaId}, deal_type = #{dealType}, sale_amount = #{saleAmount}, scene_picture = #{scenePicture}, staff_id = #{staffId}, create_by = #{createBy}, create_time = #{createTime}, update_by = #{updateBy}, update_time = #{updateTime}, where waste_id = #{wasteId} delete from kitchen_waste_deal where waste_id = #{wasteId} delete from kitchen_waste_deal where waste_id in #{wasteId}