✨ 拆分应收账单导出与下载权限

This commit is contained in:
caojia
2026-10-28 14:58:09 +08:00
parent acfdfd5cbf
commit 173e22a58e
3 changed files with 66 additions and 2 deletions
@@ -283,7 +283,7 @@ public class ArBillController extends BaseController {
/**
* 下载已成功生成的导出文件;文件内容由服务层从临时文件或配置存储读取。
*/
@PreAuthorize("@ss.hasPermi('ar:bill:export')")
@PreAuthorize("@ss.hasPermi('ar:bill:download')")
@GetMapping("/export/{exportId}/download")
public void download(@PathVariable Long exportId, HttpServletResponse response) throws Exception {
billService.downloadExport(exportId, response);