liurunyu
2024-12-27 27bd4b5c03bbc8b665ffecb87d6c2cae3262e503
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
58
59
60
61
62
63
64
65
66
67
68
69
package com.dy.pipIrrStatistics.statistics;
 
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
 
/**
 * @Author: liurunyu
 * @Date: 2024/12/23 14:53
 * @Description
 */
@Slf4j
@Component
public class StChargeByIc {
 
    @Autowired
    protected StChargeByIcSv sv ;
 
    private Integer statisticsYear;
    private Integer statisticsMonth;
    private Integer statisticsDay;
    private Long statisticsStartId ;
    private Long statisticsEndId ;
 
 
    protected void statistics4Day(Integer statisticsYear,
                                  Integer statisticsMonth,
                                  Integer statisticsDay,
                                  Long statisticsStartId,
                                  Long statisticsEndId){
        this.statisticsYear = statisticsYear ;
        this.statisticsMonth = statisticsMonth ;
        this.statisticsDay = statisticsDay ;
        this.statisticsStartId = statisticsStartId ;
        this.statisticsEndId = statisticsEndId ;
        this.statisticsDay() ;
    }
 
 
    protected void statistics4MonthAndYear(Integer statisticsYear,
                                  Integer statisticsMonth){
        this.statisticsYear = statisticsYear ;
        this.statisticsMonth = statisticsMonth ;
        this.statisticsMonth() ;
        this.statisticsYear() ;
    }
 
    /**
     * 月统计---IC卡充值
     */
    private void statisticsDay(){
        sv.statisticsDay(statisticsYear, statisticsMonth, statisticsDay, statisticsStartId, statisticsEndId);
    }
 
 
    /**
     * 月统计---IC卡充值
     */
    private void statisticsMonth(){
        sv.statisticsMonth(statisticsYear, statisticsMonth);
    }
 
    /**
     * 年统计---IC卡充值
     */
    private void statisticsYear(){
        sv.statisticsYear(statisticsYear);
    }
}