wuzeyu
2024-12-27 f5f8138f4f50eedd3598a9073956f0afa56e7139
pipIrr-platform/pipIrr-web/pipIrr-web-statistics/src/main/java/com/dy/pipIrrStatistics/statistics/StClientSv.java
@@ -30,7 +30,7 @@
    protected StClientAmountYearMapper stClientAmountYearDao ;
    /**
     * 月统计---漏损
     * 月统计---农户用水量及金额
     */
    @Transactional
    protected void statisticsMonth(Integer statisticsYear, Integer statisticsMonth, Long statisticsStartId, Long statisticsEndId){
@@ -50,6 +50,7 @@
                po.year = statisticsYear ;
                po.month = statisticsMonth ;
                po.amount = vo.amount;
                po.money = vo.money ;
                if(po.id == null) {
                    stClientAmountMonthDao.insert(po);
                }else{
@@ -60,7 +61,7 @@
    }
    /**
     * 年统计---漏损
     * 年统计---农户用水量及金额
     */
    @Transactional
    protected void statisticsYear(Integer statisticsYear){
@@ -79,6 +80,7 @@
                po.clientId = vo.clientId ;
                po.year = statisticsYear ;
                po.amount = vo.amount;
                po.money = vo.money ;
                if(po.id == null) {
                    stClientAmountYearDao.insert(po);
                }else{