whycrzg
2021-02-23 351b9a53cb9ecebdf8f79db0117f540d9c42c2a4
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
package com.fgkj.mapper.impl;
 
import com.fgkj.dto.Batt_Maint_Dealarm;
import com.fgkj.dto.Batt_devalarm_data_history;
 
import java.util.List;
 
public interface Batt_devalarm_data_historyMapper{
 
    //3.4设备历史告警(删除告警)<多数据删除>
    public int deletePro(List<Batt_devalarm_data_history> list);
 
     //3.4设备告警历史记录查询
    /*时间段放在binf的getBattProductDate中*/
    public List serchByCondition(Batt_Maint_Dealarm bmd);
 
   /*public static void main(String[] args) throws ParseException {
        Batt_devalarm_data_historyImpl bimpl=new Batt_devalarm_data_historyImpl();
        Page p = new Page();
        p.setPageCurr(1);
        p.setPageSize(10);
        *//*条件所存放的位置前台:tb_batt_maint_inf
         * 在线电压:usr_id 
         * 组端电压:fault_type_id
         * 充电电流:fault_level 
         * 放电电流:record_uid 
         * 单体电压:maint_type_id 
         * 单体温度:maint_done
         * 单体内阻:maint_close 
         * 连接条阻抗:master_id
         * *//*
        SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd");
        Date date1 = sdf.parse("2000-01-01");
        Date date2 = sdf.parse("2020-01-01");
        
        
        BattInf binf = new BattInf();
        
        binf.setStationName("");
        binf.setStationName1("");
        binf.setBattProductDate(ActionUtil.getSimpDate(date1));
        binf.setBattProductDate1(ActionUtil.getSimpDate(date2));
        
        User_inf uinf=new User_inf();
        uinf.setuId(1002);
        Batt_Maint_Dealarm bmd = new Batt_Maint_Dealarm();
        bmd.setPage(p);
        bmd.setBinf(binf);
        bmd.setUinf(uinf);
        List<Batt_devalarm_data_history> list=bimpl.serchByCondition(bmd);
        for (Batt_devalarm_data_history b : list) {
            System.out.println(b);
        }
    }*/
}