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