if (CollectionUtil.isNotEmpty(shopServiceList)) { for (ShopService shopService : shopServiceList) { ServiceUpgrade serviceUpgrade = serviceUpgradeDao.selectById(shopService.getServiceId()); String mark = serviceUpgrade.getMark(); if (systemAccount.equals(mark)) { shopDetailsVO.setAccountNumber(shopService.getSize().intValue()); } else if (cloudStorage.equals(mark)) { shopDetailsVO.setCloudStorage(shopService.getSize()); } else if (emailAccount.equals(mark)) { shopDetailsVO.setEmailNumber(shopService.getSize().intValue()); } } }

if CollectionUtilisNotEmptyshopServiceList for ShopService shopService shopServiceList ServiceUpgrade serviceUpgrade = serviceUpgradeDaoselectByIdshopServicegetServiceId;

原文地址: https://www.cveoy.top/t/topic/8ay 著作权归作者所有。请勿转载和采集!

免费AI点我,无需注册和登录