whyczh
2021-12-15 ad0f314b970b7753660135dd9d459d3d8dffdb05
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
package com.whyc.mapper;
 
import com.whyc.pojo.Battinf;
import org.apache.ibatis.annotations.Param;
 
import java.util.List;
 
public interface BattInfMapper extends CustomMapper<Battinf>{
 
    Integer getMaxBattGroupId_zj();
 
    Integer getMaxStationId_zj();
 
    Integer getMaxDevId(@Param("fbsDeviceId") int fbsDeviceId);
 
    Battinf judgeBattStationName(@Param("stationName") String stationName,@Param("FBSDeviceName") String FBSDeviceName);
    //判断新增机房是否存在
    Battinf judgeBattStationName3(@Param("battinf")Battinf battinf);
 
 
    List<String> getStationName1ByUserId(@Param("userId")Integer userId);
 
    List<String> getStationName2ByUseridAndSt1(@Param("userId")Integer userId,@Param("stationName1")String stationName1);
 
    List<String> getStationName5ByUseridAndSt1AndSt2(@Param("stationName1")String stationName1,@Param("stationName2")String stationName2,@Param("userId")Integer userId);
 
    List<Battinf> getAllStationName(@Param("userId")Integer userId,@Param("stationName1")String stationName1,@Param("stationName2")String stationName2,@Param("stationName5")String stationName5);
 
    List<String> getStationNameInGroup(@Param("userId")Integer userId,@Param("stationName1")String stationName1);
 
    List<Battinf> searchInform(@Param("userId")Integer userId,@Param("stationName1")String stationName1,@Param("stationName2")String stationName2,@Param("stationName5")String stationName5,@Param("stationName3")String stationName3);
 
    List<Battinf> getStationListOfBattPower();
 
    List<Battinf> getBattgroupListByStationNameAndStationName1(@Param("userId")Integer userId,@Param("stationName1")String stationName1,@Param("stationName")String stationName);
 
    void insertUserBattgroupBaojigroupBattgroup(@Param("stationId") String stationId,@Param("battgroupId") Integer battgroupId);
    void insertUserBattgroupBaojigroupBattgroupSelect(@Param("stationId") String stationId,@Param("battgroupId") Integer battgroupId,@Param("userId")Integer userId);
 
    List<Battinf> getStationList(int userId);
 
 
    List<String> getAllBattProducer();
 
    int updatePublicKeyByDevId(@Param("publicKey")String publicKey,@Param("deviceId")Integer deviceId);
 
 
    List<Battinf> searchNotInBattMapByUid(@Param("uId") int uId);
 
    List<Integer> findUseYear(@Param("uId") int uId);
 
    List<Battinf> findBattProducer(@Param("uId")int uId);
 
}