package com.dy.pipIrrStatistics.listeners;
|
|
import com.dy.pipIrrGlobal.daoRm.RmClientAmountDayMapper;
|
import org.apache.logging.log4j.LogManager;
|
import org.apache.logging.log4j.Logger;
|
import org.springframework.beans.factory.annotation.Autowired;
|
import org.springframework.stereotype.Component;
|
|
/**
|
* @Author: liurunyu
|
* @Date: 2024/7/24 9:31
|
* @Description
|
*/
|
@Component
|
public class StClient {
|
|
private static Logger log = LogManager.getLogger(StClient.class.getName()) ;
|
|
@Autowired
|
protected RmClientAmountDayMapper rmClientAmountDayDao ;
|
|
private String statisticsYyyy_mm;
|
private Long statisticsStartId ;
|
private Long statisticsEndId ;
|
|
protected void statistics(String statisticsYyyy_mm,
|
Long statisticsStartId,
|
Long statisticsEndId){
|
this.statisticsYyyy_mm = statisticsYyyy_mm ;
|
this.statisticsStartId = statisticsStartId ;
|
this.statisticsEndId = statisticsEndId ;
|
this.statisticsMonth() ;
|
this.statisticsYear() ;
|
}
|
|
/**
|
* 月统计---农户
|
*/
|
private void statisticsMonth(){
|
log.info(statisticsYyyy_mm + " " + statisticsStartId + " " + statisticsEndId);
|
log.info(rmClientAmountDayDao.toString());
|
}
|
|
/**
|
* 年统计---农户
|
*/
|
private void statisticsYear(){
|
|
}
|
}
|