提交代码

dev-discount
胡锐 2 years ago
parent ac9204492c
commit 73b7434ae6
  1. 4
      hai-order/src/main/java/com/web/controller/business/OrderIntegralRechargeController.java

@ -88,7 +88,7 @@ public class OrderIntegralRechargeController {
@RequestMapping(value="/getOrderDetail",method = RequestMethod.GET) @RequestMapping(value="/getOrderDetail",method = RequestMethod.GET)
@ResponseBody @ResponseBody
@ApiOperation(value = "查询油站详情") @ApiOperation(value = "查询油站详情")
public ResponseData getOilOrdergetOrderDetailDetail(@RequestParam(name = "orderNo", required = true) String orderNo) { public ResponseData getOrderDetail(@RequestParam(name = "orderNo", required = true) String orderNo) {
try { try {
Map<String, Object> map = new HashMap<>(); Map<String, Object> map = new HashMap<>();
map.put("tradeOrder", orderService.getOrderDetailByNo(orderNo)); map.put("tradeOrder", orderService.getOrderDetailByNo(orderNo));
@ -126,7 +126,7 @@ public class OrderIntegralRechargeController {
String fileName = "/temporary/" + System.currentTimeMillis() + ".xlsx"; String fileName = "/temporary/" + System.currentTimeMillis() + ".xlsx";
EasyExcel.write(SysConst.getSysConfig().getFileUrl() + fileName, OrderIntegralRechargeModel.class) EasyExcel.write(SysConst.getSysConfig().getFileUrl() + fileName, OrderIntegralRechargeModel.class)
.sheet("卡券订单") .sheet("积分充值订单")
.doWrite(list); .doWrite(list);
return ResponseMsgUtil.success(fileName); return ResponseMsgUtil.success(fileName);

Loading…
Cancel
Save