lxw
2023-07-29 d1675cea759f0090c43860efabdeb9448d25c41d
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.whyc.mapper;
 
import com.whyc.dto.paramter.BattinfPar;
import com.whyc.dto.result.ReportBattBadDTO;
import com.whyc.pojo.BadbattMon;
import com.whyc.pojo.BattMapInformation;
import com.whyc.pojo.Battinf;
import org.apache.ibatis.annotations.Param;
 
import java.util.List;
 
public interface BadbattMonMapper extends CustomMapper<BadbattMon>{
    int deleteByPrimaryKey(Integer num);
 
    @Override
    int insert(BadbattMon record);
 
    int insertSelective(BadbattMon record);
 
    BadbattMon selectByPrimaryKey(Integer num);
 
    int updateByPrimaryKeySelective(BadbattMon record);
 
    int updateByPrimaryKey(BadbattMon record);
 
    //落后单体查询:根据条件查询落后单体(用户管理的电池组)
    List<ReportBattBadDTO> searchByInfo(@Param("binf") BattinfPar battinfPar, @Param("uId") int uId);
 
    int searchNums(int uid);
 
    int getBadCountByStationId(String stationId);
 
    List<BattMapInformation> findBehind();
 
    //查询满足条件的落后单体数量
    int getQualityAnalysis(int userId, float alarmParm);
 
    //站点劣化数量(包含损坏)<机房>
    int getQualityAnalysisStation(int userId, float alarmParm);
 
    //站点劣化数量(包含损坏)<电池组>
    int getGroupAnalysis(int userId, float alarmParm);
 
    //查询年份内数据
    List<BadbattMon> getProductQuaAnalysis(int userId, int i, float capAlarm, float capChange, int inoroutflag);
 
    //判断是否落后
    int judgeBatt(int battGroupId);
 
    //首页上点击电池损坏站
    List<Battinf> searCapChange(int userId, float capChange);
 
    //首页上点击容量不足站
    List<Battinf> searchCapAlarm(int userId, float capAlarm, float capChange);
 
}