From d56a4ae3aded7fecbecf98d33557f28dedc3abc6 Mon Sep 17 00:00:00 2001 From: fengjin <1435304038@qq.com> Date: 星期一, 05 十二月 2022 16:57:43 +0800 Subject: [PATCH] Merge branch 'huacheng_test' of http://gitlab.nhys.cdnhxx.com/root/zhihuishequ into huacheng_test --- springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/impl/ConvenientMerchantServiceImpl.java | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/impl/ConvenientMerchantServiceImpl.java b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/impl/ConvenientMerchantServiceImpl.java index a6e2afa..e232775 100644 --- a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/impl/ConvenientMerchantServiceImpl.java +++ b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/impl/ConvenientMerchantServiceImpl.java @@ -190,7 +190,7 @@ @Override public R getMerchant(Long merchantId) { ConvenientMerchantVO convenientMerchantVO = this.baseMapper.selectMerchantById(merchantId); - List<Long> serviceIds = convenientServiceCategoryDAO.selectServiceIdsForMerchant(merchantId); + List<String> serviceIds = convenientServiceCategoryDAO.selectServiceIdsForMerchant(merchantId); convenientMerchantVO.setServiceIds(serviceIds); return R.ok(convenientMerchantVO); } @@ -272,7 +272,7 @@ Long merchantId = merchantDO.getId(); ConvenientMerchantVO convenientMerchantVO = new ConvenientMerchantVO(); BeanUtils.copyProperties(merchantDO, convenientMerchantVO); - List<Long> serviceIds = convenientServiceCategoryDAO.selectServiceIdsForMerchant(merchantId); + List<String> serviceIds = convenientServiceCategoryDAO.selectServiceIdsForMerchant(merchantId); convenientMerchantVO.setServiceIds(serviceIds); Date nowDate = new Date(); SimpleDateFormat mothFormat = new SimpleDateFormat("yyyy-MM"); @@ -484,7 +484,7 @@ return R.fail("商家不存在"); } Long merchantId = convenientMerchantVO.getId(); - List<Long> serviceIds = convenientServiceCategoryDAO.selectServiceIdsForMerchant(merchantId); + List<String> serviceIds = convenientServiceCategoryDAO.selectServiceIdsForMerchant(merchantId); convenientMerchantVO.setServiceIds(serviceIds); BigDecimal score = comShopFlowerEvaluateDAO.statisticsScore(merchantId); convenientMerchantVO.setScore(null == score ? BigDecimal.ZERO : NumberUtil.round(score, 1)); -- Gitblit v1.7.1