package com.aiotagro.cattletrade.business.mapper;

import com.aiotagro.cattletrade.business.dto.DeviceDto;
import com.aiotagro.cattletrade.business.entity.JbqClient;
import com.aiotagro.cattletrade.business.vo.JbqClientVo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 智能耳标表 Mapper 接口
 * </p>
 *
 * @author admin
 * @since 2024-12-26
 */
@Mapper
public interface JbqClientMapper extends BaseMapper<JbqClient> {

    List<JbqClientVo> JbqList(@Param("item") DeviceDto dto);
    
    /**
     * 查询未分配的智能耳标列表
     */
    List<JbqClientVo> selectUnassignedJbqList(@Param("item") DeviceDto dto);
}
