|
|
|
@ -19,6 +19,7 @@ import com.hai.common.utils.WxUtils; |
|
|
|
|
import com.hai.config.HuiLianTongUnionCardConfig; |
|
|
|
|
import com.hai.config.UnionPayConfig; |
|
|
|
|
import com.hai.entity.HighRefundAudit; |
|
|
|
|
import com.hai.entity.OutRechargeChildOrder; |
|
|
|
|
import com.hai.entity.OutRechargeOrder; |
|
|
|
|
import com.hai.entity.OutRechargeOrderRecord; |
|
|
|
|
import com.hai.model.*; |
|
|
|
@ -58,16 +59,7 @@ public class OutRechargeOrderController { |
|
|
|
|
private OutRechargeOrderService outRechargeOrderService; |
|
|
|
|
|
|
|
|
|
@Resource |
|
|
|
|
private GoodsOrderServiceImpl goodsOrderService; |
|
|
|
|
|
|
|
|
|
@Resource |
|
|
|
|
private HighRefundAuditService highRefundAuditService; |
|
|
|
|
|
|
|
|
|
@Resource |
|
|
|
|
private HighUserService highUserService; |
|
|
|
|
|
|
|
|
|
@Resource |
|
|
|
|
private OutRechargeChildOrderService rechargeOrderRecordService; |
|
|
|
|
private OutRechargeChildOrderService outRechargeChildOrderService; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@RequestMapping(value = "/getOrderById", method = RequestMethod.GET) |
|
|
|
@ -84,6 +76,27 @@ public class OutRechargeOrderController { |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
@RequestMapping(value = "/getChildOrder", method = RequestMethod.GET) |
|
|
|
|
@ResponseBody |
|
|
|
|
@ApiOperation(value = "根据id查询子订单详情") |
|
|
|
|
public ResponseData getChildOrder(@RequestParam(name = "orderId", required = true) Long orderId) { |
|
|
|
|
try { |
|
|
|
|
|
|
|
|
|
// 查询充值子订单
|
|
|
|
|
Map<String, Object> childOrderMap = new HashMap<>(); |
|
|
|
|
|
|
|
|
|
childOrderMap.put("parent_order_id" , orderId); |
|
|
|
|
|
|
|
|
|
List<OutRechargeChildOrder> childOrderList = outRechargeChildOrderService.getListRechargeChildOrder(childOrderMap); |
|
|
|
|
|
|
|
|
|
return ResponseMsgUtil.success(childOrderList); |
|
|
|
|
|
|
|
|
|
} catch (Exception e) { |
|
|
|
|
log.error("HighOrderController --> getOrderById() error!", e); |
|
|
|
|
return ResponseMsgUtil.exception(e); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// @RequestMapping(value="/importRechargeOrder",method = RequestMethod.POST)
|
|
|
|
|
// @ResponseBody
|
|
|
|
|