package com.aiotagro.cattletrade.business.service;

import com.aiotagro.cattletrade.business.dto.DeviceDto;
import com.aiotagro.cattletrade.business.entity.JbqClient;
import com.aiotagro.common.core.web.domain.AjaxResult;
import com.aiotagro.common.core.web.domain.PageResultResponse;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 * 智能耳标表 服务类
 * </p>
 *
 * @author admin
 * @since 2024-12-26
 */
public interface IJbqClientService extends IService<JbqClient> {

    PageResultResponse jbqList(DeviceDto dto);
    
    /**
     * 根据运送清单ID查询设备列表
     * 
     * @param deliveryId 运送清单ID
     * @param deviceType 设备类型
     * @return AjaxResult
     */
    AjaxResult getDevicesByDeliveryId(Integer deliveryId, Integer deviceType);
}
