From a03469caafb8695da89e0f160be465dd49bb0fa3 Mon Sep 17 00:00:00 2001 From: zhibing.pu <393733352@qq.com> Date: 星期三, 04 九月 2024 14:33:30 +0800 Subject: [PATCH] 完善功能 --- ruoyi-service/ruoyi-order/src/main/java/com/ruoyi/order/service/impl/TOrderAppealServiceImpl.java | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/ruoyi-service/ruoyi-order/src/main/java/com/ruoyi/order/service/impl/TOrderAppealServiceImpl.java b/ruoyi-service/ruoyi-order/src/main/java/com/ruoyi/order/service/impl/TOrderAppealServiceImpl.java index 9eca45c..6c8d89c 100644 --- a/ruoyi-service/ruoyi-order/src/main/java/com/ruoyi/order/service/impl/TOrderAppealServiceImpl.java +++ b/ruoyi-service/ruoyi-order/src/main/java/com/ruoyi/order/service/impl/TOrderAppealServiceImpl.java @@ -70,12 +70,13 @@ setGoodsInfo(item,tShoppingOrder); } }); + list.forEach(e->e.setUid(e.getId().toString())); pageInfo.setRecords(list); return pageInfo; } @Override - public TOrderAppealVO getDetailById(Integer id) { + public TOrderAppealVO getDetailById(String id) { TOrderAppeal orderAppeal = this.baseMapper.selectById(id); TOrderAppealVO orderAppealVO = new TOrderAppealVO(); BeanUtils.copyProperties(orderAppeal,orderAppealVO); -- Gitblit v1.7.1