package com.bonus.canteen.core.order.weight.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.bonus.canteen.core.device.manage.vo.ListDeviceByDishIdVO;
import com.bonus.canteen.core.order.deprecated.vo.AppPageOrdListVO;
import com.bonus.canteen.core.order.weight.dto.QueryWeighBindDetailDTO;
import com.bonus.canteen.core.order.weight.model.MacWeighBind;

import java.time.LocalDateTime;
import java.util.List;

public interface MacWeighBindService extends IService<MacWeighBind> {
   Boolean cleanAfterOrderPaid(String macOrdId, String plateSerialNum);

   List<ListDeviceByDishIdVO> queryDeviceByDishId(Long dishId);

   List<AppPageOrdListVO> queryWeighBindDetail(String openid, QueryWeighBindDetailDTO content);

   Integer countBindBetweenTimes(LocalDateTime startTime, LocalDateTime endTime);
}
