|
|
@@ -61,6 +61,11 @@ public class KwpLedgerTradeController {
|
|
|
return HttpResult.ok(kwpLedgerTradeService.pageList(tradeReq));
|
|
|
}
|
|
|
|
|
|
+ @GetMapping("count")
|
|
|
+ public HttpResult count() {
|
|
|
+ return HttpResult.ok(kwpLedgerTradeService.orderCount());
|
|
|
+ }
|
|
|
+
|
|
|
/**
|
|
|
* 删除对账单
|
|
|
*
|
|
|
@@ -149,7 +154,7 @@ public class KwpLedgerTradeController {
|
|
|
BeanUtils.copyProperties(a, ledgerLogisticsVo);
|
|
|
return ledgerLogisticsVo;
|
|
|
}).collect(Collectors.toList());
|
|
|
- ExcelUtil.download(response, LedgerLogisticsVo.class, collect);
|
|
|
+ ExcelUtil.downData(response, LedgerLogisticsVo.class, collect);
|
|
|
return null;
|
|
|
}
|
|
|
}
|