| | |
| | | return new ArrayList<>(); |
| | | } |
| | | |
| | | List<TEvaluationListVo> tEvaluationListVos = this.baseMapper.listAll(page, provinceCode, cityCode, name, phone, shopName,operatorId); |
| | | ArrayList<TEvaluationListVo> res = new ArrayList<>(); |
| | | |
| | | List<TEvaluationListVo> tEvaluationListVos = this.baseMapper.listAll(page, provinceCode, cityCode, |
| | | shopName, phone, shopName,operatorId); |
| | | for (TEvaluationListVo tEvaluationListVo : tEvaluationListVos) { |
| | | for (TAppUser tAppUser : list) { |
| | | if(tEvaluationListVo.getAppUserId().equals(tAppUser.getId())){ |
| | | tEvaluationListVo.setName(tAppUser.getName()); |
| | | tEvaluationListVo.setPhone(tAppUser.getPhone()); |
| | | res.add(tEvaluationListVo); |
| | | break; |
| | | } |
| | | } |
| | | } |
| | | return tEvaluationListVos; |
| | | return res; |
| | | } |
| | | |
| | | @Override |
| | | public TEvaluationListVo info(Integer id) { |
| | | TEvaluationListVo info = this.baseMapper.info(id); |
| | | Integer appUserId = info.getAppUserId(); |
| | | System.err.println("查詢用戶"); |
| | | TAppUser tAppUser = appUserClient.queryById(appUserId); |
| | | System.err.println("========="+tAppUser); |
| | | info.setName(tAppUser.getName()); |
| | | info.setPhone(tAppUser.getPhone()); |
| | | return info; |