LocationMapper.java
1.1 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
package com.sunyo.energy.location.dao;
import com.sunyo.energy.location.model.Location;
import io.swagger.models.auth.In;
import org.apache.ibatis.annotations.Param;
import java.util.List;
import java.util.Map;
public interface LocationMapper {
int deleteByPrimaryKey(Integer id);
int insert(Location record);
int insertSelective(Location record);
List<Location> selectByPrimaryKey();
List<Location> selectAll(Integer id);
List<Location> selectAllAdrName(String adrName);
Location waterId_eleId(String adrName);
int updateByPrimaryKeySelective(Location record);
int updateByPrimaryKey(Location record);
Map<String, Object> userPayList(String roomNumber);
String selectRoomNumber(String roomNumber);
String selectRoomNumberElectricity(String roomNumber);
int countAdrName(Map<String, Object> map);
int countParent(Integer id);
String findWmId(String roomNumber);
String eeId(String roomNumber);
int editEeId(@Param(value = "name") String name,
@Param(value = "deviceId") String deviceId);
}