package com.bonus.tcp.smartIdentify.mapper;

import com.bonus.common.entity.tcp.DeviceUseVo;
import com.bonus.common.entity.tcp.PeopleVioVo;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

/**
 * @className:SmartIdentifyMapper
 * @author:cwchen
 * @date:2024-08-27-15:16
 * @version:1.0
 * @description:智能识别
 */
@Repository(value = "SmartIdentifyMapper")
public interface SmartIdentifyMapper {

    /**
     * 判断球机是否被班组领用
     * @param puid
     * @return boolean
     * @date 2024/8/27 15:22
     */
    List<DeviceUseVo> getDevices(String puid);

    /**
     * 根据身份证号获取班组成员/临时人员
     * @param idCard
     * @return List<PeopleVioVo>
     * @author cwchen
     * @date 2024/8/27 16:08
     */
    List<PeopleVioVo> getUserByIdCard(String idCard);

    void addWarnInfo(DeviceUseVo deviceUseVo);
}
