package com.bonus.canteen.core.device.manage.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.bonus.canteen.core.device.manage.dto.DeviceSearchDTO;
import com.bonus.canteen.core.device.manage.model.DeviceInfo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface DeviceInfoMapper extends BaseMapper<DeviceInfo> {
   List<DeviceInfo> list(@Param("param") DeviceSearchDTO param);

//   List<DeviceInfo> listpermission(@Param("param") DeviceSearchDTO param);
//
//   List<DeviceInfo> listpermissionchupinji(@Param("param") DeviceSearchDTO param);

   Integer getMaxOrdNum(@Param("deviceId") Long deviceId, @Param("deviceType") Integer deviceType);
//
//   List<DeviceOrdNumVo> getMaxOrdNumList(@Param("deviceIds") List<Long> deviceIds, @Param("deviceType") Integer deviceType);
//
//   List<MarketDeviceTreeVO> listTenantDevice(@Param("deviceTypes") List<Integer> deviceTypes, @Param("canteenIds") List<Long> canteenIds, @Param("stallIds") List<Long> stallIds);
//
//   List<DeviceTypeDto> getDeviceTypeCountMap();
//
//   List<String> listLocaltionDevices(@Param("param") DeviceSearchDTO param);
}
