| | |
| | | // 获取符合条件的记录数 |
| | | Long itemTotal = 0L ; |
| | | String clientIdsJson = null ; |
| | | /* 2025-07-14 采用农户总数 |
| | | if(oneYear){ |
| | | itemTotal = stClientAmountYearDao.selectCountYearStatistics4OneYear(params) ; |
| | | }else{ |
| | | itemTotal = stClientAmountYearDao.selectCountYearStatistics(params) ; |
| | | List<VoStClientIdAmountYearRecord> clientIds = stClientAmountYearDao.selectClientIds4YearStatistics(params); |
| | | clientIdsJson = JSON.toJSONString(clientIds) ; |
| | | } |
| | | }*/ |
| | | itemTotal = stClientAmountYearDao.selectCountYearStatistics(params) ; |
| | | |
| | | if(itemTotal != null && itemTotal > 0) { |
| | | rsQrVo.pageSize = qo.pageSize; |
| | | rsQrVo.pageCurr = qo.pageCurr; |
| | | rsQrVo.calculateAndSet(itemTotal, params); |
| | | |
| | | List<VoStClientIdAmountYearRecord> clientIds = stClientAmountYearDao.selectClientIds4YearStatistics(params); |
| | | clientIdsJson = JSON.toJSONString(clientIds) ; |
| | | |
| | | List<VoStClientAmountYearRecords> group = new ArrayList<>(); |
| | | int count = 1 ; |
| | | for(int year: yearGrp){ |