✨ 完善核销用户记录和毛利报表导出日志

This commit is contained in:
caojia
2026-10-19 16:43:14 +08:00
parent a754e8dcc6
commit 383ef55e00
14 changed files with 103 additions and 24 deletions
@@ -140,14 +140,14 @@ public class PrcProfitReportController extends BaseController
public TableDataInfo exports()
{
startPage();
return getDataTable(profitReportService.selectExports(getUsername()));
return getDataTable(profitReportService.selectExports());
}
@PreAuthorize("@ss.hasPermi('report:profit:export')")
@GetMapping("/exports/{exportId}/download")
public void downloadExport(@PathVariable Long exportId, HttpServletResponse response) throws Exception
{
PrcProfitReportExport export = profitReportService.selectExport(exportId, getUsername());
PrcProfitReportExport export = profitReportService.selectExport(exportId);
if (export == null || !"SUCCESS".equals(export.getExportStatus())
|| export.getStorageKey() == null || export.getStorageKey().isBlank())
{