|
@ -194,11 +194,9 @@ public class StaffLoginLogController { |
|
|
PageData<AccountActivityInfo> res = staffLoginLogService.getAccountActivityInfo(formDTO); |
|
|
PageData<AccountActivityInfo> res = staffLoginLogService.getAccountActivityInfo(formDTO); |
|
|
if (!CollectionUtils.isEmpty(res.getList())) { |
|
|
if (!CollectionUtils.isEmpty(res.getList())) { |
|
|
if("1".equals(formDTO.getIsActivity())){ |
|
|
if("1".equals(formDTO.getIsActivity())){ |
|
|
// List<AccountActivityExcel> accountActivityExcels = ConvertUtils.sourceToTarget(res.getList(), AccountActivityExcel.class);
|
|
|
ExcelUtils.exportExcelToTarget(response, "社区活跃数据", res.getList(), AccountActivityExcel.class); |
|
|
ExcelUtils.exportExcelToTarget(response, null, res.getList(), AccountActivityExcel.class); |
|
|
|
|
|
}else { |
|
|
}else { |
|
|
// List<AccountInactivityExcel> accountActivityExcels = ConvertUtils.sourceToTarget(res.getList(), AccountInactivityExcel.class);
|
|
|
ExcelUtils.exportExcelToTarget(response, "社区不活跃数据", res.getList(), AccountInactivityExcel.class); |
|
|
ExcelUtils.exportExcelToTarget(response, null, res.getList(), AccountInactivityExcel.class); |
|
|
|
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
} |
|
|
} |
|
|