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
56
57
package com.fgkj.mapper.impl;
 
import java.util.List;
 
import com.fgkj.dto.BattInf;
import com.fgkj.dto.Batt_User_Permit;
import com.fgkj.dto.Batt_maint_inf;
import org.springframework.stereotype.Repository;
 
public interface Batt_maint_infAgainMapper{
 
 
    //2.2电池故障处理统计查询
        /*
     * 维护区:stationname1
     * 包机人:stationname
     * 电池品牌:battproducer
     * 统计方式:devicename
     * 统计开始时间:battproductdate
     * 统计结束时间:battproductdata1
     * */
    public List<Batt_maint_inf> serchByCondition(BattInf obj);
 
 
    /*public static void main(String[] args) throws ParseException {
        BattInf binf = new BattInf();
        binf.setStationName1("");
        binf.setStationName("");
        binf.setBattProducer("");
        binf.setDeviceName("1");
        SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd");
        Date date1 = sdf.parse("2000-01-01");
        Date date2 = sdf.parse("2016-12-30");
        binf.setBattProductDate(ActionUtil.getSimpDate(date1));
        binf.setBattProductDate1(ActionUtil.getSimpDate(date2));
 
        User_inf uinf = new User_inf();
        uinf.setuName("0");
 
        Page p = new Page();
        p.setPageCurr(1);
        p.setPageSize(10);
 
        Batt_User_Permit bup = new Batt_User_Permit();
        bup.setBinf(binf);
        bup.setPage(p);
        bup.setUinf(uinf);
        Batt_maint_infAgainImpl bimpl = new Batt_maint_infAgainImpl();
        List<Batt_maint_inf> list = bimpl.serchByCondition(bup);
 
        for (Batt_maint_inf batt_maint_inf : list) {
            System.out.println(batt_maint_inf);
        }
        System.out.println(list.size());
    }*/
 
}