|
|
@ -36,11 +36,14 @@ public class OrderCouponController { |
|
|
|
@RequestMapping(value="/queryDetail",method = RequestMethod.GET) |
|
|
|
@RequestMapping(value="/queryDetail",method = RequestMethod.GET) |
|
|
|
@ResponseBody |
|
|
|
@ResponseBody |
|
|
|
@ApiOperation(value = "查询交易订单详情") |
|
|
|
@ApiOperation(value = "查询交易订单详情") |
|
|
|
public ResponseData queryDetail(@RequestParam(value = "orderChildOrderNo" , required = true) String orderChildOrderNo) { |
|
|
|
public ResponseData queryDetail(@RequestParam(value = "orderChildNo" , required = true) String orderChildNo) { |
|
|
|
try { |
|
|
|
try { |
|
|
|
Map<String,Object> param = new HashMap<>(); |
|
|
|
Map<String,Object> param = new HashMap<>(); |
|
|
|
param.put("orderNo", orderCouponService.getListByChildOrderNo(orderChildOrderNo)); |
|
|
|
param.put("order", orderCouponService.getDetailByChildOrderNo(orderChildNo)); |
|
|
|
param.put("goods", null); |
|
|
|
|
|
|
|
|
|
|
|
Map<String,Object> goodsParam = new HashMap<>(); |
|
|
|
|
|
|
|
goodsParam.put("orderChildNo", orderChildNo); |
|
|
|
|
|
|
|
param.put("goods", orderCouponService.getOrderList(goodsParam)); |
|
|
|
|
|
|
|
|
|
|
|
return ResponseMsgUtil.success(param); |
|
|
|
return ResponseMsgUtil.success(param); |
|
|
|
|
|
|
|
|
|
|
|