|
|
@ -14,6 +14,7 @@ import com.epmet.service.stats.*; |
|
|
|
import com.epmet.util.DimIdGenerator; |
|
|
|
import com.epmet.util.ModuleConstant; |
|
|
|
import lombok.extern.slf4j.Slf4j; |
|
|
|
import oracle.sql.NUMBER; |
|
|
|
import org.apache.commons.lang3.StringUtils; |
|
|
|
import org.springframework.beans.BeanUtils; |
|
|
|
import org.springframework.beans.factory.annotation.Autowired; |
|
|
@ -155,7 +156,7 @@ public class StatsGroupServiceImpl implements StatsGroupService { |
|
|
|
if (allGrid.size() != NumConstant.ZERO) { |
|
|
|
// 1. 机关下有多少网格
|
|
|
|
List<GridIdListByCustomerResultDTO> customerGridIdList = customerGridService.getCustomerGridIdList(customerId, dateId); |
|
|
|
AtomicReference<Integer> gridSize = new AtomicReference<>(0); |
|
|
|
AtomicReference<Integer> gridSize = new AtomicReference<>(NumConstant.ZERO); |
|
|
|
if (customerGridIdList.size() != NumConstant.ZERO) { |
|
|
|
customerGridIdList.forEach(gridId -> { |
|
|
|
allGrid.forEach(allAgencyGrid -> { |
|
|
|