| | |
| | | //添加user |
| | | R addUserResult = userService.addConvenientMerchantUser(convenientMerchantDTO); |
| | | if (R.isOk(addUserResult)) { |
| | | Long merchantUserId =Long.parseLong(addUserResult.getData().toString()); |
| | | Long merchantUserId = Long.parseLong(addUserResult.getData().toString()); |
| | | convenientMerchantDO.setUserId(merchantUserId); |
| | | this.baseMapper.updateById(convenientMerchantDO); |
| | | } else { |
| | |
| | | merchantVO.setIntroduction("农产直销、综合商贸、冷链储运、中央厨房、检验检疫、农博会展、总部商务、综合服务。"); |
| | | merchantVO.setServiceScope(""); |
| | | merchantVO.setConsultationVolume(0); |
| | | merchantVO.setMonthConsultationVolume(0); |
| | | merchantVOS.add(merchantVO); |
| | | //第一页默认把犇师傅维修中心加载到第一个 |
| | | List<ConvenientMerchantVO> merchantList = this.baseMapper.selectMerchantByName(pagePopularMerchantDTO.getCommunityId(), currentMon); |