| | |
| | | List<TOrderAftersalesVO> list = this.baseMapper.pageList(query,pageInfo); |
| | | for (TOrderAftersalesVO tOrderAftersalesVO : list) { |
| | | TOrder tOrder = orderMapper.selectById(tOrderAftersalesVO.getOrderId()); |
| | | if (tOrder.getUserId()!=null){ |
| | | TAppUser tAppUser = appUserMapper.selectById(tOrder.getUserId()); |
| | | TAppUser tAppUser = appUserMapper.selectById(tOrder.getUserId()); |
| | | if (tAppUser!=null&&(!StringUtils.hasLength(tOrderAftersalesVO.getRealName()))){ |
| | | tOrderAftersalesVO.setName(tAppUser.getName()); |
| | | tOrderAftersalesVO.setRealName(tAppUser.getRealName()); |
| | | tOrderAftersalesVO.setPhone(tAppUser.getPhone()); |