package com.bonus.material.device.mapper;



import com.bonus.common.biz.domain.SysFileInfo;
import com.bonus.common.biz.domain.TypeInfo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author syruan
 */
@Mapper
public interface SysFileInfoMapper {

    //根据设备id查询
    List<SysFileInfo> selectByMaId(Long maId);

    void insertFileInfo(SysFileInfo fileInfo);

    // TODO: 2020/7/27
    //  BmCompanyInfo getBmCompanyInfo(@Param("companyName") String companyName);

    TypeInfo getTypeInfo(@Param("deviceName") String deviceName);
}
