异常消费流水导出
This commit is contained in:
+4
@@ -43,4 +43,8 @@ public class StExceptionRecordDTO {
|
||||
@Schema(title ="数量/页")
|
||||
private Integer pageSize;
|
||||
|
||||
private String startDate;
|
||||
|
||||
private String endDate;
|
||||
|
||||
}
|
||||
|
||||
+6
-7
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user