权限字符
This commit is contained in:
		| @ -109,7 +109,7 @@ public class DesCollectFileController extends BaseController { | |||||||
|     /** |     /** | ||||||
|      * 上传资料文件 |      * 上传资料文件 | ||||||
|      */ |      */ | ||||||
|     @SaCheckPermission("design:collectFile:add") |     @SaCheckPermission("design:collectFile:upload") | ||||||
|     @Log(title = "收资文件", businessType = BusinessType.INSERT) |     @Log(title = "收资文件", businessType = BusinessType.INSERT) | ||||||
|     @RepeatSubmit() |     @RepeatSubmit() | ||||||
|     @PostMapping("/upload") |     @PostMapping("/upload") | ||||||
|  | |||||||
| @ -68,7 +68,7 @@ public class DesDesignChangeController extends BaseController { | |||||||
|     /** |     /** | ||||||
|      * 根据主键导出设计变更单 |      * 根据主键导出设计变更单 | ||||||
|      */ |      */ | ||||||
|     @SaCheckPermission("design:designChange:export") |     @SaCheckPermission("design:designChange:exportWord") | ||||||
|     @Log(title = "设计变更管理", businessType = BusinessType.EXPORT) |     @Log(title = "设计变更管理", businessType = BusinessType.EXPORT) | ||||||
|     @PostMapping("/export/word") |     @PostMapping("/export/word") | ||||||
|     public void exportWordById(@NotNull(message = "主键不能为空") Long id, |     public void exportWordById(@NotNull(message = "主键不能为空") Long id, | ||||||
| @ -127,7 +127,7 @@ public class DesDesignChangeController extends BaseController { | |||||||
|     /** |     /** | ||||||
|      * 查询选择卷册目录 |      * 查询选择卷册目录 | ||||||
|      */ |      */ | ||||||
|     @SaCheckPermission("design:designChange:add") |     @SaCheckPermission("design:designChange:catalogList") | ||||||
|     @GetMapping("/catalogList/{projectId}") |     @GetMapping("/catalogList/{projectId}") | ||||||
|     public R<List<DesVolumeCatalogVo>> catalogList(@PathVariable("projectId") Long projectId) { |     public R<List<DesVolumeCatalogVo>> catalogList(@PathVariable("projectId") Long projectId) { | ||||||
|         return R.ok(desVolumeCatalogService.catalogList(projectId)); |         return R.ok(desVolumeCatalogService.catalogList(projectId)); | ||||||
| @ -136,7 +136,7 @@ public class DesDesignChangeController extends BaseController { | |||||||
|     /** |     /** | ||||||
|      * 查询选择目录下的蓝图 |      * 查询选择目录下的蓝图 | ||||||
|      */ |      */ | ||||||
|     @SaCheckPermission("design:designChange:add") |     @SaCheckPermission("design:designChange:blueprint") | ||||||
|     @GetMapping("/blueprint/{volumeCatalogId}") |     @GetMapping("/blueprint/{volumeCatalogId}") | ||||||
|     public R<List<DesVolumeFile>> blueprint(@PathVariable("volumeCatalogId") Long volumeCatalogId) { |     public R<List<DesVolumeFile>> blueprint(@PathVariable("volumeCatalogId") Long volumeCatalogId) { | ||||||
|         List<DesVolumeFile> list = desVolumeFileService.list(Wrappers.lambdaQuery(DesVolumeFile.class) |         List<DesVolumeFile> list = desVolumeFileService.list(Wrappers.lambdaQuery(DesVolumeFile.class) | ||||||
|  | |||||||
| @ -126,7 +126,7 @@ public class DesExtractController extends BaseController { | |||||||
|     /** |     /** | ||||||
|      * 查询用户的专业 |      * 查询用户的专业 | ||||||
|      */ |      */ | ||||||
|     @SaCheckPermission("design:extract:add") |     @SaCheckPermission("design:extract:userMajor") | ||||||
|     @GetMapping("/userMajor") |     @GetMapping("/userMajor") | ||||||
|     public R<List<DesUserVo>> selectUserMajor(DesUserBo bo) { |     public R<List<DesUserVo>> selectUserMajor(DesUserBo bo) { | ||||||
|         return R.ok( deUserService.queryList(bo)); |         return R.ok( deUserService.queryList(bo)); | ||||||
| @ -136,7 +136,7 @@ public class DesExtractController extends BaseController { | |||||||
|     /** |     /** | ||||||
|      * 清单导出 |      * 清单导出 | ||||||
|      */ |      */ | ||||||
|     @SaCheckPermission("design:extract:export") |     @SaCheckPermission("design:extract:exportWord") | ||||||
|     @Log(title = "提资清单", businessType = BusinessType.EXPORT) |     @Log(title = "提资清单", businessType = BusinessType.EXPORT) | ||||||
|     @PostMapping("/exportWord") |     @PostMapping("/exportWord") | ||||||
|     public void exportWordById(Long id, HttpServletResponse response){ |     public void exportWordById(Long id, HttpServletResponse response){ | ||||||
| @ -146,14 +146,14 @@ public class DesExtractController extends BaseController { | |||||||
|     /** |     /** | ||||||
|      * 查询提取的资料文件 |      * 查询提取的资料文件 | ||||||
|      */ |      */ | ||||||
|     @SaCheckPermission("design:extract:query") |     @SaCheckPermission("design:extract:fileList") | ||||||
|     @GetMapping("/fileList/{id}") |     @GetMapping("/fileList/{id}") | ||||||
|     public R<List<DesCollectFileVo>> fileList(@NotNull(message = "主键不能为空") |     public R<List<DesCollectFileVo>> fileList(@NotNull(message = "主键不能为空") | ||||||
|                                                         @PathVariable Long id) { |                                                         @PathVariable Long id) { | ||||||
|         return R.ok(desExtractService.fileList(id)); |         return R.ok(desExtractService.fileList(id)); | ||||||
|     } |     } | ||||||
|  |  | ||||||
|     /*** |     /** | ||||||
|      * 查询提资人对应专业 |      * 查询提资人对应专业 | ||||||
|      */ |      */ | ||||||
|     @GetMapping("/getProfession/{id}") |     @GetMapping("/getProfession/{id}") | ||||||
|  | |||||||
		Reference in New Issue
	
	Block a user