| | |
| | | */ |
| | | public void statisticsIntakeAmountDay() throws Exception{ |
| | | int nowYear = Integer.parseInt(DateTime.yyyy()) ; |
| | | int nowMonth = Integer.parseInt(DateTime.mm()) ; |
| | | int nowMonth = Integer.parseInt(DateTime.MM()) ; |
| | | int nowDay = Integer.parseInt(DateTime.dd()) ; |
| | | Date startDt ; |
| | | Date endDt ; |
| | |
| | | } |
| | | if(!stop){ |
| | | startDt = DateTime.dateFrom_yyyy_MM_dd_HH_mm_ss(ym[0] + "-" + ym[1] + "-" + day + " 00:00:00") ; |
| | | endDt = DateTime.dateFrom_yyyy_MM_dd(ym[0] + "-" + ym[1] + "-" + day + " 23:59:59") ; |
| | | endDt = DateTime.dateFrom_yyyy_MM_dd_HH_mm_ss(ym[0] + "-" + ym[1] + "-" + day + " 23:59:59") ; |
| | | list = dao.statisticAllIntakeAmountDayFromOpenCloseValveHistory(startDt, endDt) ; |
| | | this.doStatisticsIntakeAmountDay(ym[0], ym[1], day, list) ; |
| | | }else{ |
| | |
| | | */ |
| | | public void statisticsIntakeAmountMonth() throws Exception{ |
| | | int nowYear = Integer.parseInt(DateTime.yyyy()) ; |
| | | int nowMonth = Integer.parseInt(DateTime.mm()) ; |
| | | int nowMonth = Integer.parseInt(DateTime.MM()) ; |
| | | Date startDt ; |
| | | Date endDt ; |
| | | List<StIntakeAmountMonth> list ; |