异常消费流水导出
This commit is contained in:
+4
@@ -43,4 +43,8 @@ public class StExceptionRecordDTO {
|
|||||||
@Schema(title ="数量/页")
|
@Schema(title ="数量/页")
|
||||||
private Integer pageSize;
|
private Integer pageSize;
|
||||||
|
|
||||||
|
private String startDate;
|
||||||
|
|
||||||
|
private String endDate;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
+6
-7
@@ -74,14 +74,13 @@ public class StConsumptionExceptionRecordController {
|
|||||||
@GetMapping("/export")
|
@GetMapping("/export")
|
||||||
@AutoLog(value = "异常流水列表导出")
|
@AutoLog(value = "异常流水列表导出")
|
||||||
public void getSpendingOrRechargeInfoListExport(HttpServletResponse response,
|
public void getSpendingOrRechargeInfoListExport(HttpServletResponse response,
|
||||||
@RequestParam(name = "startDate", required = false) String startDate,
|
StExceptionRecordDTO query) {
|
||||||
@RequestParam(name = "endDate", required = false) String endDate) {
|
|
||||||
StExceptionRecordDTO query = new StExceptionRecordDTO();
|
if(StringUtils.isNotBlank(query.getStartDate())){
|
||||||
if(StringUtils.isNotBlank(startDate)){
|
query.setStartTime(query.getStartDate());
|
||||||
query.setStartTime(startDate);
|
|
||||||
}
|
}
|
||||||
if(StringUtils.isNotBlank(startDate)){
|
if(StringUtils.isNotBlank(query.getEndDate())){
|
||||||
query.setEndTime(endDate);
|
query.setEndTime(query.getEndDate());
|
||||||
}
|
}
|
||||||
|
|
||||||
List<StExceptionRecordVo> stExceptionRecordVos = stConsumptionExceptionRecordService.exceptionRecordPageExport(query);
|
List<StExceptionRecordVo> stExceptionRecordVos = stConsumptionExceptionRecordService.exceptionRecordPageExport(query);
|
||||||
|
|||||||
Reference in New Issue
Block a user