PlatformDeviceMapper.java
1.4 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
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.Date;
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);
List<Map<String, Integer>> getDeviceAccessTrendList();
List<Map<String, Object>> getDeviceActivationStatistic(@Param("startTime") Date startTime,
@Param("endTime") Date endTime, @Param("customerName") String customerName);
}