✨ 完善核销用户记录和毛利报表导出日志
This commit is contained in:
+2
-2
@@ -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())
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user