| | |
| | | protected StClientAmountYearMapper stClientAmountYearDao ; |
| | | |
| | | /** |
| | | * 月统计---漏损 |
| | | * 月统计---农户用水量及金额 |
| | | */ |
| | | @Transactional |
| | | protected void statisticsMonth(Integer statisticsYear, Integer statisticsMonth, Long statisticsStartId, Long statisticsEndId){ |
| | |
| | | po.year = statisticsYear ; |
| | | po.month = statisticsMonth ; |
| | | po.amount = vo.amount; |
| | | po.money = vo.money ; |
| | | if(po.id == null) { |
| | | stClientAmountMonthDao.insert(po); |
| | | }else{ |
| | |
| | | } |
| | | |
| | | /** |
| | | * 年统计---漏损 |
| | | * 年统计---农户用水量及金额 |
| | | */ |
| | | @Transactional |
| | | protected void statisticsYear(Integer statisticsYear){ |
| | |
| | | po.clientId = vo.clientId ; |
| | | po.year = statisticsYear ; |
| | | po.amount = vo.amount; |
| | | po.money = vo.money ; |
| | | if(po.id == null) { |
| | | stClientAmountYearDao.insert(po); |
| | | }else{ |