This commit is contained in:
dute7liang
2024-01-14 22:04:48 +08:00
parent b163213beb
commit cd281375ac
17 changed files with 124 additions and 24 deletions

View File

@@ -56,9 +56,12 @@ public class AccountCashController extends BaseController {
@SaCheckPermission("cai:accountCash:export")
@Log(title = "用户提现记录", businessType = BusinessType.EXPORT)
@PostMapping("/export")
public void export(AccountCash bo, HttpServletResponse response) {
List<AccountCash> list = accountCashService.list(Wrappers.lambdaQuery(bo));
ExcelUtil.exportExcel(list, "用户提现记录", AccountCash.class, response);
public void export(AccountCashAdminVo bo, HttpServletResponse response) {
PageQuery query = new PageQuery();
query.setPageSize(Integer.MAX_VALUE);
query.setPageNum(1);
List<AccountCashAdminVo> list = accountCashService.pageAdmin(query,bo).getRecords();
ExcelUtil.exportExcel(list, "用户提现记录", AccountCashAdminVo.class, response);
}
/**