PlatformDeviceMapper.java 1.09 KB
package com.glsx.mapper;

import com.glsx.model.PlatformDevice;
import com.glsx.vo.DeviceVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

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

/**
 * <p>Description:
 * <p>Project: shop
 *
 * @author wbh
 * @date 2020-12-15
 */
@Mapper
public interface PlatformDeviceMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(PlatformDevice record);

    int insertOrUpdate(PlatformDevice record);

    int insertOrUpdateSelective(PlatformDevice record);

    int insertSelective(PlatformDevice record);

    PlatformDevice selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(PlatformDevice record);

    int updateByPrimaryKey(PlatformDevice record);

    int updateBatch(List<PlatformDevice> list);

    int updateBatchSelective(List<PlatformDevice> list);

    List<PlatformDevice> getDeviceMgrList(DeviceVo deviceVo);

    List<String> getDeviceTypeList();

    int getDeviceCount();

    Map<String, Integer> getDeviceGraphData();

    int getDeviceCountAuth(@Param("customerName") String customerName);
}