异常消费流水导出

This commit is contained in:
hejiayang
2025-12-06 15:23:04 +08:00
parent a7d9efebbf
commit fb78ec7693
2 changed files with 10 additions and 7 deletions
@@ -43,4 +43,8 @@ public class StExceptionRecordDTO {
@Schema(title ="数量/页")
private Integer pageSize;
private String startDate;
private String endDate;
}
@@ -74,14 +74,13 @@ public class StConsumptionExceptionRecordController {
@GetMapping("/export")
@AutoLog(value = "异常流水列表导出")
public void getSpendingOrRechargeInfoListExport(HttpServletResponse response,
@RequestParam(name = "startDate", required = false) String startDate,
@RequestParam(name = "endDate", required = false) String endDate) {
StExceptionRecordDTO query = new StExceptionRecordDTO();
if(StringUtils.isNotBlank(startDate)){
query.setStartTime(startDate);
StExceptionRecordDTO query) {
if(StringUtils.isNotBlank(query.getStartDate())){
query.setStartTime(query.getStartDate());
}
if(StringUtils.isNotBlank(startDate)){
query.setEndTime(endDate);
if(StringUtils.isNotBlank(query.getEndDate())){
query.setEndTime(query.getEndDate());
}
List<StExceptionRecordVo> stExceptionRecordVos = stConsumptionExceptionRecordService.exceptionRecordPageExport(query);