| | |
| | | sysAppUserVO.setSysInspections(sysInspections); |
| | | // 订单信息 |
| | | List<TSysOrderVO> sysOrders = sysOrderService.queryListByAppUserId(id); |
| | | for (TSysOrderVO sysOrder : sysOrders) { |
| | | List<TSysInspection> tSysInspections = sysInspections.stream().filter(c -> c.getId().equals(sysOrder.getInspectionId())).collect(Collectors.toList()); |
| | | if(!CollectionUtils.isEmpty(tSysInspections)){ |
| | | TSysInspection sysInspection = tSysInspections.get(0); |
| | | sysOrder.setSysInspection(sysInspection); |
| | | } |
| | | } |
| | | sysAppUserVO.setSysOrders(sysOrders); |
| | | if(sysAppUserVO.getBirthTime() != null){ |
| | | long age = ChronoUnit.YEARS.between(sysAppUserVO.getBirthTime(), LocalDateTime.now()); |