|
@@ -7,7 +7,6 @@ import cn.newfeifan.mall.module.member.api.user.dto.MemberUserRespDTO;
|
|
|
import cn.newfeifan.mall.module.pay.dal.dataobject.order.PayOrderDO;
|
|
|
import cn.newfeifan.mall.module.pay.service.order.PayOrderService;
|
|
|
import cn.newfeifan.mall.module.trade.controller.admin.aftersale.vo.AfterSaleBaseVO;
|
|
|
-import cn.newfeifan.mall.module.trade.controller.admin.aftersale.vo.AfterSaleDetailRespVO;
|
|
|
import cn.newfeifan.mall.module.trade.controller.admin.order.vo.*;
|
|
|
import cn.newfeifan.mall.module.trade.controller.admin.order.vo.detailvo.TradeOrderDeliveryVO;
|
|
|
import cn.newfeifan.mall.module.trade.controller.admin.order.vo.detailvo.TradeOrderPayVo;
|
|
@@ -35,14 +34,10 @@ import org.springframework.validation.annotation.Validated;
|
|
|
import org.springframework.web.bind.annotation.*;
|
|
|
|
|
|
import javax.annotation.Resource;
|
|
|
-import java.util.ArrayList;
|
|
|
import java.util.List;
|
|
|
import java.util.stream.Collectors;
|
|
|
|
|
|
import static cn.newfeifan.mall.framework.common.pojo.CommonResult.success;
|
|
|
-import static cn.newfeifan.mall.framework.common.util.collection.CollectionUtils.convertList;
|
|
|
-import static cn.newfeifan.mall.framework.common.util.collection.CollectionUtils.convertSet;
|
|
|
-import static cn.newfeifan.mall.framework.security.core.util.SecurityFrameworkUtils.getLoginUserId;
|
|
|
|
|
|
@Tag(name = "管理后台 - 订单详情")
|
|
|
@RestController
|
|
@@ -111,7 +106,7 @@ public class TradeOrderDetailController {
|
|
|
@Operation(summary = "新增接口20240402-售后信息-商户根据订单号查询售后")
|
|
|
@Parameter(name = "orderId", description = "订单ID", required = true, example = "1")
|
|
|
@PreAuthorize("@ss.hasPermission('trade:order:query')")
|
|
|
- public CommonResult<List<AfterSaleDetailRespVO>> afterSaleByMer(@RequestParam("orderId") Long orderId) {
|
|
|
+ public CommonResult<List<AfterSaleBaseVO>> afterSaleByMer(@RequestParam("orderId") Long orderId) {
|
|
|
// 查询订单
|
|
|
List<TradeOrderDO> orders = tradeOrderQueryService.getOrderByMerId(orderId);
|
|
|
if (orders.isEmpty()) {
|