|
|
|
@ -143,13 +143,14 @@ public class BackOrdersController {
|
|
|
|
|
@ApiParam(value = "班次id") @RequestParam(required = false) Integer classId,
|
|
|
|
|
@ApiParam(value = "0未支付 1,成功 2退费 3部分退费 null查全部") @RequestParam(required = false) Integer status,
|
|
|
|
|
@ApiParam(value = "支付类型0123,0支付宝,1微信,2微信移动端,3线下汇款 null查全部") @RequestParam(required = false) Integer payType,
|
|
|
|
|
@ApiParam(value = "是否付款过 0否 1 是 null 全部") @RequestParam(required = false) Integer isPay,
|
|
|
|
|
@ApiParam(value = "审核结果:1通过2拒绝0审核中 null全部(根据remark是否有值判断是否拒绝有值表示拒绝)") @RequestParam(required = false) Integer checkFlag,
|
|
|
|
|
@ApiParam(value = "付款单位") @RequestParam(required = false) String payCompany,
|
|
|
|
|
@ApiParam(value = "创建时间开始毫秒时间戳,默认3个月") @RequestParam(required = false) Long begin,
|
|
|
|
|
@ApiParam(value = "创建时间结束毫秒时间戳,默认3个月") @RequestParam(required = false) Long end,
|
|
|
|
|
@RequestParam(defaultValue = "1") Integer page,
|
|
|
|
|
@RequestParam(defaultValue = "20") Integer size) {
|
|
|
|
|
return Result.success(this.ordersService.queryAllOrders(page, size, orderId, orderNo, status, payType, classId,checkFlag,payCompany, begin, end));
|
|
|
|
|
return Result.success(this.ordersService.queryAllOrders(page, size, orderId, orderNo, status, payType,isPay, classId,checkFlag,payCompany, begin, end));
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@GetMapping("/queryAllOrdersExport")
|
|
|
|
@ -159,6 +160,7 @@ public class BackOrdersController {
|
|
|
|
|
@ApiParam(value = "班次id") @RequestParam(required = false) Integer classId,
|
|
|
|
|
@ApiParam(value = "0未支付 1,成功 2退费 3部分退费 null查全部") @RequestParam(required = false) Integer status,
|
|
|
|
|
@ApiParam(value = "支付类型0123,0支付宝,1微信,2微信移动端,3线下汇款 null查全部") @RequestParam(required = false) Integer payType,
|
|
|
|
|
@ApiParam(value = "是否付款过 0否 1 是 null 全部") @RequestParam(required = false) Integer isPay,
|
|
|
|
|
@ApiParam(value = "审核结果:1通过2拒绝0审核中 null全部(根据remark是否有值判断是否拒绝有值表示拒绝)") @RequestParam(required = false) Integer checkFlag,
|
|
|
|
|
@ApiParam(value = "付款单位") @RequestParam(required = false) String payCompany,
|
|
|
|
|
@ApiParam(value = "创建时间开始毫秒时间戳,默认3个月") @RequestParam(required = false) Long begin,
|
|
|
|
@ -176,7 +178,7 @@ public class BackOrdersController {
|
|
|
|
|
folder.mkdirs();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
PageInfo pageInfo = this.ordersService.queryAllOrders(1, 50000, orderId, orderNo, status, payType, classId,checkFlag,payCompany, begin, end);
|
|
|
|
|
PageInfo pageInfo = this.ordersService.queryAllOrders(1, 50000, orderId, orderNo, status, payType,isPay, classId,checkFlag,payCompany, begin, end);
|
|
|
|
|
List<OrdersDto> dataList = pageInfo.getList();
|
|
|
|
|
// 对上传的文件重命名,避免文件重名
|
|
|
|
|
String newName = format + UUID.randomUUID() + "订单-全部导出.xlsx";
|
|
|
|
|