|
|
@ -118,9 +118,10 @@ public class AdminController {
|
|
|
|
User recipient = userService.getById(records.getGetUserId());
|
|
|
|
User recipient = userService.getById(records.getGetUserId());
|
|
|
|
User addressee = userService.getById(records.getAddresseeId());
|
|
|
|
User addressee = userService.getById(records.getAddresseeId());
|
|
|
|
User courier = userService.getById(records.getExpressId());
|
|
|
|
User courier = userService.getById(records.getExpressId());
|
|
|
|
// 查询地址信息
|
|
|
|
// 查询地址信息: 从哪里送的 送到哪里
|
|
|
|
Address address = addressService.getById(records.getAddressId());
|
|
|
|
Address addressTo = addressService.getById(records.getAddressId());
|
|
|
|
ExpressListDTO expressListDTO = new ExpressListDTO(records, goods, sender, recipient, addressee, courier, address);
|
|
|
|
Address addressFrom = addressService.getById(records.getAddressFrom());
|
|
|
|
|
|
|
|
ExpressListDTO expressListDTO = new ExpressListDTO(records, goods, sender, recipient, addressee, courier, addressFrom, addressTo);
|
|
|
|
expressListDTOList.add(expressListDTO);
|
|
|
|
expressListDTOList.add(expressListDTO);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
Page<ExpressListDTO> expressDTOPage = new Page<>(recordsPage.getCurrent(), recordsPage.getSize(), recordsPage.getTotal());
|
|
|
|
Page<ExpressListDTO> expressDTOPage = new Page<>(recordsPage.getCurrent(), recordsPage.getSize(), recordsPage.getTotal());
|
|
|
|