From 9ea8edde96272e14b0deacb81996a65c4fcb5285 Mon Sep 17 00:00:00 2001 From: lige <bestlige@outlook.com> Date: 星期三, 13 九月 2023 16:49:18 +0800 Subject: [PATCH] 修改接口权限 --- ltkj-admin/src/main/java/com/ltkj/web/controller/system/TjSendRecordController.java | 12 ltkj-admin/src/main/java/com/ltkj/web/controller/system/SysMenuController.java | 12 ltkj-admin/src/main/java/com/ltkj/web/controller/system/ServerController.java | 2 ltkj-admin/src/main/java/com/ltkj/web/controller/system/TjAskMedicalHistoryController.java | 8 ltkj-admin/src/main/java/com/ltkj/web/controller/system/TjCateringController.java | 12 ltkj-admin/src/main/java/com/ltkj/web/controller/system/DictUserInfoController.java | 8 ltkj-admin/src/main/java/com/ltkj/web/controller/system/TjFlowingWaterController.java | 4 ltkj-admin/src/main/java/com/ltkj/web/controller/system/SysDictDataController.java | 2 ltkj-admin/src/main/java/com/ltkj/web/controller/system/SysRoleController.java | 30 +- ltkj-admin/src/main/java/com/ltkj/web/controller/system/TjSendTemplateController.java | 12 ltkj-admin/src/main/java/com/ltkj/web/controller/system/JimuReportController.java | 12 ltkj-admin/src/main/java/com/ltkj/web/controller/system/SysConfigController.java | 14 ltkj-admin/src/main/java/com/ltkj/web/controller/system/TjReportTemplateController.java | 4 ltkj-admin/src/main/java/com/ltkj/web/controller/system/TjOrderDetailRulesController.java | 2 ltkj-admin/src/main/java/com/ltkj/web/controller/system/TjPackageController.java | 2 ltkj-admin/src/main/java/com/ltkj/web/controller/system/TjPureToneTestController.java | 12 ltkj-admin/src/main/java/com/ltkj/web/controller/system/TjPrintOrderController.java | 12 ltkj-admin/src/main/java/com/ltkj/web/controller/system/TjProContrastController.java | 44 ++-- ltkj-admin/src/main/java/com/ltkj/web/controller/system/TjCheckController.java | 10 ltkj-admin/src/main/java/com/ltkj/web/controller/system/TjDwDeptController.java | 2 ltkj-admin/src/main/java/com/ltkj/web/controller/system/TjCustomerController.java | 2 ltkj-admin/src/main/java/com/ltkj/web/controller/system/TjGroupingProController.java | 2 ltkj-admin/src/main/java/com/ltkj/web/controller/system/CacheController.java | 14 ltkj-admin/src/main/java/com/ltkj/web/controller/system/TjRuleAdviceController.java | 12 ltkj-admin/src/main/java/com/ltkj/web/controller/system/SysLogininforController.java | 10 ltkj-admin/src/main/java/com/ltkj/web/controller/system/TjHomePageController.java | 4 ltkj-admin/src/main/java/com/ltkj/web/controller/system/TjAdviceController.java | 12 ltkj-admin/src/main/java/com/ltkj/web/controller/system/SysDictTypeController.java | 14 ltkj-admin/src/main/java/com/ltkj/web/controller/system/DictSfxmController.java | 12 ltkj-admin/src/main/java/com/ltkj/web/controller/system/SysOperlogController.java | 8 ltkj-admin/src/main/java/com/ltkj/web/controller/system/DictCompController.java | 12 ltkj-admin/src/main/java/com/ltkj/web/controller/system/DictEmerController.java | 12 ltkj-admin/src/main/java/com/ltkj/web/controller/system/TjXdPictureController.java | 12 ltkj-admin/src/main/java/com/ltkj/web/controller/system/TjDiscardInspectionController.java | 4 ltkj-admin/src/main/java/com/ltkj/web/controller/system/TjOtherCheckController.java | 12 ltkj-admin/src/main/java/com/ltkj/web/controller/system/TjReservationController.java | 2 ltkj-admin/src/main/java/com/ltkj/web/controller/system/SysUserOnlineController.java | 4 ltkj-admin/src/main/java/com/ltkj/web/controller/system/DictSsdmController.java | 12 ltkj-admin/src/main/java/com/ltkj/web/controller/system/DictYpdmController.java | 12 ltkj-admin/src/main/java/com/ltkj/web/controller/system/SysPostController.java | 12 ltkj-admin/src/main/java/com/ltkj/web/controller/system/DictHospController.java | 12 ltkj-admin/src/main/java/com/ltkj/web/controller/system/TjOrderDetailController.java | 12 ltkj-admin/src/main/java/com/ltkj/web/controller/system/DictOrgController.java | 12 ltkj-admin/src/main/java/com/ltkj/web/controller/system/DictIcdController.java | 14 ltkj-admin/src/main/java/com/ltkj/web/controller/system/TjDwGroupingController.java | 2 ltkj-admin/src/main/java/com/ltkj/web/controller/system/TjProjectController.java | 10 ltkj-admin/src/main/java/com/ltkj/web/controller/system/TjTollCollectorController.java | 10 ltkj-admin/src/main/java/com/ltkj/web/controller/system/SysUserController.java | 25 +- ltkj-admin/src/main/java/com/ltkj/web/controller/system/AppBannerController.java | 12 ltkj-admin/src/main/java/com/ltkj/web/controller/system/TjStandardController.java | 12 ltkj-admin/src/main/java/com/ltkj/web/controller/system/SysNoticeController.java | 10 ltkj-admin/src/main/java/com/ltkj/web/controller/system/TjChargingStandardController.java | 10 ltkj-admin/src/main/java/com/ltkj/web/controller/system/TjRulesController.java | 12 ltkj-admin/src/main/java/com/ltkj/web/controller/system/TjConsumablesController.java | 12 ltkj-admin/src/main/java/com/ltkj/web/controller/system/TjSamplingController.java | 12 55 files changed, 289 insertions(+), 288 deletions(-) diff --git a/ltkj-admin/src/main/java/com/ltkj/web/controller/system/AppBannerController.java b/ltkj-admin/src/main/java/com/ltkj/web/controller/system/AppBannerController.java index e62a91e..0b90426 100644 --- a/ltkj-admin/src/main/java/com/ltkj/web/controller/system/AppBannerController.java +++ b/ltkj-admin/src/main/java/com/ltkj/web/controller/system/AppBannerController.java @@ -41,7 +41,7 @@ /** * 鏌ヨ灏忕▼搴忎富椤佃疆鎾浘鍒楄〃 */ - @PreAuthorize("@ss.hasPermi('hosp:banner:list')") + //@PreAuthorize("@ss.hasPermi('hosp:banner:list')") @GetMapping("/list") @ApiOperation(value = "鏌ヨ灏忕▼搴忎富椤佃疆鎾浘鍒楄〃") public TableDataInfo list(AppBanner appBanner) { @@ -57,7 +57,7 @@ //@PreAuthorize("@ss.hasPermi('hosp:banner:export')") @Log(title = "灏忕▼搴忎富椤佃疆鎾浘", businessType = BusinessType.EXPORT) @PostMapping("/export") - @ApiOperation(value = "瀵煎嚭灏忕▼搴忎富椤佃疆鎾浘鍒楄〃") + //@ApiOperation(value = "瀵煎嚭灏忕▼搴忎富椤佃疆鎾浘鍒楄〃") public void export(HttpServletResponse response, AppBanner appBanner) { List<AppBanner> list = appBannerService.selectAppBannerList(appBanner); ExcelUtil<AppBanner> util = new ExcelUtil<AppBanner>(AppBanner.class); @@ -67,7 +67,7 @@ /** * 鑾峰彇灏忕▼搴忎富椤佃疆鎾浘璇︾粏淇℃伅 */ - @ApiOperation(value = "鑾峰彇灏忕▼搴忎富椤佃疆鎾浘璇︾粏淇℃伅") + //@ApiOperation(value = "鑾峰彇灏忕▼搴忎富椤佃疆鎾浘璇︾粏淇℃伅") //@PreAuthorize("@ss.hasPermi('hosp:banner:query')") @GetMapping(value = "/{id}") public AjaxResult getInfo(@PathVariable("id") Long id) { @@ -77,7 +77,7 @@ /** * 鏂板灏忕▼搴忎富椤佃疆鎾浘 */ - @ApiOperation(value = "鏂板灏忕▼搴忎富椤佃疆鎾浘") + //@ApiOperation(value = "鏂板灏忕▼搴忎富椤佃疆鎾浘") //@PreAuthorize("@ss.hasPermi('hosp:banner:add')") @Log(title = "灏忕▼搴忎富椤佃疆鎾浘", businessType = BusinessType.INSERT) @PostMapping @@ -88,7 +88,7 @@ /** * 淇敼灏忕▼搴忎富椤佃疆鎾浘 */ - @ApiOperation(value = "淇敼灏忕▼搴忎富椤佃疆鎾浘") + //@ApiOperation(value = "淇敼灏忕▼搴忎富椤佃疆鎾浘") //@PreAuthorize("@ss.hasPermi('hosp:banner:edit')") @Log(title = "灏忕▼搴忎富椤佃疆鎾浘", businessType = BusinessType.UPDATE) @PutMapping @@ -99,7 +99,7 @@ /** * 鍒犻櫎灏忕▼搴忎富椤佃疆鎾浘 */ - @ApiOperation(value = "鍒犻櫎灏忕▼搴忎富椤佃疆鎾浘") + //@ApiOperation(value = "鍒犻櫎灏忕▼搴忎富椤佃疆鎾浘") //@PreAuthorize("@ss.hasPermi('hosp:banner:remove')") @Log(title = "灏忕▼搴忎富椤佃疆鎾浘", businessType = BusinessType.DELETE) @DeleteMapping("/{ids}") diff --git a/ltkj-admin/src/main/java/com/ltkj/web/controller/system/CacheController.java b/ltkj-admin/src/main/java/com/ltkj/web/controller/system/CacheController.java index 0728784..b057fe7 100644 --- a/ltkj-admin/src/main/java/com/ltkj/web/controller/system/CacheController.java +++ b/ltkj-admin/src/main/java/com/ltkj/web/controller/system/CacheController.java @@ -45,7 +45,7 @@ caches.add(new SysCache(CacheConstants.PWD_ERR_CNT_KEY, "瀵嗙爜閿欒娆℃暟")); } - @PreAuthorize("@ss.hasPermi('monitor:cache:list')") + //@PreAuthorize("@ss.hasPermi('monitor:cache:list')") @GetMapping() public AjaxResult getInfo() throws Exception { Properties info = (Properties) redisTemplate.execute((RedisCallback<Object>) connection -> connection.info()); @@ -68,20 +68,20 @@ return AjaxResult.success(result); } - @PreAuthorize("@ss.hasPermi('monitor:cache:list')") + //@PreAuthorize("@ss.hasPermi('monitor:cache:list')") @GetMapping("/getNames") public AjaxResult cache() { return AjaxResult.success(caches); } - @PreAuthorize("@ss.hasPermi('monitor:cache:list')") + //@PreAuthorize("@ss.hasPermi('monitor:cache:list')") @GetMapping("/getKeys/{cacheName}") public AjaxResult getCacheKeys(@PathVariable String cacheName) { Set<String> cacheKeys = redisTemplate.keys(cacheName + "*"); return AjaxResult.success(cacheKeys); } - @PreAuthorize("@ss.hasPermi('monitor:cache:list')") + //@PreAuthorize("@ss.hasPermi('monitor:cache:list')") @GetMapping("/getValue/{cacheName}/{cacheKey}") public AjaxResult getCacheValue(@PathVariable String cacheName, @PathVariable String cacheKey) { String cacheValue = redisTemplate.opsForValue().get(cacheKey); @@ -89,7 +89,7 @@ return AjaxResult.success(sysCache); } - @PreAuthorize("@ss.hasPermi('monitor:cache:list')") + //@PreAuthorize("@ss.hasPermi('monitor:cache:list')") @DeleteMapping("/clearCacheName/{cacheName}") public AjaxResult clearCacheName(@PathVariable String cacheName) { Collection<String> cacheKeys = redisTemplate.keys(cacheName + "*"); @@ -97,14 +97,14 @@ return AjaxResult.success(); } - @PreAuthorize("@ss.hasPermi('monitor:cache:list')") + //@PreAuthorize("@ss.hasPermi('monitor:cache:list')") @DeleteMapping("/clearCacheKey/{cacheKey}") public AjaxResult clearCacheKey(@PathVariable String cacheKey) { redisTemplate.delete(cacheKey); return AjaxResult.success(); } - @PreAuthorize("@ss.hasPermi('monitor:cache:list')") + //@PreAuthorize("@ss.hasPermi('monitor:cache:list')") @DeleteMapping("/clearCacheAll") public AjaxResult clearCacheAll() { Collection<String> cacheKeys = redisTemplate.keys("*"); diff --git a/ltkj-admin/src/main/java/com/ltkj/web/controller/system/DictCompController.java b/ltkj-admin/src/main/java/com/ltkj/web/controller/system/DictCompController.java index 2c56260..91bf6f0 100644 --- a/ltkj-admin/src/main/java/com/ltkj/web/controller/system/DictCompController.java +++ b/ltkj-admin/src/main/java/com/ltkj/web/controller/system/DictCompController.java @@ -52,7 +52,7 @@ /** * 鏌ヨ浣撴鍗曚綅淇℃伅缁存姢鍒楄〃 */ - @PreAuthorize("@ss.hasPermi('system:comp:list')") + //@PreAuthorize("@ss.hasPermi('system:comp:list')") @GetMapping("/list") public TableDataInfo list(DictComp dictComp) { startPage(); @@ -63,7 +63,7 @@ /** * 瀵煎嚭浣撴鍗曚綅淇℃伅缁存姢鍒楄〃 */ - @PreAuthorize("@ss.hasPermi('system:comp:export')") + //@PreAuthorize("@ss.hasPermi('system:comp:export')") @Log(title = "浣撴鍗曚綅淇℃伅缁存姢", businessType = BusinessType.EXPORT) @PostMapping("/export") public void export(HttpServletResponse response, DictComp dictComp) { @@ -75,7 +75,7 @@ /** * 鑾峰彇浣撴鍗曚綅淇℃伅缁存姢璇︾粏淇℃伅 */ - @PreAuthorize("@ss.hasPermi('system:comp:query')") + //@PreAuthorize("@ss.hasPermi('system:comp:query')") @GetMapping(value = "/{drugManufacturerId}") public AjaxResult getInfo(@PathVariable("drugManufacturerId") String drugManufacturerId) { return success(dictCompService.selectDictCompByDrugManufacturerId(drugManufacturerId)); @@ -84,7 +84,7 @@ /** * 鏂板浣撴鍗曚綅淇℃伅缁存姢 */ - @PreAuthorize("@ss.hasPermi('system:comp:add')") + //@PreAuthorize("@ss.hasPermi('system:comp:add')") @Log(title = "浣撴鍗曚綅淇℃伅缁存姢", businessType = BusinessType.INSERT) @PostMapping public AjaxResult add(@RequestBody DictComp dictComp) { @@ -97,7 +97,7 @@ /** * 淇敼浣撴鍗曚綅淇℃伅缁存姢 */ - @PreAuthorize("@ss.hasPermi('system:comp:edit')") + //@PreAuthorize("@ss.hasPermi('system:comp:edit')") @Log(title = "浣撴鍗曚綅淇℃伅缁存姢", businessType = BusinessType.UPDATE) @PutMapping public AjaxResult edit(@RequestBody DictComp dictComp) { @@ -107,7 +107,7 @@ /** * 鍒犻櫎浣撴鍗曚綅淇℃伅缁存姢 */ - @PreAuthorize("@ss.hasPermi('system:comp:remove')") + //@PreAuthorize("@ss.hasPermi('system:comp:remove')") @Log(title = "浣撴鍗曚綅淇℃伅缁存姢", businessType = BusinessType.DELETE) @DeleteMapping("/{drugManufacturerIds}") public AjaxResult remove(@PathVariable String[] drugManufacturerIds) { diff --git a/ltkj-admin/src/main/java/com/ltkj/web/controller/system/DictEmerController.java b/ltkj-admin/src/main/java/com/ltkj/web/controller/system/DictEmerController.java index e23e60c..468e4d2 100644 --- a/ltkj-admin/src/main/java/com/ltkj/web/controller/system/DictEmerController.java +++ b/ltkj-admin/src/main/java/com/ltkj/web/controller/system/DictEmerController.java @@ -119,7 +119,7 @@ /** * 鏌ヨ鐭ヨ瘑搴撳垪琛� */ - @PreAuthorize("@ss.hasPermi('system:emer:list')") + //@PreAuthorize("@ss.hasPermi('system:emer:list')") @GetMapping("/list") @ApiOperation(value = "鏌ヨ") public TableDataInfo list(DictEmer dictEmer) { @@ -143,7 +143,7 @@ /** * 瀵煎嚭鐭ヨ瘑搴撳垪琛� */ - @PreAuthorize("@ss.hasPermi('system:emer:export')") + //@PreAuthorize("@ss.hasPermi('system:emer:export')") @Log(title = "鐭ヨ瘑搴�", businessType = BusinessType.EXPORT) @PostMapping("/export") @ApiOperation(value = "瀵煎嚭") @@ -156,7 +156,7 @@ /** * 鑾峰彇鐭ヨ瘑搴撹缁嗕俊鎭� */ - @PreAuthorize("@ss.hasPermi('system:emer:query')") + //@PreAuthorize("@ss.hasPermi('system:emer:query')") @GetMapping(value = "/{id}") @ApiOperation(value = "鏍规嵁id鑾峰彇淇℃伅") public AjaxResult getInfo(@PathVariable("id") Long id) { @@ -166,7 +166,7 @@ /** * 鏂板鐭ヨ瘑搴� */ - @PreAuthorize("@ss.hasPermi('system:emer:add')") + //@PreAuthorize("@ss.hasPermi('system:emer:add')") @Log(title = "鐭ヨ瘑搴�", businessType = BusinessType.INSERT) @PostMapping @ApiOperation(value = "鏂板") @@ -177,7 +177,7 @@ /** * 淇敼鐭ヨ瘑搴� */ - @PreAuthorize("@ss.hasPermi('system:emer:edit')") + //@PreAuthorize("@ss.hasPermi('system:emer:edit')") @Log(title = "鐭ヨ瘑搴�", businessType = BusinessType.UPDATE) @PutMapping @ApiOperation(value = "淇敼") @@ -188,7 +188,7 @@ /** * 鍒犻櫎鐭ヨ瘑搴� */ - @PreAuthorize("@ss.hasPermi('system:emer:remove')") + //@PreAuthorize("@ss.hasPermi('system:emer:remove')") @Log(title = "鐭ヨ瘑搴�", businessType = BusinessType.DELETE) @DeleteMapping("/{ids}") @ApiOperation(value = "鍒犻櫎") diff --git a/ltkj-admin/src/main/java/com/ltkj/web/controller/system/DictHospController.java b/ltkj-admin/src/main/java/com/ltkj/web/controller/system/DictHospController.java index dd209ac..3ccee78 100644 --- a/ltkj-admin/src/main/java/com/ltkj/web/controller/system/DictHospController.java +++ b/ltkj-admin/src/main/java/com/ltkj/web/controller/system/DictHospController.java @@ -44,7 +44,7 @@ /** * 鏌ヨ闄㈠尯淇℃伅鍒楄〃 */ - @PreAuthorize("@ss.hasPermi('hosp:hosp:list')") + //@PreAuthorize("@ss.hasPermi('hosp:hosp:list')") @GetMapping("/list") @ApiOperation(value = "鏌ヨ闄㈠尯淇℃伅鍒楄〃") public TableDataInfo list(DictHosp dictHosp) { @@ -56,7 +56,7 @@ /** * 瀵煎嚭闄㈠尯淇℃伅鍒楄〃 */ - @PreAuthorize("@ss.hasPermi('hosp:hosp:export')") + //@PreAuthorize("@ss.hasPermi('hosp:hosp:export')") @Log(title = "闄㈠尯淇℃伅", businessType = BusinessType.EXPORT) @PostMapping("/export") @ApiOperation(value = "瀵煎嚭闄㈠尯淇℃伅鍒楄〃") @@ -69,7 +69,7 @@ /** * 鑾峰彇闄㈠尯淇℃伅璇︾粏淇℃伅 */ - @PreAuthorize("@ss.hasPermi('hosp:hosp:query')") + //@PreAuthorize("@ss.hasPermi('hosp:hosp:query')") @GetMapping(value = "/{hospAreaId}") @ApiOperation(value = "鑾峰彇闄㈠尯淇℃伅璇︾粏淇℃伅") public AjaxResult getInfo(@PathVariable("hospAreaId") String hospAreaId) { @@ -79,7 +79,7 @@ /** * 鏂板闄㈠尯淇℃伅 */ - @PreAuthorize("@ss.hasPermi('hosp:hosp:add')") + //@PreAuthorize("@ss.hasPermi('hosp:hosp:add')") @Log(title = "闄㈠尯淇℃伅", businessType = BusinessType.INSERT) @PostMapping @ApiOperation(value = "鏂板闄㈠尯淇℃伅") @@ -91,7 +91,7 @@ /** * 淇敼闄㈠尯淇℃伅 */ - @PreAuthorize("@ss.hasPermi('hosp:hosp:edit')") + //@PreAuthorize("@ss.hasPermi('hosp:hosp:edit')") @Log(title = "闄㈠尯淇℃伅", businessType = BusinessType.UPDATE) @PutMapping @ApiOperation(value = "淇敼闄㈠尯淇℃伅") @@ -103,7 +103,7 @@ /** * 鍒犻櫎闄㈠尯淇℃伅 */ - @PreAuthorize("@ss.hasPermi('hosp:hosp:remove')") + //@PreAuthorize("@ss.hasPermi('hosp:hosp:remove')") @Log(title = "闄㈠尯淇℃伅", businessType = BusinessType.DELETE) @DeleteMapping("/{hospAreaIds}") @ApiOperation(value = "鍒犻櫎闄㈠尯淇℃伅") diff --git a/ltkj-admin/src/main/java/com/ltkj/web/controller/system/DictIcdController.java b/ltkj-admin/src/main/java/com/ltkj/web/controller/system/DictIcdController.java index 107cb1f..c0086ba 100644 --- a/ltkj-admin/src/main/java/com/ltkj/web/controller/system/DictIcdController.java +++ b/ltkj-admin/src/main/java/com/ltkj/web/controller/system/DictIcdController.java @@ -37,7 +37,7 @@ /** * 鏌ヨ鐤剧梾瀛楀吀鍒楄〃 */ - @PreAuthorize("@ss.hasPermi('system:icd:list')") + //@PreAuthorize("@ss.hasPermi('system:icd:list')") @GetMapping("/getList") @ApiOperation(value = "鍥㈡缁熻椤甸潰鏌ヨ鐤剧梾鎺ュ彛") public AjaxResult getList(@ApiParam(value = "鍚嶇О") @RequestParam(required = false) String name, @@ -57,7 +57,7 @@ /** * 鏌ヨ鐤剧梾瀛楀吀鍒楄〃 */ - @PreAuthorize("@ss.hasPermi('system:icd:list')") + //@PreAuthorize("@ss.hasPermi('system:icd:list')") @GetMapping("/list") @ApiOperation(value = "鏌ヨ") public TableDataInfo list(DictIcd dictIcd) { @@ -69,7 +69,7 @@ /** * 瀵煎嚭鐤剧梾瀛楀吀鍒楄〃 */ - @PreAuthorize("@ss.hasPermi('system:icd:export')") + //@PreAuthorize("@ss.hasPermi('system:icd:export')") @Log(title = "鐤剧梾瀛楀吀", businessType = BusinessType.EXPORT) @PostMapping("/export") @ApiOperation(value = "瀵煎嚭") @@ -82,7 +82,7 @@ /** * 鑾峰彇鐤剧梾瀛楀吀璇︾粏淇℃伅 */ - @PreAuthorize("@ss.hasPermi('system:icd:query')") + //@PreAuthorize("@ss.hasPermi('system:icd:query')") @GetMapping(value = "/{id}") @ApiOperation(value = "璇︾粏淇℃伅") public AjaxResult getInfo(@PathVariable("id") Long id) { @@ -92,7 +92,7 @@ /** * 鏂板鐤剧梾瀛楀吀 */ - @PreAuthorize("@ss.hasPermi('system:icd:add')") + //@PreAuthorize("@ss.hasPermi('system:icd:add')") @Log(title = "鐤剧梾瀛楀吀", businessType = BusinessType.INSERT) @PostMapping @ApiOperation(value = "鏂板") @@ -103,7 +103,7 @@ /** * 淇敼鐤剧梾瀛楀吀 */ - @PreAuthorize("@ss.hasPermi('system:icd:edit')") + //@PreAuthorize("@ss.hasPermi('system:icd:edit')") @Log(title = "鐤剧梾瀛楀吀", businessType = BusinessType.UPDATE) @PutMapping @ApiOperation(value = "淇敼") @@ -114,7 +114,7 @@ /** * 鍒犻櫎鐤剧梾瀛楀吀 */ - @PreAuthorize("@ss.hasPermi('system:icd:remove')") + //@PreAuthorize("@ss.hasPermi('system:icd:remove')") @Log(title = "鐤剧梾瀛楀吀", businessType = BusinessType.DELETE) @DeleteMapping("/{ids}") @ApiOperation(value = "鍒犻櫎") diff --git a/ltkj-admin/src/main/java/com/ltkj/web/controller/system/DictOrgController.java b/ltkj-admin/src/main/java/com/ltkj/web/controller/system/DictOrgController.java index a364b7b..1de413e 100644 --- a/ltkj-admin/src/main/java/com/ltkj/web/controller/system/DictOrgController.java +++ b/ltkj-admin/src/main/java/com/ltkj/web/controller/system/DictOrgController.java @@ -41,7 +41,7 @@ /** * 鏌ヨ鏈烘瀯淇℃伅鍒楄〃 */ - @PreAuthorize("@ss.hasPermi('hosp:org:list')") + //@PreAuthorize("@ss.hasPermi('hosp:org:list')") @GetMapping("/list") @ApiOperation(value = "鏌ヨ鏈烘瀯淇℃伅鍒楄〃") public TableDataInfo list(@ApiParam(value = "鏈烘瀯瀵硅薄") DictOrg dictOrg) { @@ -53,7 +53,7 @@ /** * 瀵煎嚭鏈烘瀯淇℃伅鍒楄〃 */ - @PreAuthorize("@ss.hasPermi('hosp:org:export')") + //@PreAuthorize("@ss.hasPermi('hosp:org:export')") @Log(title = "鏈烘瀯淇℃伅", businessType = BusinessType.EXPORT) @PostMapping("/export") @ApiOperation(value = "瀵煎嚭鏈烘瀯淇℃伅鍒楄〃") @@ -66,7 +66,7 @@ /** * 鑾峰彇鏈烘瀯淇℃伅璇︾粏淇℃伅 */ - @PreAuthorize("@ss.hasPermi('hosp:org:query')") +// @PreAuthorize("@ss.hasPermi('hosp:org:query')") @GetMapping(value = "/{orgId}") @ApiOperation(value = "鑾峰彇鏈烘瀯淇℃伅璇︾粏淇℃伅") public AjaxResult getInfo(@PathVariable("orgId") String orgId) { @@ -76,7 +76,7 @@ /** * 鏂板鏈烘瀯淇℃伅 */ - @PreAuthorize("@ss.hasPermi('hosp:org:add')") +// @PreAuthorize("@ss.hasPermi('hosp:org:add')") @Log(title = "鏈烘瀯淇℃伅", businessType = BusinessType.INSERT) @PostMapping @ApiOperation(value = "鏂板鏈烘瀯淇℃伅") @@ -87,7 +87,7 @@ /** * 淇敼鏈烘瀯淇℃伅 */ - @PreAuthorize("@ss.hasPermi('hosp:org:edit')") +// @PreAuthorize("@ss.hasPermi('hosp:org:edit')") @Log(title = "鏈烘瀯淇℃伅", businessType = BusinessType.UPDATE) @PutMapping @ApiOperation(value = "淇敼鏈烘瀯淇℃伅") @@ -98,7 +98,7 @@ /** * 鍒犻櫎鏈烘瀯淇℃伅 */ - @PreAuthorize("@ss.hasPermi('hosp:org:remove')") +// @PreAuthorize("@ss.hasPermi('hosp:org:remove')") @Log(title = "鏈烘瀯淇℃伅", businessType = BusinessType.DELETE) @DeleteMapping("/{orgIds}") @ApiOperation(value = "鍒犻櫎鏈烘瀯淇℃伅") diff --git a/ltkj-admin/src/main/java/com/ltkj/web/controller/system/DictSfxmController.java b/ltkj-admin/src/main/java/com/ltkj/web/controller/system/DictSfxmController.java index c403e5c..f368421 100644 --- a/ltkj-admin/src/main/java/com/ltkj/web/controller/system/DictSfxmController.java +++ b/ltkj-admin/src/main/java/com/ltkj/web/controller/system/DictSfxmController.java @@ -45,7 +45,7 @@ /** * 鏌ヨ鏀惰垂椤圭洰鍒楄〃 */ - @PreAuthorize("@ss.hasPermi('system:sfxm:list')") +// @PreAuthorize("@ss.hasPermi('system:sfxm:list')") @GetMapping("/list") @ApiOperation(value = "鏌ヨ") public TableDataInfo list(DictSfxm dictSfxm) { @@ -65,7 +65,7 @@ /** * 瀵煎嚭鏀惰垂椤圭洰鍒楄〃 */ - @PreAuthorize("@ss.hasPermi('system:sfxm:export')") +// @PreAuthorize("@ss.hasPermi('system:sfxm:export')") @Log(title = "鏀惰垂椤圭洰", businessType = BusinessType.EXPORT) @PostMapping("/export") @ApiOperation(value = "瀵煎嚭") @@ -78,7 +78,7 @@ /** * 鑾峰彇鏀惰垂椤圭洰璇︾粏淇℃伅 */ - @PreAuthorize("@ss.hasPermi('system:sfxm:query')") +// @PreAuthorize("@ss.hasPermi('system:sfxm:query')") @GetMapping(value = "/{id}") @ApiOperation(value = "璇︽儏淇℃伅") public AjaxResult getInfo(@PathVariable("id") Long id) { @@ -88,7 +88,7 @@ /** * 鏂板鏀惰垂椤圭洰 */ - @PreAuthorize("@ss.hasPermi('system:sfxm:add')") +// @PreAuthorize("@ss.hasPermi('system:sfxm:add')") @Log(title = "鏀惰垂椤圭洰", businessType = BusinessType.INSERT) @PostMapping @ApiOperation(value = "鏂板") @@ -99,7 +99,7 @@ /** * 淇敼鏀惰垂椤圭洰 */ - @PreAuthorize("@ss.hasPermi('system:sfxm:edit')") +// @PreAuthorize("@ss.hasPermi('system:sfxm:edit')") @Log(title = "鏀惰垂椤圭洰", businessType = BusinessType.UPDATE) @PutMapping @ApiOperation(value = "淇敼") @@ -110,7 +110,7 @@ /** * 鍒犻櫎鏀惰垂椤圭洰 */ - @PreAuthorize("@ss.hasPermi('system:sfxm:remove')") +// @PreAuthorize("@ss.hasPermi('system:sfxm:remove')") @Log(title = "鏀惰垂椤圭洰", businessType = BusinessType.DELETE) @DeleteMapping("/{ids}") @ApiOperation(value = "鍒犻櫎") diff --git a/ltkj-admin/src/main/java/com/ltkj/web/controller/system/DictSsdmController.java b/ltkj-admin/src/main/java/com/ltkj/web/controller/system/DictSsdmController.java index aacd0e8..1059915 100644 --- a/ltkj-admin/src/main/java/com/ltkj/web/controller/system/DictSsdmController.java +++ b/ltkj-admin/src/main/java/com/ltkj/web/controller/system/DictSsdmController.java @@ -40,7 +40,7 @@ /** * 鏌ヨ鎵嬫湳缂栫爜鍒楄〃 */ - @PreAuthorize("@ss.hasPermi('system:ssdm:list')") +// @PreAuthorize("@ss.hasPermi('system:ssdm:list')") @GetMapping("/list") @ApiOperation(value = "鏌ヨ") public TableDataInfo list(DictSsdm dictSsdm) { @@ -52,7 +52,7 @@ /** * 瀵煎嚭鎵嬫湳缂栫爜鍒楄〃 */ - @PreAuthorize("@ss.hasPermi('system:ssdm:export')") +// @PreAuthorize("@ss.hasPermi('system:ssdm:export')") @Log(title = "鎵嬫湳缂栫爜", businessType = BusinessType.EXPORT) @PostMapping("/export") @ApiOperation(value = "瀵煎嚭") @@ -65,7 +65,7 @@ /** * 鑾峰彇鎵嬫湳缂栫爜璇︾粏淇℃伅 */ - @PreAuthorize("@ss.hasPermi('system:ssdm:query')") +// @PreAuthorize("@ss.hasPermi('system:ssdm:query')") @GetMapping(value = "/{id}") @ApiOperation(value = "璇︾粏淇℃伅") public AjaxResult getInfo(@PathVariable("id") Long id) { @@ -75,7 +75,7 @@ /** * 鏂板鎵嬫湳缂栫爜 */ - @PreAuthorize("@ss.hasPermi('system:ssdm:add')") +// @PreAuthorize("@ss.hasPermi('system:ssdm:add')") @Log(title = "鎵嬫湳缂栫爜", businessType = BusinessType.INSERT) @PostMapping @ApiOperation(value = "鏂板") @@ -86,7 +86,7 @@ /** * 淇敼鎵嬫湳缂栫爜 */ - @PreAuthorize("@ss.hasPermi('system:ssdm:edit')") +// @PreAuthorize("@ss.hasPermi('system:ssdm:edit')") @Log(title = "鎵嬫湳缂栫爜", businessType = BusinessType.UPDATE) @PutMapping @ApiOperation(value = "淇敼") @@ -97,7 +97,7 @@ /** * 鍒犻櫎鎵嬫湳缂栫爜 */ - @PreAuthorize("@ss.hasPermi('system:ssdm:remove')") +// @PreAuthorize("@ss.hasPermi('system:ssdm:remove')") @Log(title = "鎵嬫湳缂栫爜", businessType = BusinessType.DELETE) @DeleteMapping("/{ids}") @ApiOperation(value = "鍒犻櫎") diff --git a/ltkj-admin/src/main/java/com/ltkj/web/controller/system/DictUserInfoController.java b/ltkj-admin/src/main/java/com/ltkj/web/controller/system/DictUserInfoController.java index 51f9682..b04148a 100644 --- a/ltkj-admin/src/main/java/com/ltkj/web/controller/system/DictUserInfoController.java +++ b/ltkj-admin/src/main/java/com/ltkj/web/controller/system/DictUserInfoController.java @@ -34,7 +34,7 @@ /** * 鑾峰彇鐢ㄦ埛淇℃伅璇︽儏璇︾粏淇℃伅 */ - @PreAuthorize("@ss.hasPermi('hosp:Userinfo:getInfoList')") +// @PreAuthorize("@ss.hasPermi('hosp:Userinfo:getInfoList')") @GetMapping(value = "/list") @ApiOperation("鏌ヨ璇︽儏淇℃伅") public AjaxResult getInfoList(@RequestParam(defaultValue = "1") Integer pageNum, @RequestParam(defaultValue = "10") Integer pageSize) { @@ -48,7 +48,7 @@ /** * 鑾峰彇鐢ㄦ埛淇℃伅璇︽儏璇︾粏淇℃伅 */ - @PreAuthorize("@ss.hasPermi('hosp:Userinfo:query')") +// @PreAuthorize("@ss.hasPermi('hosp:Userinfo:query')") @GetMapping("/{id}") @ApiOperation("鏍规嵁鐢ㄦ埛id鏌ヨ璇︽儏淇℃伅") public AjaxResult getInfo(@PathVariable("id") @ApiParam(value = "鐢ㄦ埛id") Long userId) { @@ -64,7 +64,7 @@ /** * 鏂板鐢ㄦ埛淇℃伅璇︽儏 */ - @PreAuthorize("@ss.hasPermi('hosp:Userinfo:add')") +// @PreAuthorize("@ss.hasPermi('hosp:Userinfo:add')") @Log(title = "鐢ㄦ埛淇℃伅璇︽儏", businessType = BusinessType.INSERT) @PostMapping //@ApiOperation("瀹屽杽鐢ㄦ埛淇℃伅") @@ -75,7 +75,7 @@ /** * 淇敼鐢ㄦ埛淇℃伅璇︽儏 */ - @PreAuthorize("@ss.hasPermi('hosp:Userinfo:edit')") +// @PreAuthorize("@ss.hasPermi('hosp:Userinfo:edit')") @Log(title = "鐢ㄦ埛淇℃伅璇︽儏", businessType = BusinessType.UPDATE) @PutMapping @ApiOperation("淇敼鐢ㄦ埛淇℃伅") diff --git a/ltkj-admin/src/main/java/com/ltkj/web/controller/system/DictYpdmController.java b/ltkj-admin/src/main/java/com/ltkj/web/controller/system/DictYpdmController.java index b42c804..0de837b 100644 --- a/ltkj-admin/src/main/java/com/ltkj/web/controller/system/DictYpdmController.java +++ b/ltkj-admin/src/main/java/com/ltkj/web/controller/system/DictYpdmController.java @@ -43,7 +43,7 @@ /** * 鏌ヨ鑽搧椤圭洰鍒楄〃 */ - @PreAuthorize("@ss.hasPermi('system:ypdm:list')") +// @PreAuthorize("@ss.hasPermi('system:ypdm:list')") @GetMapping("/list") @ApiOperation(value = "鏌ヨ") public TableDataInfo list(DictYpdm dictYpdm) { @@ -63,7 +63,7 @@ /** * 瀵煎嚭鑽搧椤圭洰鍒楄〃 */ - @PreAuthorize("@ss.hasPermi('system:ypdm:export')") +// @PreAuthorize("@ss.hasPermi('system:ypdm:export')") @Log(title = "鑽搧椤圭洰", businessType = BusinessType.EXPORT) @PostMapping("/export") @ApiOperation(value = "瀵煎嚭") @@ -76,7 +76,7 @@ /** * 鑾峰彇鑽搧椤圭洰璇︾粏淇℃伅 */ - @PreAuthorize("@ss.hasPermi('system:ypdm:query')") +// @PreAuthorize("@ss.hasPermi('system:ypdm:query')") @GetMapping(value = "/{id}") @ApiOperation(value = "璇︾粏淇℃伅") public AjaxResult getInfo(@PathVariable("id") Long id) { @@ -86,7 +86,7 @@ /** * 鏂板鑽搧椤圭洰 */ - @PreAuthorize("@ss.hasPermi('system:ypdm:add')") +// @PreAuthorize("@ss.hasPermi('system:ypdm:add')") @Log(title = "鑽搧椤圭洰", businessType = BusinessType.INSERT) @PostMapping @ApiOperation(value = "鏂板") @@ -97,7 +97,7 @@ /** * 淇敼鑽搧椤圭洰 */ - @PreAuthorize("@ss.hasPermi('system:ypdm:edit')") +// @PreAuthorize("@ss.hasPermi('system:ypdm:edit')") @Log(title = "鑽搧椤圭洰", businessType = BusinessType.UPDATE) @PutMapping @ApiOperation(value = "淇敼") @@ -108,7 +108,7 @@ /** * 鍒犻櫎鑽搧椤圭洰 */ - @PreAuthorize("@ss.hasPermi('system:ypdm:remove')") +// @PreAuthorize("@ss.hasPermi('system:ypdm:remove')") @Log(title = "鑽搧椤圭洰", businessType = BusinessType.DELETE) @DeleteMapping("/{ids}") @ApiOperation(value = "鍒犻櫎") diff --git a/ltkj-admin/src/main/java/com/ltkj/web/controller/system/JimuReportController.java b/ltkj-admin/src/main/java/com/ltkj/web/controller/system/JimuReportController.java index 0fe4fd4..a319568 100644 --- a/ltkj-admin/src/main/java/com/ltkj/web/controller/system/JimuReportController.java +++ b/ltkj-admin/src/main/java/com/ltkj/web/controller/system/JimuReportController.java @@ -43,7 +43,7 @@ /** * 鏌ヨ鍦ㄧ嚎excel璁捐鍣ㄥ垪琛� */ - @PreAuthorize("@ss.hasPermi('system:onlinereport:list')") +// @PreAuthorize("@ss.hasPermi('system:onlinereport:list')") @GetMapping("/list") public TableDataInfo list(JimuReport jimuReport) { startPage(); @@ -81,7 +81,7 @@ /** * 瀵煎嚭鍦ㄧ嚎excel璁捐鍣ㄥ垪琛� */ - @PreAuthorize("@ss.hasPermi('system:onlinereport:export')") +// @PreAuthorize("@ss.hasPermi('system:onlinereport:export')") @Log(title = "鍦ㄧ嚎excel璁捐鍣�", businessType = BusinessType.EXPORT) @PostMapping("/export") public void export(HttpServletResponse response, JimuReport jimuReport) { @@ -93,7 +93,7 @@ /** * 鑾峰彇鍦ㄧ嚎excel璁捐鍣ㄨ缁嗕俊鎭� */ - @PreAuthorize("@ss.hasPermi('system:onlinereport:query')") +// @PreAuthorize("@ss.hasPermi('system:onlinereport:query')") @GetMapping(value = "/{id}") public AjaxResult getInfo(@PathVariable("id") String id) { return success(jimuReportService.selectJimuReportById(id)); @@ -102,7 +102,7 @@ /** * 鏂板鍦ㄧ嚎excel璁捐鍣� */ - @PreAuthorize("@ss.hasPermi('system:onlinereport:add')") +// @PreAuthorize("@ss.hasPermi('system:onlinereport:add')") @Log(title = "鍦ㄧ嚎excel璁捐鍣�", businessType = BusinessType.INSERT) @PostMapping public AjaxResult add(@RequestBody JimuReport jimuReport) { @@ -113,7 +113,7 @@ * 淇敼鍦ㄧ嚎excel璁捐鍣� */ @ApiOperation(value = "淇敼") - @PreAuthorize("@ss.hasPermi('system:onlinereport:edit')") +// @PreAuthorize("@ss.hasPermi('system:onlinereport:edit')") @Log(title = "鍦ㄧ嚎excel璁捐鍣�", businessType = BusinessType.UPDATE) @PutMapping public AjaxResult edit(@RequestBody JimuReport jimuReport) { @@ -123,7 +123,7 @@ /** * 鍒犻櫎鍦ㄧ嚎excel璁捐鍣� */ - @PreAuthorize("@ss.hasPermi('system:onlinereport:remove')") +// @PreAuthorize("@ss.hasPermi('system:onlinereport:remove')") @Log(title = "鍦ㄧ嚎excel璁捐鍣�", businessType = BusinessType.DELETE) @DeleteMapping("/{ids}") public AjaxResult remove(@PathVariable String[] ids) { diff --git a/ltkj-admin/src/main/java/com/ltkj/web/controller/system/ServerController.java b/ltkj-admin/src/main/java/com/ltkj/web/controller/system/ServerController.java index aed82c3..f6d8b08 100644 --- a/ltkj-admin/src/main/java/com/ltkj/web/controller/system/ServerController.java +++ b/ltkj-admin/src/main/java/com/ltkj/web/controller/system/ServerController.java @@ -15,7 +15,7 @@ @RestController @RequestMapping("/monitor/server") public class ServerController { - @PreAuthorize("@ss.hasPermi('monitor:server:list')") +// @PreAuthorize("@ss.hasPermi('monitor:server:list')") @GetMapping() public AjaxResult getInfo() throws Exception { Server server = new Server(); diff --git a/ltkj-admin/src/main/java/com/ltkj/web/controller/system/SysConfigController.java b/ltkj-admin/src/main/java/com/ltkj/web/controller/system/SysConfigController.java index df2b55f..b945dfd 100644 --- a/ltkj-admin/src/main/java/com/ltkj/web/controller/system/SysConfigController.java +++ b/ltkj-admin/src/main/java/com/ltkj/web/controller/system/SysConfigController.java @@ -45,7 +45,7 @@ /** * 鑾峰彇鍙傛暟閰嶇疆鍒楄〃 */ - @PreAuthorize("@ss.hasPermi('system:config:list')") +// @PreAuthorize("@ss.hasPermi('system:config:list')") @GetMapping("/list") @ApiOperation(value = "鑾峰彇鍙傛暟閰嶇疆鍒楄〃") public TableDataInfo list(SysConfig config) { @@ -55,7 +55,7 @@ } @Log(title = "鍙傛暟绠$悊", businessType = BusinessType.EXPORT) - @PreAuthorize("@ss.hasPermi('system:config:export')") +// @PreAuthorize("@ss.hasPermi('system:config:export')") @PostMapping("/export") public void export(HttpServletResponse response, SysConfig config) { List<SysConfig> list = configService.selectConfigList(config); @@ -66,7 +66,7 @@ /** * 鏍规嵁鍙傛暟缂栧彿鑾峰彇璇︾粏淇℃伅 */ - @PreAuthorize("@ss.hasPermi('system:config:query')") +// @PreAuthorize("@ss.hasPermi('system:config:query')") @GetMapping(value = "/{configId}") public AjaxResult getInfo(@PathVariable Long configId) { return success(configService.selectConfigById(configId)); @@ -84,7 +84,7 @@ /** * 鏂板鍙傛暟閰嶇疆 */ - @PreAuthorize("@ss.hasPermi('system:config:add')") +// @PreAuthorize("@ss.hasPermi('system:config:add')") @Log(title = "鍙傛暟绠$悊", businessType = BusinessType.INSERT) @PostMapping public AjaxResult add(@Validated @RequestBody SysConfig config) { @@ -102,7 +102,7 @@ /** * 淇敼鍙傛暟閰嶇疆 */ - @PreAuthorize("@ss.hasPermi('system:config:edit')") +// @PreAuthorize("@ss.hasPermi('system:config:edit')") @Log(title = "鍙傛暟绠$悊", businessType = BusinessType.UPDATE) @PutMapping public AjaxResult edit(@Validated @RequestBody SysConfig config) { @@ -133,7 +133,7 @@ /** * 鍒犻櫎鍙傛暟閰嶇疆 */ - @PreAuthorize("@ss.hasPermi('system:config:remove')") +// @PreAuthorize("@ss.hasPermi('system:config:remove')") @Log(title = "鍙傛暟绠$悊", businessType = BusinessType.DELETE) @DeleteMapping("/{configIds}") public AjaxResult remove(@PathVariable Long[] configIds) { @@ -144,7 +144,7 @@ /** * 鍒锋柊鍙傛暟缂撳瓨 */ - @PreAuthorize("@ss.hasPermi('system:config:remove')") +// @PreAuthorize("@ss.hasPermi('system:config:remove')") @Log(title = "鍙傛暟绠$悊", businessType = BusinessType.CLEAN) @DeleteMapping("/refreshCache") public AjaxResult refreshCache() { diff --git a/ltkj-admin/src/main/java/com/ltkj/web/controller/system/SysDictDataController.java b/ltkj-admin/src/main/java/com/ltkj/web/controller/system/SysDictDataController.java index 2bc7a12..574ea93 100644 --- a/ltkj-admin/src/main/java/com/ltkj/web/controller/system/SysDictDataController.java +++ b/ltkj-admin/src/main/java/com/ltkj/web/controller/system/SysDictDataController.java @@ -40,7 +40,7 @@ @Autowired private ISysDictTypeService dictTypeService; - @PreAuthorize("@ss.hasPermi('system:dict:list')") +// @PreAuthorize("@ss.hasPermi('system:dict:list')") @GetMapping("/list") public TableDataInfo list(SysDictData dictData) { startPage(); diff --git a/ltkj-admin/src/main/java/com/ltkj/web/controller/system/SysDictTypeController.java b/ltkj-admin/src/main/java/com/ltkj/web/controller/system/SysDictTypeController.java index 15e029a..08aeb94 100644 --- a/ltkj-admin/src/main/java/com/ltkj/web/controller/system/SysDictTypeController.java +++ b/ltkj-admin/src/main/java/com/ltkj/web/controller/system/SysDictTypeController.java @@ -35,7 +35,7 @@ @Autowired private ISysDictTypeService dictTypeService; - @PreAuthorize("@ss.hasPermi('system:dict:list')") +// @PreAuthorize("@ss.hasPermi('system:dict:list')") @GetMapping("/list") public TableDataInfo list(SysDictType dictType) { startPage(); @@ -44,7 +44,7 @@ } @Log(title = "瀛楀吀绫诲瀷", businessType = BusinessType.EXPORT) - @PreAuthorize("@ss.hasPermi('system:dict:export')") +// @PreAuthorize("@ss.hasPermi('system:dict:export')") @PostMapping("/export") public void export(HttpServletResponse response, SysDictType dictType) { List<SysDictType> list = dictTypeService.selectDictTypeList(dictType); @@ -55,7 +55,7 @@ /** * 鏌ヨ瀛楀吀绫诲瀷璇︾粏 */ - @PreAuthorize("@ss.hasPermi('system:dict:query')") +// @PreAuthorize("@ss.hasPermi('system:dict:query')") @GetMapping(value = "/{dictId}") public AjaxResult getInfo(@PathVariable Long dictId) { return success(dictTypeService.selectDictTypeById(dictId)); @@ -64,7 +64,7 @@ /** * 鏂板瀛楀吀绫诲瀷 */ - @PreAuthorize("@ss.hasPermi('system:dict:add')") +// @PreAuthorize("@ss.hasPermi('system:dict:add')") @Log(title = "瀛楀吀绫诲瀷", businessType = BusinessType.INSERT) @PostMapping public AjaxResult add(@Validated @RequestBody SysDictType dict) { @@ -78,7 +78,7 @@ /** * 淇敼瀛楀吀绫诲瀷 */ - @PreAuthorize("@ss.hasPermi('system:dict:edit')") +// @PreAuthorize("@ss.hasPermi('system:dict:edit')") @Log(title = "瀛楀吀绫诲瀷", businessType = BusinessType.UPDATE) @PutMapping public AjaxResult edit(@Validated @RequestBody SysDictType dict) { @@ -92,7 +92,7 @@ /** * 鍒犻櫎瀛楀吀绫诲瀷 */ - @PreAuthorize("@ss.hasPermi('system:dict:remove')") +// @PreAuthorize("@ss.hasPermi('system:dict:remove')") @Log(title = "瀛楀吀绫诲瀷", businessType = BusinessType.DELETE) @DeleteMapping("/{dictIds}") public AjaxResult remove(@PathVariable Long[] dictIds) { @@ -103,7 +103,7 @@ /** * 鍒锋柊瀛楀吀缂撳瓨 */ - @PreAuthorize("@ss.hasPermi('system:dict:remove')") +// @PreAuthorize("@ss.hasPermi('system:dict:remove')") @Log(title = "瀛楀吀绫诲瀷", businessType = BusinessType.CLEAN) @DeleteMapping("/refreshCache") public AjaxResult refreshCache() { diff --git a/ltkj-admin/src/main/java/com/ltkj/web/controller/system/SysLogininforController.java b/ltkj-admin/src/main/java/com/ltkj/web/controller/system/SysLogininforController.java index d51be23..d87247b 100644 --- a/ltkj-admin/src/main/java/com/ltkj/web/controller/system/SysLogininforController.java +++ b/ltkj-admin/src/main/java/com/ltkj/web/controller/system/SysLogininforController.java @@ -35,7 +35,7 @@ @Autowired private SysPasswordService passwordService; - @PreAuthorize("@ss.hasPermi('monitor:logininfor:list')") +// @PreAuthorize("@ss.hasPermi('monitor:logininfor:list')") @GetMapping("/list") public TableDataInfo list(SysLogininfor logininfor) { startPage(); @@ -44,7 +44,7 @@ } @Log(title = "鐧诲綍鏃ュ織", businessType = BusinessType.EXPORT) - @PreAuthorize("@ss.hasPermi('monitor:logininfor:export')") +// @PreAuthorize("@ss.hasPermi('monitor:logininfor:export')") @PostMapping("/export") public void export(HttpServletResponse response, SysLogininfor logininfor) { List<SysLogininfor> list = logininforService.selectLogininforList(logininfor); @@ -52,14 +52,14 @@ util.exportExcel(response, list, "鐧诲綍鏃ュ織"); } - @PreAuthorize("@ss.hasPermi('monitor:logininfor:remove')") +// @PreAuthorize("@ss.hasPermi('monitor:logininfor:remove')") @Log(title = "鐧诲綍鏃ュ織", businessType = BusinessType.DELETE) @DeleteMapping("/{infoIds}") public AjaxResult remove(@PathVariable Long[] infoIds) { return toAjax(logininforService.deleteLogininforByIds(infoIds)); } - @PreAuthorize("@ss.hasPermi('monitor:logininfor:remove')") +// @PreAuthorize("@ss.hasPermi('monitor:logininfor:remove')") @Log(title = "鐧诲綍鏃ュ織", businessType = BusinessType.CLEAN) @DeleteMapping("/clean") public AjaxResult clean() { @@ -67,7 +67,7 @@ return success(); } - @PreAuthorize("@ss.hasPermi('monitor:logininfor:unlock')") +// @PreAuthorize("@ss.hasPermi('monitor:logininfor:unlock')") @Log(title = "璐︽埛瑙i攣", businessType = BusinessType.OTHER) @GetMapping("/unlock/{userName}") public AjaxResult unlock(@PathVariable("userName") String userName) { diff --git a/ltkj-admin/src/main/java/com/ltkj/web/controller/system/SysMenuController.java b/ltkj-admin/src/main/java/com/ltkj/web/controller/system/SysMenuController.java index 18419fe..cb71765 100644 --- a/ltkj-admin/src/main/java/com/ltkj/web/controller/system/SysMenuController.java +++ b/ltkj-admin/src/main/java/com/ltkj/web/controller/system/SysMenuController.java @@ -36,7 +36,7 @@ /** * 鑾峰彇鑿滃崟鍒楄〃 */ - @PreAuthorize("@ss.hasPermi('system:menu:list')") +// @PreAuthorize("@ss.hasPermi('system:menu:list')") @GetMapping("/list") public AjaxResult list(SysMenu menu) { List<SysMenu> menus = menuService.selectMenuList(menu, getUserId()); @@ -46,7 +46,7 @@ /** * 鏍规嵁鑿滃崟缂栧彿鑾峰彇璇︾粏淇℃伅 */ - @PreAuthorize("@ss.hasPermi('system:menu:query')") +// @PreAuthorize("@ss.hasPermi('system:menu:query')") @GetMapping(value = "/{menuId}") public AjaxResult getInfo(@PathVariable Long menuId) { return success(menuService.selectMenuById(menuId)); @@ -76,7 +76,7 @@ /** * 鏂板鑿滃崟 */ - @PreAuthorize("@ss.hasPermi('system:menu:add')") +// @PreAuthorize("@ss.hasPermi('system:menu:add')") @Log(title = "鑿滃崟绠$悊", businessType = BusinessType.INSERT) @PostMapping public AjaxResult add(@Validated @RequestBody SysMenu menu) { @@ -92,7 +92,7 @@ /** * 淇敼鑿滃崟 */ - @PreAuthorize("@ss.hasPermi('system:menu:edit')") +// @PreAuthorize("@ss.hasPermi('system:menu:edit')") @Log(title = "鑿滃崟绠$悊", businessType = BusinessType.UPDATE) @PutMapping public AjaxResult edit(@Validated @RequestBody SysMenu menu) { @@ -110,7 +110,7 @@ /** * 鍒犻櫎鑿滃崟 */ - @PreAuthorize("@ss.hasPermi('system:menu:remove')") +// @PreAuthorize("@ss.hasPermi('system:menu:remove')") @Log(title = "鑿滃崟绠$悊", businessType = BusinessType.DELETE) @DeleteMapping("/{menuId}") public AjaxResult remove(@PathVariable("menuId") Long menuId) { @@ -125,4 +125,4 @@ } return toAjax(menuService.deleteMenuById(menuId)); } -} \ No newline at end of file +} diff --git a/ltkj-admin/src/main/java/com/ltkj/web/controller/system/SysNoticeController.java b/ltkj-admin/src/main/java/com/ltkj/web/controller/system/SysNoticeController.java index cb2232a..5345e45 100644 --- a/ltkj-admin/src/main/java/com/ltkj/web/controller/system/SysNoticeController.java +++ b/ltkj-admin/src/main/java/com/ltkj/web/controller/system/SysNoticeController.java @@ -35,7 +35,7 @@ /** * 鑾峰彇閫氱煡鍏憡鍒楄〃 */ - @PreAuthorize("@ss.hasPermi('system:notice:list')") +// @PreAuthorize("@ss.hasPermi('system:notice:list')") @GetMapping("/list") public TableDataInfo list(SysNotice notice) { startPage(); @@ -46,7 +46,7 @@ /** * 鏍规嵁閫氱煡鍏憡缂栧彿鑾峰彇璇︾粏淇℃伅 */ - @PreAuthorize("@ss.hasPermi('system:notice:query')") +// @PreAuthorize("@ss.hasPermi('system:notice:query')") @GetMapping(value = "/{noticeId}") public AjaxResult getInfo(@PathVariable Long noticeId) { return success(noticeService.selectNoticeById(noticeId)); @@ -55,7 +55,7 @@ /** * 鏂板閫氱煡鍏憡 */ - @PreAuthorize("@ss.hasPermi('system:notice:add')") +// @PreAuthorize("@ss.hasPermi('system:notice:add')") @Log(title = "閫氱煡鍏憡", businessType = BusinessType.INSERT) @PostMapping public AjaxResult add(@Validated @RequestBody SysNotice notice) { @@ -66,7 +66,7 @@ /** * 淇敼閫氱煡鍏憡 */ - @PreAuthorize("@ss.hasPermi('system:notice:edit')") +// @PreAuthorize("@ss.hasPermi('system:notice:edit')") @Log(title = "閫氱煡鍏憡", businessType = BusinessType.UPDATE) @PutMapping public AjaxResult edit(@Validated @RequestBody SysNotice notice) { @@ -77,7 +77,7 @@ /** * 鍒犻櫎閫氱煡鍏憡 */ - @PreAuthorize("@ss.hasPermi('system:notice:remove')") +// @PreAuthorize("@ss.hasPermi('system:notice:remove')") @Log(title = "閫氱煡鍏憡", businessType = BusinessType.DELETE) @DeleteMapping("/{noticeIds}") public AjaxResult remove(@PathVariable Long[] noticeIds) { diff --git a/ltkj-admin/src/main/java/com/ltkj/web/controller/system/SysOperlogController.java b/ltkj-admin/src/main/java/com/ltkj/web/controller/system/SysOperlogController.java index 6a63986..70e8f73 100644 --- a/ltkj-admin/src/main/java/com/ltkj/web/controller/system/SysOperlogController.java +++ b/ltkj-admin/src/main/java/com/ltkj/web/controller/system/SysOperlogController.java @@ -31,7 +31,7 @@ @Autowired private ISysOperLogService operLogService; - @PreAuthorize("@ss.hasPermi('monitor:operlog:list')") +// @PreAuthorize("@ss.hasPermi('monitor:operlog:list')") @GetMapping("/list") public TableDataInfo list(SysOperLog operLog) { startPage(); @@ -40,7 +40,7 @@ } @Log(title = "鎿嶄綔鏃ュ織", businessType = BusinessType.EXPORT) - @PreAuthorize("@ss.hasPermi('monitor:operlog:export')") +// @PreAuthorize("@ss.hasPermi('monitor:operlog:export')") @PostMapping("/export") public void export(HttpServletResponse response, SysOperLog operLog) { List<SysOperLog> list = operLogService.selectOperLogList(operLog); @@ -49,14 +49,14 @@ } @Log(title = "鎿嶄綔鏃ュ織", businessType = BusinessType.DELETE) - @PreAuthorize("@ss.hasPermi('monitor:operlog:remove')") +// @PreAuthorize("@ss.hasPermi('monitor:operlog:remove')") @DeleteMapping("/{operIds}") public AjaxResult remove(@PathVariable Long[] operIds) { return toAjax(operLogService.deleteOperLogByIds(operIds)); } @Log(title = "鎿嶄綔鏃ュ織", businessType = BusinessType.CLEAN) - @PreAuthorize("@ss.hasPermi('monitor:operlog:remove')") +// @PreAuthorize("@ss.hasPermi('monitor:operlog:remove')") @DeleteMapping("/clean") public AjaxResult clean() { operLogService.cleanOperLog(); diff --git a/ltkj-admin/src/main/java/com/ltkj/web/controller/system/SysPostController.java b/ltkj-admin/src/main/java/com/ltkj/web/controller/system/SysPostController.java index 2874467..422d0d4 100644 --- a/ltkj-admin/src/main/java/com/ltkj/web/controller/system/SysPostController.java +++ b/ltkj-admin/src/main/java/com/ltkj/web/controller/system/SysPostController.java @@ -38,7 +38,7 @@ /** * 鑾峰彇宀椾綅鍒楄〃 */ - @PreAuthorize("@ss.hasPermi('system:post:list')") +// @PreAuthorize("@ss.hasPermi('system:post:list')") @GetMapping("/list") public TableDataInfo list(SysPost post) { startPage(); @@ -47,7 +47,7 @@ } @Log(title = "宀椾綅绠$悊", businessType = BusinessType.EXPORT) - @PreAuthorize("@ss.hasPermi('system:post:export')") +// @PreAuthorize("@ss.hasPermi('system:post:export')") @PostMapping("/export") public void export(HttpServletResponse response, SysPost post) { List<SysPost> list = postService.selectPostList(post); @@ -58,7 +58,7 @@ /** * 鏍规嵁宀椾綅缂栧彿鑾峰彇璇︾粏淇℃伅 */ - @PreAuthorize("@ss.hasPermi('system:post:query')") +// @PreAuthorize("@ss.hasPermi('system:post:query')") @GetMapping(value = "/{postId}") public AjaxResult getInfo(@PathVariable Long postId) { return success(postService.selectPostById(postId)); @@ -67,7 +67,7 @@ /** * 鏂板宀椾綅 */ - @PreAuthorize("@ss.hasPermi('system:post:add')") +// @PreAuthorize("@ss.hasPermi('system:post:add')") @Log(title = "宀椾綅绠$悊", businessType = BusinessType.INSERT) @PostMapping public AjaxResult add(@Validated @RequestBody SysPost post) { @@ -83,7 +83,7 @@ /** * 淇敼宀椾綅 */ - @PreAuthorize("@ss.hasPermi('system:post:edit')") +// @PreAuthorize("@ss.hasPermi('system:post:edit')") @Log(title = "宀椾綅绠$悊", businessType = BusinessType.UPDATE) @PutMapping public AjaxResult edit(@Validated @RequestBody SysPost post) { @@ -99,7 +99,7 @@ /** * 鍒犻櫎宀椾綅 */ - @PreAuthorize("@ss.hasPermi('system:post:remove')") +// @PreAuthorize("@ss.hasPermi('system:post:remove')") @Log(title = "宀椾綅绠$悊", businessType = BusinessType.DELETE) @DeleteMapping("/{postIds}") public AjaxResult remove(@PathVariable Long[] postIds) { diff --git a/ltkj-admin/src/main/java/com/ltkj/web/controller/system/SysRoleController.java b/ltkj-admin/src/main/java/com/ltkj/web/controller/system/SysRoleController.java index 9086d81..cca40dc 100644 --- a/ltkj-admin/src/main/java/com/ltkj/web/controller/system/SysRoleController.java +++ b/ltkj-admin/src/main/java/com/ltkj/web/controller/system/SysRoleController.java @@ -56,7 +56,7 @@ @Autowired private ISysDeptService deptService; - @PreAuthorize("@ss.hasPermi('system:role:list')") +// @PreAuthorize("@ss.hasPermi('system:role:list')") @GetMapping("/list") public TableDataInfo list(SysRole role) { startPage(); @@ -65,7 +65,7 @@ } @Log(title = "瑙掕壊绠$悊", businessType = BusinessType.EXPORT) - @PreAuthorize("@ss.hasPermi('system:role:export')") +// @PreAuthorize("@ss.hasPermi('system:role:export')") @PostMapping("/export") public void export(HttpServletResponse response, SysRole role) { List<SysRole> list = roleService.selectRoleList(role); @@ -76,7 +76,7 @@ /** * 鏍规嵁瑙掕壊缂栧彿鑾峰彇璇︾粏淇℃伅 */ - @PreAuthorize("@ss.hasPermi('system:role:query')") +// @PreAuthorize("@ss.hasPermi('system:role:query')") @GetMapping(value = "/{roleId}") public AjaxResult getInfo(@PathVariable Long roleId) { roleService.checkRoleDataScope(roleId); @@ -86,7 +86,7 @@ /** * 鏂板瑙掕壊 */ - @PreAuthorize("@ss.hasPermi('system:role:add')") +// @PreAuthorize("@ss.hasPermi('system:role:add')") @Log(title = "瑙掕壊绠$悊", businessType = BusinessType.INSERT) @PostMapping public AjaxResult add(@Validated @RequestBody SysRole role) { @@ -103,7 +103,7 @@ /** * 淇敼淇濆瓨瑙掕壊 */ - @PreAuthorize("@ss.hasPermi('system:role:edit')") +// @PreAuthorize("@ss.hasPermi('system:role:edit')") @Log(title = "瑙掕壊绠$悊", businessType = BusinessType.UPDATE) @PutMapping public AjaxResult edit(@Validated @RequestBody SysRole role) { @@ -132,7 +132,7 @@ /** * 淇敼淇濆瓨鏁版嵁鏉冮檺 */ - @PreAuthorize("@ss.hasPermi('system:role:edit')") +// @PreAuthorize("@ss.hasPermi('system:role:edit')") @Log(title = "瑙掕壊绠$悊", businessType = BusinessType.UPDATE) @PutMapping("/dataScope") public AjaxResult dataScope(@RequestBody SysRole role) { @@ -144,7 +144,7 @@ /** * 鐘舵�佷慨鏀� */ - @PreAuthorize("@ss.hasPermi('system:role:edit')") +// @PreAuthorize("@ss.hasPermi('system:role:edit')") @Log(title = "瑙掕壊绠$悊", businessType = BusinessType.UPDATE) @PutMapping("/changeStatus") public AjaxResult changeStatus(@RequestBody SysRole role) { @@ -157,7 +157,7 @@ /** * 鍒犻櫎瑙掕壊 */ - @PreAuthorize("@ss.hasPermi('system:role:remove')") +// @PreAuthorize("@ss.hasPermi('system:role:remove')") @Log(title = "瑙掕壊绠$悊", businessType = BusinessType.DELETE) @DeleteMapping("/{roleIds}") public AjaxResult remove(@PathVariable Long[] roleIds) { @@ -167,7 +167,7 @@ /** * 鑾峰彇瑙掕壊閫夋嫨妗嗗垪琛� */ - @PreAuthorize("@ss.hasPermi('system:role:query')") +// @PreAuthorize("@ss.hasPermi('system:role:query')") @GetMapping("/optionselect") public AjaxResult optionselect() { return success(roleService.selectRoleAll()); @@ -176,7 +176,7 @@ /** * 鏌ヨ宸插垎閰嶇敤鎴疯鑹插垪琛� */ - @PreAuthorize("@ss.hasPermi('system:role:list')") +// @PreAuthorize("@ss.hasPermi('system:role:list')") @GetMapping("/authUser/allocatedList") public TableDataInfo allocatedList(SysUser user) { startPage(); @@ -187,7 +187,7 @@ /** * 鏌ヨ鏈垎閰嶇敤鎴疯鑹插垪琛� */ - @PreAuthorize("@ss.hasPermi('system:role:list')") +// @PreAuthorize("@ss.hasPermi('system:role:list')") @GetMapping("/authUser/unallocatedList") public TableDataInfo unallocatedList(SysUser user) { startPage(); @@ -198,7 +198,7 @@ /** * 鍙栨秷鎺堟潈鐢ㄦ埛 */ - @PreAuthorize("@ss.hasPermi('system:role:edit')") +// @PreAuthorize("@ss.hasPermi('system:role:edit')") @Log(title = "瑙掕壊绠$悊", businessType = BusinessType.GRANT) @PutMapping("/authUser/cancel") public AjaxResult cancelAuthUser(@RequestBody SysUserRole userRole) { @@ -208,7 +208,7 @@ /** * 鎵归噺鍙栨秷鎺堟潈鐢ㄦ埛 */ - @PreAuthorize("@ss.hasPermi('system:role:edit')") +// @PreAuthorize("@ss.hasPermi('system:role:edit')") @Log(title = "瑙掕壊绠$悊", businessType = BusinessType.GRANT) @PutMapping("/authUser/cancelAll") public AjaxResult cancelAuthUserAll(Long roleId, Long[] userIds) { @@ -218,7 +218,7 @@ /** * 鎵归噺閫夋嫨鐢ㄦ埛鎺堟潈 */ - @PreAuthorize("@ss.hasPermi('system:role:edit')") +// @PreAuthorize("@ss.hasPermi('system:role:edit')") @Log(title = "瑙掕壊绠$悊", businessType = BusinessType.GRANT) @PutMapping("/authUser/selectAll") public AjaxResult selectAuthUserAll(Long roleId, Long[] userIds) { @@ -229,7 +229,7 @@ /** * 鑾峰彇瀵瑰簲瑙掕壊閮ㄩ棬鏍戝垪琛� */ - @PreAuthorize("@ss.hasPermi('system:role:query')") +// @PreAuthorize("@ss.hasPermi('system:role:query')") @GetMapping(value = "/deptTree/{roleId}") public AjaxResult deptTree(@PathVariable("roleId") Long roleId) { AjaxResult ajax = AjaxResult.success(); diff --git a/ltkj-admin/src/main/java/com/ltkj/web/controller/system/SysUserController.java b/ltkj-admin/src/main/java/com/ltkj/web/controller/system/SysUserController.java index 6c1acc6..5f84df5 100644 --- a/ltkj-admin/src/main/java/com/ltkj/web/controller/system/SysUserController.java +++ b/ltkj-admin/src/main/java/com/ltkj/web/controller/system/SysUserController.java @@ -85,7 +85,7 @@ /** * 鑾峰彇鐢ㄦ埛鍒楄〃 */ - @PreAuthorize("@ss.hasPermi('system:user:list')") +// @PreAuthorize("@ss.hasPermi('system:user:list')") @GetMapping("/list") @ApiOperation("鑾峰彇鐢ㄦ埛") public TableDataInfo list(@ApiParam(value = "鐢ㄦ埛瀵硅薄") SysUser user) { @@ -134,7 +134,7 @@ } @Log(title = "鐢ㄦ埛绠$悊", businessType = BusinessType.EXPORT) - @PreAuthorize("@ss.hasPermi('system:user:export')") +// @PreAuthorize("@ss.hasPermi('system:user:export')") @PostMapping("/export") public void export(HttpServletResponse response, SysUser user) { List<SysUser> list = userService.selectUserList(user); @@ -143,7 +143,7 @@ } @Log(title = "鐢ㄦ埛绠$悊", businessType = BusinessType.IMPORT) - @PreAuthorize("@ss.hasPermi('system:user:import')") +// @PreAuthorize("@ss.hasPermi('system:user:import')") @PostMapping("/importData") public AjaxResult importData(MultipartFile file, boolean updateSupport) throws Exception { ExcelUtil<SysUser> util = new ExcelUtil<SysUser>(SysUser.class); @@ -162,7 +162,7 @@ /** * 鏍规嵁鐢ㄦ埛id鑾峰彇璇︾粏淇℃伅 */ - @PreAuthorize("@ss.hasPermi('system:user:query')") +// @PreAuthorize("@ss.hasPermi('system:user:query')") @GetMapping("/{userId}") @ApiOperation("鏍规嵁鐢ㄦ埛id鑾峰彇璇︾粏淇℃伅") public AjaxResult getInfo(@PathVariable(value = "userId") @ApiParam(value = "鐢ㄦ埛id") @RequestParam Long userId) { @@ -187,7 +187,7 @@ /** * 鏂板鐢ㄦ埛 */ - @PreAuthorize("@ss.hasPermi('system:user:add')") +// @PreAuthorize("@ss.hasPermi('system:user:add')") @Log(title = "鐢ㄦ埛绠$悊", businessType = BusinessType.INSERT) @PostMapping @ApiOperation(value = "鏂板鐢ㄦ埛") @@ -216,7 +216,7 @@ /** * 淇敼鐢ㄦ埛 */ - @PreAuthorize("@ss.hasPermi('system:user:edit')") +// @PreAuthorize("@ss.hasPermi('system:user:edit')") @Log(title = "鐢ㄦ埛绠$悊", businessType = BusinessType.UPDATE) @PutMapping @ApiOperation(value = "淇敼鐢ㄦ埛") @@ -261,7 +261,7 @@ /** * 鍒犻櫎鐢ㄦ埛 */ - @PreAuthorize("@ss.hasPermi('system:user:remove')") +// @PreAuthorize("@ss.hasPermi('system:user:remove')") @Log(title = "鐢ㄦ埛绠$悊", businessType = BusinessType.DELETE) @DeleteMapping("/{userIds}") @ApiOperation("鍒犻櫎鐢ㄦ埛") @@ -283,12 +283,13 @@ /** * 閲嶇疆瀵嗙爜 */ - @PreAuthorize("@ss.hasPermi('system:user:resetPwd')") +// @PreAuthorize("@ss.hasPermi('system:user:resetPwd')") @Log(title = "鐢ㄦ埛绠$悊", businessType = BusinessType.UPDATE) @PutMapping("/resetPwd") public AjaxResult resetPwd(@RequestBody SysUser user) { userService.checkUserAllowed(user); userService.checkUserDataScope(user.getUserId()); + System.out.println(user.getPassword()); user.setPassword(SecurityUtils.encryptPassword(user.getPassword())); user.setUpdateBy(getUsername()); return toAjax(userService.resetPwd(user)); @@ -297,7 +298,7 @@ /** * 鐘舵�佷慨鏀� */ - @PreAuthorize("@ss.hasPermi('system:user:edit')") +// @PreAuthorize("@ss.hasPermi('system:user:edit')") @Log(title = "鐢ㄦ埛绠$悊", businessType = BusinessType.UPDATE) @PutMapping("/changeStatus") public AjaxResult changeStatus(@RequestBody SysUser user) { @@ -310,7 +311,7 @@ /** * 鏍规嵁鐢ㄦ埛缂栧彿鑾峰彇鎺堟潈瑙掕壊 */ - @PreAuthorize("@ss.hasPermi('system:user:query')") +// @PreAuthorize("@ss.hasPermi('system:user:query')") @GetMapping("/authRole/{userId}") @ApiOperation(value = "鏍规嵁鐢ㄦ埛缂栧彿鑾峰彇鎺堟潈瑙掕壊") public AjaxResult authRole(@PathVariable("userId") Long userId) { @@ -325,7 +326,7 @@ /** * 鐢ㄦ埛鎺堟潈瑙掕壊 */ - @PreAuthorize("@ss.hasPermi('system:user:edit')") +// @PreAuthorize("@ss.hasPermi('system:user:edit')") @Log(title = "鐢ㄦ埛绠$悊", businessType = BusinessType.GRANT) @PutMapping("/authRole") @ApiOperation(value = "鐢ㄦ埛鎺堟潈瑙掕壊") @@ -338,7 +339,7 @@ /** * 鑾峰彇閮ㄩ棬鏍戝垪琛� */ - @PreAuthorize("@ss.hasPermi('system:user:list')") +// @PreAuthorize("@ss.hasPermi('system:user:list')") @GetMapping("/deptTree") public AjaxResult deptTree(SysDept dept) { return success(deptService.selectDeptTreeList(dept)); diff --git a/ltkj-admin/src/main/java/com/ltkj/web/controller/system/SysUserOnlineController.java b/ltkj-admin/src/main/java/com/ltkj/web/controller/system/SysUserOnlineController.java index dd5b795..4883619 100644 --- a/ltkj-admin/src/main/java/com/ltkj/web/controller/system/SysUserOnlineController.java +++ b/ltkj-admin/src/main/java/com/ltkj/web/controller/system/SysUserOnlineController.java @@ -38,7 +38,7 @@ @Autowired private RedisCache redisCache; - @PreAuthorize("@ss.hasPermi('monitor:online:list')") +// @PreAuthorize("@ss.hasPermi('monitor:online:list')") @GetMapping("/list") public TableDataInfo list(String ipaddr, String userName) { Collection<String> keys = redisCache.keys(CacheConstants.LOGIN_TOKEN_KEY + "*"); @@ -69,7 +69,7 @@ /** * 寮洪��鐢ㄦ埛 */ - @PreAuthorize("@ss.hasPermi('monitor:online:forceLogout')") +// @PreAuthorize("@ss.hasPermi('monitor:online:forceLogout')") @Log(title = "鍦ㄧ嚎鐢ㄦ埛", businessType = BusinessType.FORCE) @DeleteMapping("/{tokenId}") public AjaxResult forceLogout(@PathVariable String tokenId) { diff --git a/ltkj-admin/src/main/java/com/ltkj/web/controller/system/TjAdviceController.java b/ltkj-admin/src/main/java/com/ltkj/web/controller/system/TjAdviceController.java index 327896d..746c397 100644 --- a/ltkj-admin/src/main/java/com/ltkj/web/controller/system/TjAdviceController.java +++ b/ltkj-admin/src/main/java/com/ltkj/web/controller/system/TjAdviceController.java @@ -43,7 +43,7 @@ /** * 鏌ヨadvice鍒楄〃 */ - @PreAuthorize("@ss.hasPermi('advice:advice:list')") +// @PreAuthorize("@ss.hasPermi('advice:advice:list')") @GetMapping("/list") @ApiOperation(value = "浣撴寤鸿鍒楄〃鏌ヨ") public AjaxResult list(@RequestParam(required = false) @ApiParam(value = "椤圭洰鍚�") String proName, @@ -94,7 +94,7 @@ /** * 瀵煎嚭advice鍒楄〃 */ - @PreAuthorize("@ss.hasPermi('advice:advice:export')") +// @PreAuthorize("@ss.hasPermi('advice:advice:export')") @Log(title = "advice", businessType = BusinessType.EXPORT) @PostMapping("/export") public void export(HttpServletResponse response, TjAdvice tjAdvice) { @@ -106,7 +106,7 @@ /** * 鑾峰彇advice璇︾粏淇℃伅 */ - @PreAuthorize("@ss.hasPermi('advice:advice:query')") +// @PreAuthorize("@ss.hasPermi('advice:advice:query')") @GetMapping(value = "/{id}") public AjaxResult getInfo(@PathVariable("id") Long id) { return AjaxResult.success(tjAdviceService.selectTjAdviceById(id)); @@ -115,7 +115,7 @@ /** * 鏂板advice */ - @PreAuthorize("@ss.hasPermi('advice:advice:add')") +// @PreAuthorize("@ss.hasPermi('advice:advice:add')") @Log(title = "advice", businessType = BusinessType.INSERT) @PostMapping public AjaxResult add(@RequestBody TjAdvice tjAdvice) { @@ -125,7 +125,7 @@ /** * 淇敼advice */ - @PreAuthorize("@ss.hasPermi('advice:advice:edit')") +// @PreAuthorize("@ss.hasPermi('advice:advice:edit')") @Log(title = "advice", businessType = BusinessType.UPDATE) @PutMapping public AjaxResult edit(@RequestBody TjAdvice tjAdvice) { @@ -135,7 +135,7 @@ /** * 鍒犻櫎advice */ - @PreAuthorize("@ss.hasPermi('advice:advice:remove')") +// @PreAuthorize("@ss.hasPermi('advice:advice:remove')") @Log(title = "advice", businessType = BusinessType.DELETE) @DeleteMapping("/{ids}") public AjaxResult remove(@PathVariable Long[] ids) { diff --git a/ltkj-admin/src/main/java/com/ltkj/web/controller/system/TjAskMedicalHistoryController.java b/ltkj-admin/src/main/java/com/ltkj/web/controller/system/TjAskMedicalHistoryController.java index 5535287..3e7091b 100644 --- a/ltkj-admin/src/main/java/com/ltkj/web/controller/system/TjAskMedicalHistoryController.java +++ b/ltkj-admin/src/main/java/com/ltkj/web/controller/system/TjAskMedicalHistoryController.java @@ -47,7 +47,7 @@ /** * 鏌ヨ闂瘖鍒楄〃 */ - @PreAuthorize("@ss.hasPermi('hosp:history:list')") +// @PreAuthorize("@ss.hasPermi('hosp:history:list')") @GetMapping("/list") public TableDataInfo list(TjAskMedicalHistory tjAskMedicalHistory) { startPage(); @@ -58,7 +58,7 @@ /** * 瀵煎嚭闂瘖鍒楄〃 */ - @PreAuthorize("@ss.hasPermi('hosp:history:export')") +// @PreAuthorize("@ss.hasPermi('hosp:history:export')") @Log(title = "闂瘖", businessType = BusinessType.EXPORT) @PostMapping("/export") public void export(HttpServletResponse response, TjAskMedicalHistory tjAskMedicalHistory) { @@ -70,7 +70,7 @@ /** * 鑾峰彇闂瘖璇︾粏淇℃伅 */ - @PreAuthorize("@ss.hasPermi('hosp:history:query')") +// @PreAuthorize("@ss.hasPermi('hosp:history:query')") @GetMapping(value = "/{askId}") public AjaxResult getInfo(@PathVariable("askId") Long askId) { return success(tjAskMedicalHistoryService.selectTjAskMedicalHistoryByAskId(askId)); @@ -208,7 +208,7 @@ /** * 鍒犻櫎闂瘖 */ - @PreAuthorize("@ss.hasPermi('hosp:history:remove')") +// @PreAuthorize("@ss.hasPermi('hosp:history:remove')") @Log(title = "闂瘖", businessType = BusinessType.DELETE) @DeleteMapping("/{askIds}") public AjaxResult remove(@PathVariable Long[] askIds) { diff --git a/ltkj-admin/src/main/java/com/ltkj/web/controller/system/TjCateringController.java b/ltkj-admin/src/main/java/com/ltkj/web/controller/system/TjCateringController.java index 33734e8..fec532a 100644 --- a/ltkj-admin/src/main/java/com/ltkj/web/controller/system/TjCateringController.java +++ b/ltkj-admin/src/main/java/com/ltkj/web/controller/system/TjCateringController.java @@ -32,7 +32,7 @@ * 鏌ヨ浣撴閰嶉 * 鍒楄〃 */ - @PreAuthorize("@ss.hasPermi('catering:catering:list')") +// @PreAuthorize("@ss.hasPermi('catering:catering:list')") @GetMapping("/list") public TableDataInfo list(TjCatering tjCatering) { startPage(); @@ -44,7 +44,7 @@ * 瀵煎嚭浣撴閰嶉 鍒楄〃 */ - @PreAuthorize("@ss.hasPermi('catering:catering:export')") +// @PreAuthorize("@ss.hasPermi('catering:catering:export')") @Log(title = "浣撴閰嶉", businessType = BusinessType.EXPORT) @PostMapping("/export") public void export(HttpServletResponse response, TjCatering tjCatering) { @@ -57,7 +57,7 @@ * 鑾峰彇浣撴閰嶉 * 璇︾粏淇℃伅 */ - @PreAuthorize("@ss.hasPermi('catering:catering:query')") +// @PreAuthorize("@ss.hasPermi('catering:catering:query')") @GetMapping(value = "/{id}") public AjaxResult getInfo(@PathVariable("id") String id) { return success(tjCateringService.selectTjCateringById(id)); @@ -67,7 +67,7 @@ * 鏂板浣撴閰嶉 */ - @PreAuthorize("@ss.hasPermi('catering:catering:add')") +// @PreAuthorize("@ss.hasPermi('catering:catering:add')") @Log(title = "浣撴閰嶉", businessType = BusinessType.INSERT) @PostMapping public AjaxResult add(@RequestBody TjCatering tjCatering){ @@ -77,7 +77,7 @@ /** * 淇敼浣撴閰嶉 */ - @PreAuthorize("@ss.hasPermi('catering:catering:edit')") +// @PreAuthorize("@ss.hasPermi('catering:catering:edit')") @Log(title = "浣撴閰嶉", businessType = BusinessType.UPDATE) @PutMapping public AjaxResult edit(@RequestBody TjCatering tjCatering){ @@ -87,7 +87,7 @@ /** * 鍒犻櫎浣撴閰嶉 */ - @PreAuthorize("@ss.hasPermi('catering:catering:remove')") +// @PreAuthorize("@ss.hasPermi('catering:catering:remove')") @Log(title = "浣撴閰嶉", businessType = BusinessType.DELETE) @DeleteMapping("/{ids}") public AjaxResult remove(@PathVariable String[]ids) { diff --git a/ltkj-admin/src/main/java/com/ltkj/web/controller/system/TjChargingStandardController.java b/ltkj-admin/src/main/java/com/ltkj/web/controller/system/TjChargingStandardController.java index ba19df1..1d109bf 100644 --- a/ltkj-admin/src/main/java/com/ltkj/web/controller/system/TjChargingStandardController.java +++ b/ltkj-admin/src/main/java/com/ltkj/web/controller/system/TjChargingStandardController.java @@ -37,7 +37,7 @@ /** * 鏌ヨ浣撴鏀惰垂鏄庣粏鍒楄〃 */ - @PreAuthorize("@ss.hasPermi('hosp:chargingstandard:list')") +// @PreAuthorize("@ss.hasPermi('hosp:chargingstandard:list')") @GetMapping("/list") public TableDataInfo list(TjChargingStandard tjChargingStandard) { startPage(); @@ -48,7 +48,7 @@ /** * 瀵煎嚭浣撴鏀惰垂鏄庣粏鍒楄〃 */ - @PreAuthorize("@ss.hasPermi('hosp:chargingstandard:export')") +// @PreAuthorize("@ss.hasPermi('hosp:chargingstandard:export')") @Log(title = "浣撴鏀惰垂鏄庣粏", businessType = BusinessType.EXPORT) @PostMapping("/export") public void export(HttpServletResponse response, TjChargingStandard tjChargingStandard) { @@ -69,7 +69,7 @@ /** * 鏂板浣撴鏀惰垂鏄庣粏 */ - @PreAuthorize("@ss.hasPermi('hosp:chargingstandard:add')") +// @PreAuthorize("@ss.hasPermi('hosp:chargingstandard:add')") @Log(title = "浣撴鏀惰垂鏄庣粏", businessType = BusinessType.INSERT) @PostMapping public AjaxResult add(@RequestBody TjChargingStandard tjChargingStandard) { @@ -79,7 +79,7 @@ /** * 淇敼浣撴鏀惰垂鏄庣粏 */ - @PreAuthorize("@ss.hasPermi('hosp:chargingstandard:edit')") +// @PreAuthorize("@ss.hasPermi('hosp:chargingstandard:edit')") @Log(title = "浣撴鏀惰垂鏄庣粏", businessType = BusinessType.UPDATE) @PutMapping public AjaxResult edit(@RequestBody TjChargingStandard tjChargingStandard) { @@ -89,7 +89,7 @@ /** * 鍒犻櫎浣撴鏀惰垂鏄庣粏 */ - @PreAuthorize("@ss.hasPermi('hosp:chargingstandard:remove')") +// @PreAuthorize("@ss.hasPermi('hosp:chargingstandard:remove')") @Log(title = "浣撴鏀惰垂鏄庣粏", businessType = BusinessType.DELETE) @DeleteMapping("/{ids}") public AjaxResult remove(@PathVariable Long[] ids) { diff --git a/ltkj-admin/src/main/java/com/ltkj/web/controller/system/TjCheckController.java b/ltkj-admin/src/main/java/com/ltkj/web/controller/system/TjCheckController.java index 1004756..67959ef 100644 --- a/ltkj-admin/src/main/java/com/ltkj/web/controller/system/TjCheckController.java +++ b/ltkj-admin/src/main/java/com/ltkj/web/controller/system/TjCheckController.java @@ -221,7 +221,7 @@ */ @GetMapping("/confirmOrder") @ApiOperation(value = "鍒濆(骞朵慨鏀圭姸鎬�)鎺ュ彛") - @PreAuthorize("@ss.hasPermi('check:check:confirmOrder')") +// @PreAuthorize("@ss.hasPermi('check:check:confirmOrder')") @Transactional public AjaxResult confirmOrder(@ApiParam(value = "tjNumber") @RequestParam String tjNumber, @ApiParam(value = "鐘舵�� 0鍚屾剰1鎷掔粷 榛樿鍚屾剰") @RequestParam(defaultValue = "0") Integer status, @@ -273,7 +273,7 @@ */ @GetMapping("/getList") @ApiOperation(value = "鏌ヨ浣撴璁板綍瀹㈡埛鍒楄〃")//0寰�1宸� - @PreAuthorize("@ss.hasPermi('check:check:getList')") +// @PreAuthorize("@ss.hasPermi('check:check:getList')") public AjaxResult getList(@ApiParam(value = "瀹℃牳鐘舵��0寰呭鏍�1宸插鏍�") @RequestParam(required = false) Integer checkStatus, @ApiParam(value = "椤电爜鏁�(榛樿1)") @RequestParam(defaultValue = "1") Integer page, @ApiParam(value = "鏄剧ず鏉℃暟(榛樿10)") @RequestParam(defaultValue = "10") Integer pageSize, @@ -382,7 +382,7 @@ */ @PutMapping("/getTjdetailList") @ApiOperation(value = "鏍规嵁浣撴璁㈠崟鍙疯幏鍙栦綋妫�璇︽儏淇℃伅(骞朵慨鏀圭姸鎬�)鎺ュ彛") - @PreAuthorize("@ss.hasPermi('check:check:getTjdetailList')") +// @PreAuthorize("@ss.hasPermi('check:check:getTjdetailList')") public AjaxResult getTjdetailList(@ApiParam(value = "浣撴tjNumber") @RequestParam String tjNumber, @ApiParam(value = "鎬绘寤鸿") @RequestParam(required = false) String advice, @ApiParam(value = "瀹℃牳鐘舵��0寰呭鏍�1宸插鏍�") @RequestParam Integer checkStatus) { @@ -431,7 +431,7 @@ */ @GetMapping("/updateCheckType") @ApiOperation(value = "鎬绘鐐瑰嚮浣撴淇℃伅璇︽儏") - @PreAuthorize("@ss.hasPermi('check:check:updateCheckType')") +// @PreAuthorize("@ss.hasPermi('check:check:updateCheckType')") public AjaxResult updateCheckType(@ApiParam(value = "瀹㈡埛浣撴鍙�") @RequestParam String tjNumber) { List<Map<String, Object>> list = new ArrayList<>(); LambdaQueryWrapper<TjOrder> wq1 = new LambdaQueryWrapper<>(); @@ -524,7 +524,7 @@ @GetMapping("/getTm") @ApiOperation(value = "鑾峰彇鏉$爜") - @PreAuthorize("@ss.hasPermi('check:check:getTm')") +// @PreAuthorize("@ss.hasPermi('check:check:getTm')") public AjaxResult getTm(@ApiParam(value = "瀹㈡埛浣撴鍙�") @RequestParam String tjNumber) { return AjaxResult.success(tjNumber); } diff --git a/ltkj-admin/src/main/java/com/ltkj/web/controller/system/TjConsumablesController.java b/ltkj-admin/src/main/java/com/ltkj/web/controller/system/TjConsumablesController.java index 33f5794..e408041 100644 --- a/ltkj-admin/src/main/java/com/ltkj/web/controller/system/TjConsumablesController.java +++ b/ltkj-admin/src/main/java/com/ltkj/web/controller/system/TjConsumablesController.java @@ -37,7 +37,7 @@ /** * 鏌ヨ浣撴鑰楁潗鍒楄〃 */ - @PreAuthorize("@ss.hasPermi('hosp:consumables:list')") +// @PreAuthorize("@ss.hasPermi('hosp:consumables:list')") @GetMapping("/list") public TableDataInfo list(TjConsumables tjConsumables) { startPage(); @@ -48,7 +48,7 @@ /** * 瀵煎嚭浣撴鑰楁潗鍒楄〃 */ - @PreAuthorize("@ss.hasPermi('hosp:consumables:export')") +// @PreAuthorize("@ss.hasPermi('hosp:consumables:export')") @Log(title = "浣撴鑰楁潗", businessType = BusinessType.EXPORT) @PostMapping("/export") public void export(HttpServletResponse response, TjConsumables tjConsumables) { @@ -60,7 +60,7 @@ /** * 鑾峰彇浣撴鑰楁潗璇︾粏淇℃伅 */ - @PreAuthorize("@ss.hasPermi('hosp:consumables:query')") +// @PreAuthorize("@ss.hasPermi('hosp:consumables:query')") @GetMapping(value = "/{id}") public AjaxResult getInfo(@PathVariable("id") Long id) { return success(tjConsumablesService.selectTjConsumablesById(id)); @@ -69,7 +69,7 @@ /** * 鏂板浣撴鑰楁潗 */ - @PreAuthorize("@ss.hasPermi('hosp:consumables:add')") +// @PreAuthorize("@ss.hasPermi('hosp:consumables:add')") @Log(title = "浣撴鑰楁潗", businessType = BusinessType.INSERT) @PostMapping public AjaxResult add(@RequestBody TjConsumables tjConsumables) { @@ -79,7 +79,7 @@ /** * 淇敼浣撴鑰楁潗 */ - @PreAuthorize("@ss.hasPermi('hosp:consumables:edit')") +// @PreAuthorize("@ss.hasPermi('hosp:consumables:edit')") @Log(title = "浣撴鑰楁潗", businessType = BusinessType.UPDATE) @PutMapping public AjaxResult edit(@RequestBody TjConsumables tjConsumables) { @@ -89,7 +89,7 @@ /** * 鍒犻櫎浣撴鑰楁潗 */ - @PreAuthorize("@ss.hasPermi('hosp:consumables:remove')") +// @PreAuthorize("@ss.hasPermi('hosp:consumables:remove')") @Log(title = "浣撴鑰楁潗", businessType = BusinessType.DELETE) @DeleteMapping("/{ids}") public AjaxResult remove(@PathVariable Long[] ids) { diff --git a/ltkj-admin/src/main/java/com/ltkj/web/controller/system/TjCustomerController.java b/ltkj-admin/src/main/java/com/ltkj/web/controller/system/TjCustomerController.java index cacb0bb..2ce487d 100644 --- a/ltkj-admin/src/main/java/com/ltkj/web/controller/system/TjCustomerController.java +++ b/ltkj-admin/src/main/java/com/ltkj/web/controller/system/TjCustomerController.java @@ -149,7 +149,7 @@ /** * 鏌ヨ瀹㈡埛淇℃伅鍒楄〃 */ - @PreAuthorize("@ss.hasPermi('hosp:customer:list')") +// @PreAuthorize("@ss.hasPermi('hosp:customer:list')") @GetMapping("/list") @ApiOperation(value = "鏌ョ湅瀹㈡埛鍒楄〃") public TableDataInfo list(TjCustomer tjCustomer) { diff --git a/ltkj-admin/src/main/java/com/ltkj/web/controller/system/TjDiscardInspectionController.java b/ltkj-admin/src/main/java/com/ltkj/web/controller/system/TjDiscardInspectionController.java index 710dacd..b901dd9 100644 --- a/ltkj-admin/src/main/java/com/ltkj/web/controller/system/TjDiscardInspectionController.java +++ b/ltkj-admin/src/main/java/com/ltkj/web/controller/system/TjDiscardInspectionController.java @@ -31,7 +31,7 @@ /** * 鏌ヨ寮冩鍒楄〃 */ -@PreAuthorize("@ss.hasPermi('hosp:inspection:list')") +//@PreAuthorize("@ss.hasPermi('hosp:inspection:list')") @GetMapping("/list") public TableDataInfo list(TjDiscardInspection tjDiscardInspection) { startPage(); @@ -47,7 +47,7 @@ /** * 鑾峰彇寮冩璇︾粏淇℃伅 */ - @PreAuthorize("@ss.hasPermi('hosp:inspection:query')") +// @PreAuthorize("@ss.hasPermi('hosp:inspection:query')") @GetMapping(value = "/{id}") public AjaxResult getInfo(@PathVariable("id") Long id) { return success(tjDiscardInspectionService.selectTjDiscardInspectionById(id)); diff --git a/ltkj-admin/src/main/java/com/ltkj/web/controller/system/TjDwDeptController.java b/ltkj-admin/src/main/java/com/ltkj/web/controller/system/TjDwDeptController.java index 24c3008..9d1d398 100644 --- a/ltkj-admin/src/main/java/com/ltkj/web/controller/system/TjDwDeptController.java +++ b/ltkj-admin/src/main/java/com/ltkj/web/controller/system/TjDwDeptController.java @@ -55,7 +55,7 @@ /** * 瀵煎嚭浣撴鍗曚綅閮ㄩ棬鍒楄〃 */ - @PreAuthorize("@ss.hasPermi('hosp:dept:export')") +// @PreAuthorize("@ss.hasPermi('hosp:dept:export')") @Log(title = "浣撴鍗曚綅閮ㄩ棬", businessType = BusinessType.EXPORT) @PostMapping("/export") public void export(HttpServletResponse response, TjDwDept tjDwDept) { diff --git a/ltkj-admin/src/main/java/com/ltkj/web/controller/system/TjDwGroupingController.java b/ltkj-admin/src/main/java/com/ltkj/web/controller/system/TjDwGroupingController.java index 3effdbc..0f58ccc 100644 --- a/ltkj-admin/src/main/java/com/ltkj/web/controller/system/TjDwGroupingController.java +++ b/ltkj-admin/src/main/java/com/ltkj/web/controller/system/TjDwGroupingController.java @@ -69,7 +69,7 @@ /** * 瀵煎嚭浣撴鍗曚綅鍒嗙粍鍒楄〃 */ - @PreAuthorize("@ss.hasPermi('hosp:grouping:export')") +// @PreAuthorize("@ss.hasPermi('hosp:grouping:export')") @Log(title = "浣撴鍗曚綅鍒嗙粍", businessType = BusinessType.EXPORT) @PostMapping("/export") public void export(HttpServletResponse response, TjDwGrouping tjDwGrouping) { diff --git a/ltkj-admin/src/main/java/com/ltkj/web/controller/system/TjFlowingWaterController.java b/ltkj-admin/src/main/java/com/ltkj/web/controller/system/TjFlowingWaterController.java index 66a9729..92968de 100644 --- a/ltkj-admin/src/main/java/com/ltkj/web/controller/system/TjFlowingWaterController.java +++ b/ltkj-admin/src/main/java/com/ltkj/web/controller/system/TjFlowingWaterController.java @@ -104,7 +104,7 @@ /** * 鏌ヨ浣撴娴佹按鍒楄〃 */ - @PreAuthorize("@ss.hasPermi('hosp:water:list')") +// @PreAuthorize("@ss.hasPermi('hosp:water:list')") @GetMapping("/list") @ApiOperation(value = "鏌ヨ浣撴娴佹按鍒楄〃") public TableDataInfo list(TjFlowingWater tjFlowingWater) { @@ -258,7 +258,7 @@ /** * 鍒犻櫎浣撴娴佹按 */ - @PreAuthorize("@ss.hasPermi('hosp:water:remove')") +// @PreAuthorize("@ss.hasPermi('hosp:water:remove')") @Log(title = "浣撴娴佹按", businessType = BusinessType.DELETE) @DeleteMapping("/{ids}") public AjaxResult remove(@PathVariable String[] ids) { diff --git a/ltkj-admin/src/main/java/com/ltkj/web/controller/system/TjGroupingProController.java b/ltkj-admin/src/main/java/com/ltkj/web/controller/system/TjGroupingProController.java index 668f0b6..c9fcad3 100644 --- a/ltkj-admin/src/main/java/com/ltkj/web/controller/system/TjGroupingProController.java +++ b/ltkj-admin/src/main/java/com/ltkj/web/controller/system/TjGroupingProController.java @@ -53,7 +53,7 @@ /** * 瀵煎嚭浣撴椤圭洰鍒嗙粍鍒楄〃 */ - @PreAuthorize("@ss.hasPermi('hosp:pro:export')") +// @PreAuthorize("@ss.hasPermi('hosp:pro:export')") @Log(title = "浣撴椤圭洰鍒嗙粍", businessType = BusinessType.EXPORT) @PostMapping("/export") public void export(HttpServletResponse response, TjGroupingPro tjGroupingPro) { diff --git a/ltkj-admin/src/main/java/com/ltkj/web/controller/system/TjHomePageController.java b/ltkj-admin/src/main/java/com/ltkj/web/controller/system/TjHomePageController.java index 52dd24f..0db4807 100644 --- a/ltkj-admin/src/main/java/com/ltkj/web/controller/system/TjHomePageController.java +++ b/ltkj-admin/src/main/java/com/ltkj/web/controller/system/TjHomePageController.java @@ -317,7 +317,7 @@ @GetMapping("/GetAbnormalData") @ApiOperation(value = "浣撴缁撴灉寮傚父鏁版嵁缁熻鍒嗘瀽") - @PreAuthorize("@ss.hasPermi('home:page:GetAbnormalData')") +// @PreAuthorize("@ss.hasPermi('home:page:GetAbnormalData')") public List<AbnormalVO> GetAbnormalData(@RequestParam(required = false) String startDate, @RequestParam(required = false) String endDate) { List<AbnormalVO> list = new ArrayList<>(); List<TjOrderDetail> list1 = detailService.getTjOrderDetailList(startDate,endDate); @@ -400,7 +400,7 @@ @GetMapping("/getDiseaseList") @ApiOperation("鏍规嵁鐤剧梾鍚嶇О鏌ヨ鐩稿叧浜哄憳淇℃伅鎺ュ彛") - @PreAuthorize("@ss.hasPermi('home:page:getDiseaseList')") +// @PreAuthorize("@ss.hasPermi('home:page:getDiseaseList')") public AjaxResult getDiseaseList(@ApiParam(value = "鐤剧梾鍚嶇О") @RequestParam String disesseName, @ApiParam(value = "寮�濮嬫椂闂�") @RequestParam(required = false) String beginTime, @ApiParam(value = "缁撴潫鏃堕棿") @RequestParam(required = false) String endTime) { diff --git a/ltkj-admin/src/main/java/com/ltkj/web/controller/system/TjOrderDetailController.java b/ltkj-admin/src/main/java/com/ltkj/web/controller/system/TjOrderDetailController.java index 979eaf9..a5db192 100644 --- a/ltkj-admin/src/main/java/com/ltkj/web/controller/system/TjOrderDetailController.java +++ b/ltkj-admin/src/main/java/com/ltkj/web/controller/system/TjOrderDetailController.java @@ -45,7 +45,7 @@ /** * 鏌ヨ浣撴璁板綍鏄庣粏鍒楄〃 */ - @PreAuthorize("@ss.hasPermi('hosp:detail:list')") +// @PreAuthorize("@ss.hasPermi('hosp:detail:list')") @GetMapping("/list") @ApiOperation(value = "鏌ヨ浣撴璁板綍鏄庣粏鍒楄〃") public TableDataInfo list(TjOrderDetail tjOrderDetail) { @@ -69,7 +69,7 @@ /** * 瀵煎嚭浣撴璁板綍鏄庣粏鍒楄〃 */ - @PreAuthorize("@ss.hasPermi('hosp:detail:export')") + //@PreAuthorize("@ss.hasPermi('hosp:detail:export')") @Log(title = "浣撴椤圭洰鏄庣粏", businessType = BusinessType.EXPORT) @PostMapping("/export") @ApiOperation(value = "瀵煎嚭浣撴璁板綍鏄庣粏鍒楄〃") @@ -82,7 +82,7 @@ /** * 鑾峰彇浣撴璁板綍鏄庣粏璇︾粏淇℃伅 */ - @PreAuthorize("@ss.hasPermi('hosp:detail:query')") + //@PreAuthorize("@ss.hasPermi('hosp:detail:query')") @GetMapping(value = "/{orderDetailId}") @ApiOperation(value = "鑾峰彇浣撴璁板綍鏄庣粏璇︾粏淇℃伅") public AjaxResult getInfo(@PathVariable("orderDetailId") String orderDetailId) { @@ -92,7 +92,7 @@ /** * 鏂板浣撴璁板綍鏄庣粏 */ - @PreAuthorize("@ss.hasPermi('hosp:detail:add')") + //@PreAuthorize("@ss.hasPermi('hosp:detail:add')") @Log(title = "浣撴椤圭洰鏄庣粏", businessType = BusinessType.INSERT) @PostMapping @ApiOperation(value = "鏂板浣撴璁板綍鏄庣粏") @@ -104,7 +104,7 @@ /** * 淇敼浣撴璁板綍鏄庣粏 */ - @PreAuthorize("@ss.hasPermi('hosp:detail:edit')") + //@PreAuthorize("@ss.hasPermi('hosp:detail:edit')") @Log(title = "浣撴椤圭洰鏄庣粏", businessType = BusinessType.UPDATE) @PutMapping @ApiOperation(value = "淇敼浣撴璁板綍鏄庣粏") @@ -115,7 +115,7 @@ /** * 鍒犻櫎浣撴璁板綍鏄庣粏 */ - @PreAuthorize("@ss.hasPermi('hosp:detail:remove')") + //@PreAuthorize("@ss.hasPermi('hosp:detail:remove')") @Log(title = "浣撴椤圭洰鏄庣粏", businessType = BusinessType.DELETE) @DeleteMapping("/{orderDetailIds}") @ApiOperation(value = "鍒犻櫎浣撴璁板綍鏄庣粏") diff --git a/ltkj-admin/src/main/java/com/ltkj/web/controller/system/TjOrderDetailRulesController.java b/ltkj-admin/src/main/java/com/ltkj/web/controller/system/TjOrderDetailRulesController.java index 644bbb7..fb1372f 100644 --- a/ltkj-admin/src/main/java/com/ltkj/web/controller/system/TjOrderDetailRulesController.java +++ b/ltkj-admin/src/main/java/com/ltkj/web/controller/system/TjOrderDetailRulesController.java @@ -29,7 +29,7 @@ /** * 鏂板缁撴灉缁撹鏁版嵁璁板綍 */ - @PreAuthorize("@ss.hasPermi('hosp:orderDetailRules:add')") + //@PreAuthorize("@ss.hasPermi('hosp:orderDetailRules:add')") @Log(title = "缁撴灉缁撹鏁版嵁璁板綍", businessType = BusinessType.INSERT) @PostMapping public AjaxResult add(@RequestBody TjOrderDetailRules tjOrderDetailRules) { diff --git a/ltkj-admin/src/main/java/com/ltkj/web/controller/system/TjOtherCheckController.java b/ltkj-admin/src/main/java/com/ltkj/web/controller/system/TjOtherCheckController.java index cc9f955..22176b4 100644 --- a/ltkj-admin/src/main/java/com/ltkj/web/controller/system/TjOtherCheckController.java +++ b/ltkj-admin/src/main/java/com/ltkj/web/controller/system/TjOtherCheckController.java @@ -52,7 +52,7 @@ /** * 鏌ヨ浣撴鍏朵粬妫�娴嬪垪琛� */ - @PreAuthorize("@ss.hasPermi('system:check:list')") + //@PreAuthorize("@ss.hasPermi('system:check:list')") @GetMapping("/list") @ApiOperation(value = "鏌ヨ浣撴鍏朵粬妫�娴嬪垪琛�") public TableDataInfo list(TjOtherCheck tjOtherCheck) { @@ -102,7 +102,7 @@ /** * 瀵煎嚭浣撴鍏朵粬妫�娴嬪垪琛� */ - @PreAuthorize("@ss.hasPermi('system:check:export')") + //@PreAuthorize("@ss.hasPermi('system:check:export')") @Log(title = "浣撴鍏朵粬妫�娴�", businessType = BusinessType.EXPORT) @PostMapping("/export") @ApiOperation(value = "瀵煎嚭浣撴鍏朵粬妫�娴嬪垪琛�") @@ -115,7 +115,7 @@ /** * 鑾峰彇浣撴鍏朵粬妫�娴嬭缁嗕俊鎭� */ - @PreAuthorize("@ss.hasPermi('system:check:query')") + //@PreAuthorize("@ss.hasPermi('system:check:query')") @GetMapping(value = "/{id}") @ApiOperation(value = "鑾峰彇浣撴鍏朵粬妫�娴嬭缁嗕俊鎭�") public AjaxResult getInfo(@PathVariable("id") String id) { @@ -125,7 +125,7 @@ /** * 鏂板浣撴鍏朵粬妫�娴� */ - @PreAuthorize("@ss.hasPermi('system:check:add')") + //@PreAuthorize("@ss.hasPermi('system:check:add')") @Log(title = "浣撴鍏朵粬妫�娴�", businessType = BusinessType.INSERT) @PostMapping @ApiOperation(value = "鏂板浣撴鍏朵粬妫�娴�") @@ -136,7 +136,7 @@ /** * 淇敼浣撴鍏朵粬妫�娴� */ - @PreAuthorize("@ss.hasPermi('system:check:edit')") + //@PreAuthorize("@ss.hasPermi('system:check:edit')") @Log(title = "浣撴鍏朵粬妫�娴�", businessType = BusinessType.UPDATE) @PutMapping @ApiOperation(value = "淇敼浣撴鍏朵粬妫�娴�") @@ -147,7 +147,7 @@ /** * 鍒犻櫎浣撴鍏朵粬妫�娴� */ - @PreAuthorize("@ss.hasPermi('system:check:remove')") + //@PreAuthorize("@ss.hasPermi('system:check:remove')") @Log(title = "浣撴鍏朵粬妫�娴�", businessType = BusinessType.DELETE) @DeleteMapping("/{ids}") @ApiOperation(value = "鍒犻櫎浣撴鍏朵粬妫�娴�") diff --git a/ltkj-admin/src/main/java/com/ltkj/web/controller/system/TjPackageController.java b/ltkj-admin/src/main/java/com/ltkj/web/controller/system/TjPackageController.java index cb0b909..da0b331 100644 --- a/ltkj-admin/src/main/java/com/ltkj/web/controller/system/TjPackageController.java +++ b/ltkj-admin/src/main/java/com/ltkj/web/controller/system/TjPackageController.java @@ -74,7 +74,7 @@ */ @GetMapping("/list") @ApiOperation(value = "鏌ヨ浣撴濂楅鍒楄〃(鑷甫鏈夊垎椤�)") - @PreAuthorize("@ss.hasPermi('hosp:package:list')") + //@PreAuthorize("@ss.hasPermi('hosp:package:list')") public TableDataInfo list(@ApiParam(value = "浣撴濂楅瀵硅薄") TjPackage tjPackage) { startPage(); List<TjPackage> list = tjPackageService.selectTjPackageList(tjPackage); diff --git a/ltkj-admin/src/main/java/com/ltkj/web/controller/system/TjPrintOrderController.java b/ltkj-admin/src/main/java/com/ltkj/web/controller/system/TjPrintOrderController.java index 3e7e111..06e75fe 100644 --- a/ltkj-admin/src/main/java/com/ltkj/web/controller/system/TjPrintOrderController.java +++ b/ltkj-admin/src/main/java/com/ltkj/web/controller/system/TjPrintOrderController.java @@ -52,7 +52,7 @@ /** * 鏌ヨ浣撴鎵撳嵃璁板綍鍒楄〃 */ - @PreAuthorize("@ss.hasPermi('system:order:list')") + //@PreAuthorize("@ss.hasPermi('system:order:list')") @GetMapping("/list") @ApiOperation(value = "鏌ヨ") public TableDataInfo list(TjPrintOrder tjPrintOrder) { @@ -64,7 +64,7 @@ /** * 瀵煎嚭浣撴鎵撳嵃璁板綍鍒楄〃 */ - @PreAuthorize("@ss.hasPermi('system:order:export')") + // @PreAuthorize("@ss.hasPermi('system:order:export')") @Log(title = "浣撴鎵撳嵃璁板綍", businessType = BusinessType.EXPORT) @PostMapping("/export") @ApiOperation(value = "瀵煎嚭") @@ -77,7 +77,7 @@ /** * 鑾峰彇浣撴鎵撳嵃璁板綍璇︾粏淇℃伅 */ - @PreAuthorize("@ss.hasPermi('system:order:query')") + //@PreAuthorize("@ss.hasPermi('system:order:query')") @GetMapping(value = "/{id}") @ApiOperation(value = "璇﹁") public AjaxResult getInfo(@PathVariable("id") Long id) { @@ -87,7 +87,7 @@ /** * 鏂板浣撴鎵撳嵃璁板綍 */ - @PreAuthorize("@ss.hasPermi('system:order:add')") + //@PreAuthorize("@ss.hasPermi('system:order:add')") @Log(title = "浣撴鎵撳嵃璁板綍", businessType = BusinessType.INSERT) @PostMapping @ApiOperation(value = "鏂板") @@ -104,7 +104,7 @@ /** * 淇敼浣撴鎵撳嵃璁板綍 */ - @PreAuthorize("@ss.hasPermi('system:order:edit')") + //@PreAuthorize("@ss.hasPermi('system:order:edit')") @Log(title = "浣撴鎵撳嵃璁板綍", businessType = BusinessType.UPDATE) @PutMapping @ApiOperation(value = "淇敼") @@ -115,7 +115,7 @@ /** * 鍒犻櫎浣撴鎵撳嵃璁板綍 */ - @PreAuthorize("@ss.hasPermi('system:order:remove')") + //@PreAuthorize("@ss.hasPermi('system:order:remove')") @Log(title = "浣撴鎵撳嵃璁板綍", businessType = BusinessType.DELETE) @DeleteMapping("/{ids}") @ApiOperation(value = "鍒犻櫎") diff --git a/ltkj-admin/src/main/java/com/ltkj/web/controller/system/TjProContrastController.java b/ltkj-admin/src/main/java/com/ltkj/web/controller/system/TjProContrastController.java index a1f5d0d..83f591b 100644 --- a/ltkj-admin/src/main/java/com/ltkj/web/controller/system/TjProContrastController.java +++ b/ltkj-admin/src/main/java/com/ltkj/web/controller/system/TjProContrastController.java @@ -51,12 +51,12 @@ @Resource private ITjOrderService orderService; -/** - * 鏌ヨ浣撴椤圭洰瀵规瘮鍒楄〃 - */ -@PreAuthorize("@ss.hasPermi('hosp:contrast:list')") -@GetMapping("/list") -@ApiOperation(value = "鏌ヨ浣撴椤圭洰瀵规瘮鍒楄〃(椤甸潰灞曠ず鐢�)") + /** + * 鏌ヨ浣撴椤圭洰瀵规瘮鍒楄〃 + */ + //@PreAuthorize("@ss.hasPermi('hosp:contrast:list')") + @GetMapping("/list") + @ApiOperation(value = "鏌ヨ浣撴椤圭洰瀵规瘮鍒楄〃(椤甸潰灞曠ず鐢�)") public TableDataInfo list(TjProContrast tjProContrast) { startPage(); List<TjProContrast> list = tjProContrastService.selectTjProContrastList(tjProContrast); @@ -67,12 +67,12 @@ /** * 鏌ヨ浣撴椤圭洰瀵规瘮鍒楄〃 */ - @PreAuthorize("@ss.hasPermi('hosp:contrast:list')") + //@PreAuthorize("@ss.hasPermi('hosp:contrast:list')") @GetMapping("/getList") @ApiOperation(value = "鏌ヨ浣撴椤圭洰瀵规瘮鍒楄〃(鏁版嵁瀵规瘮灞曠ず澶勭敤)") public AjaxResult getList() { - LambdaQueryWrapper<TjProContrast> wq=new LambdaQueryWrapper<>(); - wq.eq(TjProContrast::getIsContrast,1); + LambdaQueryWrapper<TjProContrast> wq = new LambdaQueryWrapper<>(); + wq.eq(TjProContrast::getIsContrast, 1); List<TjProContrast> list = tjProContrastService.list(wq); return AjaxResult.success(list); } @@ -81,19 +81,19 @@ /** * 瀵煎嚭浣撴椤圭洰瀵规瘮鍒楄〃 */ - @PreAuthorize("@ss.hasPermi('hosp:contrast:export')") + //@PreAuthorize("@ss.hasPermi('hosp:contrast:export')") @Log(title = "浣撴椤圭洰瀵规瘮", businessType = BusinessType.EXPORT) @PostMapping("/export") public void export(HttpServletResponse response, TjProContrast tjProContrast) { List<TjProContrast> list = tjProContrastService.selectTjProContrastList(tjProContrast); - ExcelUtil<TjProContrast> util = new ExcelUtil<TjProContrast>(TjProContrast. class); + ExcelUtil<TjProContrast> util = new ExcelUtil<TjProContrast>(TjProContrast.class); util.exportExcel(response, list, "浣撴椤圭洰瀵规瘮鏁版嵁"); } /** * 鑾峰彇浣撴椤圭洰瀵规瘮璇︾粏淇℃伅 */ - @PreAuthorize("@ss.hasPermi('hosp:contrast:query')") + //@PreAuthorize("@ss.hasPermi('hosp:contrast:query')") @GetMapping(value = "/{id}") @ApiOperation(value = "鑾峰彇浣撴椤圭洰瀵规瘮璇︾粏淇℃伅") public AjaxResult getInfo(@PathVariable("id") Long id) { @@ -103,7 +103,7 @@ /** * 鏂板浣撴椤圭洰瀵规瘮 */ - @PreAuthorize("@ss.hasPermi('hosp:contrast:add')") + //@PreAuthorize("@ss.hasPermi('hosp:contrast:add')") @Log(title = "浣撴椤圭洰瀵规瘮", businessType = BusinessType.INSERT) @PostMapping @ApiOperation(value = "鏂板浣撴椤圭洰瀵规瘮") @@ -114,7 +114,7 @@ /** * 淇敼浣撴椤圭洰瀵规瘮 */ - @PreAuthorize("@ss.hasPermi('hosp:contrast:edit')") + //@PreAuthorize("@ss.hasPermi('hosp:contrast:edit')") @Log(title = "浣撴椤圭洰瀵规瘮", businessType = BusinessType.UPDATE) @PutMapping @ApiOperation(value = "淇敼浣撴椤圭洰瀵规瘮") @@ -125,7 +125,7 @@ /** * 鍒犻櫎浣撴椤圭洰瀵规瘮 */ - @PreAuthorize("@ss.hasPermi('hosp:contrast:remove')") + //@PreAuthorize("@ss.hasPermi('hosp:contrast:remove')") @Log(title = "浣撴椤圭洰瀵规瘮", businessType = BusinessType.DELETE) @DeleteMapping("/{ids}") @ApiOperation(value = "鍒犻櫎浣撴椤圭洰瀵规瘮") @@ -144,15 +144,15 @@ @PostMapping(value = "/getHistoryContrast") @ApiOperation(value = "鑾峰彇浣撴椤圭洰鍏蜂綋鍙備笌姣斿椤圭洰鎺ュ彛") public AjaxResult getHistoryContrast(@RequestBody TjProContrastPostVo postVo) { - if(null !=postVo.getTjNumber() && null !=postVo.getProIds() && postVo.getProIds().size()>0){ + if (null != postVo.getTjNumber() && null != postVo.getProIds() && postVo.getProIds().size() > 0) { TjOrder tjOrder = orderService.getOrderByTjNum(postVo.getTjNumber()); - if(null !=tjOrder){ - List<Map<String,Object>> list=new ArrayList<>(); + if (null != tjOrder) { + List<Map<String, Object>> list = new ArrayList<>(); for (Long proId : postVo.getProIds()) { - List<TjProContrastVo> contrastVo = tjProContrastService.ProContrastVo(String.valueOf(tjOrder.getUserId()),proId); - Map<String,Object> map=new HashMap<>(); - map.put("proName",projectService.getTjProjectById(String.valueOf(proId)).getProName()); - map.put("contrastVo",contrastVo); + List<TjProContrastVo> contrastVo = tjProContrastService.ProContrastVo(String.valueOf(tjOrder.getUserId()), proId); + Map<String, Object> map = new HashMap<>(); + map.put("proName", projectService.getTjProjectById(String.valueOf(proId)).getProName()); + map.put("contrastVo", contrastVo); list.add(map); } return AjaxResult.success(list); diff --git a/ltkj-admin/src/main/java/com/ltkj/web/controller/system/TjProjectController.java b/ltkj-admin/src/main/java/com/ltkj/web/controller/system/TjProjectController.java index b94ca7d..a6687df 100644 --- a/ltkj-admin/src/main/java/com/ltkj/web/controller/system/TjProjectController.java +++ b/ltkj-admin/src/main/java/com/ltkj/web/controller/system/TjProjectController.java @@ -125,7 +125,7 @@ /** * 瀵煎嚭浣撴椤圭洰鍒楄〃 */ - @PreAuthorize("@ss.hasPermi('hosp:project:export')") + //@PreAuthorize("@ss.hasPermi('hosp:project:export')") @Log(title = "浣撴椤圭洰", businessType = BusinessType.EXPORT) @PostMapping("/export") @ApiOperation(value = "瀵煎嚭浣撴椤圭洰鍒楄〃") @@ -138,7 +138,7 @@ /** * 鑾峰彇浣撴椤圭洰璇︾粏淇℃伅 */ - @PreAuthorize("@ss.hasPermi('hosp:project:query')") + //@PreAuthorize("@ss.hasPermi('hosp:project:query')") @GetMapping(value = "/{proId}") @ApiOperation(value = "鑾峰彇浣撴椤圭洰璇︾粏淇℃伅") public AjaxResult getInfo(@PathVariable("proId") @ApiParam(value = "浣撴椤圭洰id") Long proId) { @@ -174,7 +174,7 @@ /** * 鏂板浣撴椤圭洰 */ - @PreAuthorize("@ss.hasPermi('hosp:project:add')") + //@PreAuthorize("@ss.hasPermi('hosp:project:add')") @ApiOperation(value = "鏂板浣撴椤圭洰") @Log(title = "浣撴椤圭洰", businessType = BusinessType.INSERT) @PostMapping @@ -245,7 +245,7 @@ /** * 淇敼浣撴椤圭洰 */ - @PreAuthorize("@ss.hasPermi('hosp:project:edit')") + //@PreAuthorize("@ss.hasPermi('hosp:project:edit')") @Log(title = "浣撴椤圭洰", businessType = BusinessType.UPDATE) @PutMapping @ApiOperation(value = "淇敼浣撴椤圭洰") @@ -344,7 +344,7 @@ /** * 鍒犻櫎浣撴椤圭洰 */ - @PreAuthorize("@ss.hasPermi('hosp:project:remove')") + // @PreAuthorize("@ss.hasPermi('hosp:project:remove')") @Log(title = "浣撴椤圭洰", businessType = BusinessType.DELETE) @DeleteMapping("/{proIds}") @ApiOperation(value = "鍒犻櫎浣撴椤圭洰(鍙垹闄ょ埗椤圭洰鍜屽瓙椤圭洰)") diff --git a/ltkj-admin/src/main/java/com/ltkj/web/controller/system/TjPureToneTestController.java b/ltkj-admin/src/main/java/com/ltkj/web/controller/system/TjPureToneTestController.java index 81a47fd..5f35c90 100644 --- a/ltkj-admin/src/main/java/com/ltkj/web/controller/system/TjPureToneTestController.java +++ b/ltkj-admin/src/main/java/com/ltkj/web/controller/system/TjPureToneTestController.java @@ -53,7 +53,7 @@ /** * 鏌ヨ绾煶鍚槇娴嬭瘯鍒楄〃 */ - @PreAuthorize("@ss.hasPermi('pureToneTest:pureToneTest:list')") + //@PreAuthorize("@ss.hasPermi('pureToneTest:pureToneTest:list')") @GetMapping("/list") @ApiOperation(value = "绾煶鍚槇鏌ヨ(榛樿鑷甫)") public TableDataInfo list(TjPureToneTest tjPureToneTest) { @@ -105,7 +105,7 @@ /** * 瀵煎嚭绾煶鍚槇娴嬭瘯鍒楄〃 */ - @PreAuthorize("@ss.hasPermi('pureToneTest:pureToneTest:export')") + //@PreAuthorize("@ss.hasPermi('pureToneTest:pureToneTest:export')") @Log(title = "绾煶鍚槇娴嬭瘯", businessType = BusinessType.EXPORT) @PostMapping("/export") @ApiOperation(value = "瀵煎嚭绾煶鍚槇娴嬭瘯鍒楄〃") @@ -118,7 +118,7 @@ /** * 鑾峰彇绾煶鍚槇娴嬭瘯璇︾粏淇℃伅 */ - @PreAuthorize("@ss.hasPermi('pureToneTest:pureToneTest:query')") + //@PreAuthorize("@ss.hasPermi('pureToneTest:pureToneTest:query')") @GetMapping(value = "/{id}") @ApiOperation(value = "鑾峰彇绾煶鍚槇娴嬭瘯璇︾粏淇℃伅") public AjaxResult getInfo(@PathVariable("id") String id) { @@ -128,7 +128,7 @@ /** * 鏂板绾煶鍚槇娴嬭瘯 */ - @PreAuthorize("@ss.hasPermi('pureToneTest:pureToneTest:add')") + //@PreAuthorize("@ss.hasPermi('pureToneTest:pureToneTest:add')") @Log(title = "绾煶鍚槇娴嬭瘯", businessType = BusinessType.INSERT) @PostMapping @ApiOperation(value = "鏂板绾煶鍚槇娴嬭瘯") @@ -139,7 +139,7 @@ /** * 淇敼绾煶鍚槇娴嬭瘯 */ - @PreAuthorize("@ss.hasPermi('pureToneTest:pureToneTest:edit')") + //@PreAuthorize("@ss.hasPermi('pureToneTest:pureToneTest:edit')") @Log(title = "绾煶鍚槇娴嬭瘯", businessType = BusinessType.UPDATE) @PutMapping @ApiOperation(value = "淇敼绾煶鍚槇娴嬭瘯") @@ -150,7 +150,7 @@ /** * 鍒犻櫎绾煶鍚槇娴嬭瘯 */ - @PreAuthorize("@ss.hasPermi('pureToneTest:pureToneTest:remove')") + //@PreAuthorize("@ss.hasPermi('pureToneTest:pureToneTest:remove')") @Log(title = "绾煶鍚槇娴嬭瘯", businessType = BusinessType.DELETE) @DeleteMapping("/{ids}") @ApiOperation(value = "鍒犻櫎绾煶鍚槇娴嬭瘯") diff --git a/ltkj-admin/src/main/java/com/ltkj/web/controller/system/TjReportTemplateController.java b/ltkj-admin/src/main/java/com/ltkj/web/controller/system/TjReportTemplateController.java index 639aeca..6cad60b 100644 --- a/ltkj-admin/src/main/java/com/ltkj/web/controller/system/TjReportTemplateController.java +++ b/ltkj-admin/src/main/java/com/ltkj/web/controller/system/TjReportTemplateController.java @@ -55,7 +55,7 @@ /** * 鏌ヨtemplate鍒楄〃 */ - @PreAuthorize("@ss.hasPermi('hosp:template:list')") + //@PreAuthorize("@ss.hasPermi('hosp:template:list')") @GetMapping("/list") public TableDataInfo list(TjReportTemplate tjReportTemplate) { startPage(); @@ -67,7 +67,7 @@ /** * 鑾峰彇template璇︾粏淇℃伅 */ - @PreAuthorize("@ss.hasPermi('hosp:template:query')") + //@PreAuthorize("@ss.hasPermi('hosp:template:query')") @GetMapping(value = "/{reportTemId}") public AjaxResult getInfo(@PathVariable("reportTemId") Long reportTemId) { return success(tjReportTemplateService.selectTjReportTemplateByReportTemId(reportTemId)); diff --git a/ltkj-admin/src/main/java/com/ltkj/web/controller/system/TjReservationController.java b/ltkj-admin/src/main/java/com/ltkj/web/controller/system/TjReservationController.java index f5451b9..aed625b 100644 --- a/ltkj-admin/src/main/java/com/ltkj/web/controller/system/TjReservationController.java +++ b/ltkj-admin/src/main/java/com/ltkj/web/controller/system/TjReservationController.java @@ -81,7 +81,7 @@ /** * 鏌ヨ浣撴棰勭害鍒楄〃 */ - @PreAuthorize("@ss.hasPermi('reservation:reservation:list')") + //@PreAuthorize("@ss.hasPermi('reservation:reservation:list')") @GetMapping("/list") @ApiOperation(value = "鏌ヨ浣撴棰勭害鍒楄〃鎺ュ彛(榛樿)") public TableDataInfo list(TjReservation tjReservation) { diff --git a/ltkj-admin/src/main/java/com/ltkj/web/controller/system/TjRuleAdviceController.java b/ltkj-admin/src/main/java/com/ltkj/web/controller/system/TjRuleAdviceController.java index eda8616..0395104 100644 --- a/ltkj-admin/src/main/java/com/ltkj/web/controller/system/TjRuleAdviceController.java +++ b/ltkj-admin/src/main/java/com/ltkj/web/controller/system/TjRuleAdviceController.java @@ -44,7 +44,7 @@ /** * 鏌ヨ鐥呯+鎰忚鍒楄〃 */ - @PreAuthorize("@ss.hasPermi('hosp:ruleAdvice:list')") + //@PreAuthorize("@ss.hasPermi('hosp:ruleAdvice:list')") @GetMapping("/list") public TableDataInfo list(TjRuleAdvice tjRuleAdvice) { startPage(); @@ -65,7 +65,7 @@ /** * 瀵煎嚭鐥呯+鎰忚鍒楄〃 */ - @PreAuthorize("@ss.hasPermi('hosp:ruleAdvice:export')") + //@PreAuthorize("@ss.hasPermi('hosp:ruleAdvice:export')") @Log(title = "鐥呯+鎰忚", businessType = BusinessType.EXPORT) @PostMapping("/export") public void export(HttpServletResponse response, TjRuleAdvice tjRuleAdvice) { @@ -87,7 +87,7 @@ /** * 鑾峰彇鐥呯+鎰忚璇︾粏淇℃伅 */ - @PreAuthorize("@ss.hasPermi('hosp:ruleAdvice:query')") + //@PreAuthorize("@ss.hasPermi('hosp:ruleAdvice:query')") @GetMapping(value = "/{gid}") public AjaxResult getInfo(@PathVariable("gid") String gid) { return success(tjRuleAdviceService.getById(gid)); @@ -96,7 +96,7 @@ /** * 鏂板鐥呯+鎰忚 */ - @PreAuthorize("@ss.hasPermi('hosp:ruleAdvice:add')") + // @PreAuthorize("@ss.hasPermi('hosp:ruleAdvice:add')") @Log(title = "鐥呯+鎰忚", businessType = BusinessType.INSERT) @PostMapping public AjaxResult add(@RequestBody TjRuleAdvice tjRuleAdvice) { @@ -106,7 +106,7 @@ /** * 淇敼鐥呯+鎰忚 */ - @PreAuthorize("@ss.hasPermi('hosp:ruleAdvice:edit')") + //@PreAuthorize("@ss.hasPermi('hosp:ruleAdvice:edit')") @Log(title = "鐥呯+鎰忚", businessType = BusinessType.UPDATE) @PutMapping public AjaxResult edit(@RequestBody TjRuleAdvice tjRuleAdvice) { @@ -116,7 +116,7 @@ /** * 鍒犻櫎鐥呯+鎰忚 */ - @PreAuthorize("@ss.hasPermi('hosp:ruleAdvice:remove')") + //@PreAuthorize("@ss.hasPermi('hosp:ruleAdvice:remove')") @Log(title = "鐥呯+鎰忚", businessType = BusinessType.DELETE) @DeleteMapping("/{gids}") public AjaxResult remove(@PathVariable String[] gids) { diff --git a/ltkj-admin/src/main/java/com/ltkj/web/controller/system/TjRulesController.java b/ltkj-admin/src/main/java/com/ltkj/web/controller/system/TjRulesController.java index 43ac36a..a2eb643 100644 --- a/ltkj-admin/src/main/java/com/ltkj/web/controller/system/TjRulesController.java +++ b/ltkj-admin/src/main/java/com/ltkj/web/controller/system/TjRulesController.java @@ -52,7 +52,7 @@ /** * 鏌ヨ瑙勫垯+鐥呯鍒楄〃 */ - @PreAuthorize("@ss.hasPermi('hosp:rules:list')") + //@PreAuthorize("@ss.hasPermi('hosp:rules:list')") @GetMapping("/list") @ApiOperation(value = "鏌ヨ瑙勫垯+鐥呯鍒楄〃") public TableDataInfo list(TjRules tjRules) { @@ -129,7 +129,7 @@ /** * 瀵煎嚭瑙勫垯+鐥呯鍒楄〃 */ - @PreAuthorize("@ss.hasPermi('hosp:rules:export')") + //@PreAuthorize("@ss.hasPermi('hosp:rules:export')") @Log(title = "瑙勫垯+鐥呯", businessType = BusinessType.EXPORT) @PostMapping("/export") @ApiOperation(value = "瀵煎嚭瑙勫垯+鐥呯鍒楄〃") @@ -158,7 +158,7 @@ /** * 鑾峰彇瑙勫垯+鐥呯璇︾粏淇℃伅 */ - @PreAuthorize("@ss.hasPermi('hosp:rules:query')") + //@PreAuthorize("@ss.hasPermi('hosp:rules:query')") @GetMapping(value = "/{aid}") @ApiOperation(value = "鑾峰彇瑙勫垯+鐥呯璇︾粏淇℃伅") public AjaxResult getInfo(@PathVariable("aid") String aid) { @@ -168,7 +168,7 @@ /** * 鏂板瑙勫垯+鐥呯 */ - @PreAuthorize("@ss.hasPermi('hosp:rules:add')") + // @PreAuthorize("@ss.hasPermi('hosp:rules:add')") @Log(title = "瑙勫垯+鐥呯", businessType = BusinessType.INSERT) @PostMapping @ApiOperation(value = "鏂板瑙勫垯+鐥呯") @@ -179,7 +179,7 @@ /** * 淇敼瑙勫垯+鐥呯 */ - @PreAuthorize("@ss.hasPermi('hosp:rules:edit')") + //@PreAuthorize("@ss.hasPermi('hosp:rules:edit')") @Log(title = "瑙勫垯+鐥呯", businessType = BusinessType.UPDATE) @PutMapping @ApiOperation(value = "淇敼瑙勫垯+鐥呯") @@ -190,7 +190,7 @@ /** * 鍒犻櫎瑙勫垯+鐥呯 */ - @PreAuthorize("@ss.hasPermi('hosp:rules:remove')") + //@PreAuthorize("@ss.hasPermi('hosp:rules:remove')") @Log(title = "瑙勫垯+鐥呯", businessType = BusinessType.DELETE) @DeleteMapping("/{aids}") @ApiOperation(value = "鍒犻櫎瑙勫垯+鐥呯") diff --git a/ltkj-admin/src/main/java/com/ltkj/web/controller/system/TjSamplingController.java b/ltkj-admin/src/main/java/com/ltkj/web/controller/system/TjSamplingController.java index 24ad6b7..cad1f50 100644 --- a/ltkj-admin/src/main/java/com/ltkj/web/controller/system/TjSamplingController.java +++ b/ltkj-admin/src/main/java/com/ltkj/web/controller/system/TjSamplingController.java @@ -58,7 +58,7 @@ /** * 鏌ヨ浣撴閲囨牱绠$悊鍒楄〃 */ - @PreAuthorize("@ss.hasPermi('sampling:sampling:list')") + //@PreAuthorize("@ss.hasPermi('sampling:sampling:list')") @GetMapping("/list") @ApiOperation(value = "鏌ヨ浣撴閲囨牱绠$悊鍒楄〃(鑷甫榛樿)") public TableDataInfo list(TjSampling tjSampling) { @@ -180,7 +180,7 @@ /** * 瀵煎嚭浣撴閲囨牱绠$悊鍒楄〃 */ - @PreAuthorize("@ss.hasPermi('sampling:sampling:export')") + //@PreAuthorize("@ss.hasPermi('sampling:sampling:export')") @Log(title = "浣撴閲囨牱绠$悊", businessType = BusinessType.EXPORT) @PostMapping("/export") @ApiOperation(value = "瀵煎嚭浣撴閲囨牱绠$悊鍒楄〃") @@ -193,7 +193,7 @@ /** * 鑾峰彇浣撴閲囨牱绠$悊璇︾粏淇℃伅 */ - @PreAuthorize("@ss.hasPermi('sampling:sampling:query')") + //@PreAuthorize("@ss.hasPermi('sampling:sampling:query')") @GetMapping(value = "/{id}") @ApiOperation(value = "鑾峰彇浣撴閲囨牱绠$悊璇︾粏淇℃伅") public AjaxResult getInfo(@PathVariable("id") String id) { @@ -203,7 +203,7 @@ /** * 鏂板浣撴閲囨牱绠$悊 */ - @PreAuthorize("@ss.hasPermi('sampling:sampling:add')") + //@PreAuthorize("@ss.hasPermi('sampling:sampling:add')") @Log(title = "浣撴閲囨牱绠$悊", businessType = BusinessType.INSERT) @PostMapping @ApiOperation(value = "鏂板浣撴閲囨牱绠$悊") @@ -214,7 +214,7 @@ /** * 淇敼浣撴閲囨牱绠$悊 */ - @PreAuthorize("@ss.hasPermi('sampling:sampling:edit')") + //@PreAuthorize("@ss.hasPermi('sampling:sampling:edit')") @Log(title = "浣撴閲囨牱绠$悊", businessType = BusinessType.UPDATE) @PutMapping @ApiOperation(value = "淇敼浣撴閲囨牱绠$悊") @@ -225,7 +225,7 @@ /** * 鍒犻櫎浣撴閲囨牱绠$悊 */ - @PreAuthorize("@ss.hasPermi('sampling:sampling:remove')") + //@PreAuthorize("@ss.hasPermi('sampling:sampling:remove')") @Log(title = "浣撴閲囨牱绠$悊", businessType = BusinessType.DELETE) @DeleteMapping("/{ids}") @ApiOperation(value = "鍒犻櫎浣撴閲囨牱绠$悊") diff --git a/ltkj-admin/src/main/java/com/ltkj/web/controller/system/TjSendRecordController.java b/ltkj-admin/src/main/java/com/ltkj/web/controller/system/TjSendRecordController.java index 31ed69f..956f883 100644 --- a/ltkj-admin/src/main/java/com/ltkj/web/controller/system/TjSendRecordController.java +++ b/ltkj-admin/src/main/java/com/ltkj/web/controller/system/TjSendRecordController.java @@ -41,7 +41,7 @@ /** * 鏌ヨ閭欢鐭俊鍙戦�佽褰曞垪琛� */ - @PreAuthorize("@ss.hasPermi('system:record:list')") + //@PreAuthorize("@ss.hasPermi('system:record:list')") @GetMapping("/list") @ApiOperation(value = "鏌ヨ閭欢鐭俊鍙戦�佽褰曞垪琛�") public AjaxResult list(@RequestParam(required = false) @ApiParam("浣撴鍙�") String tjNum, @@ -75,7 +75,7 @@ /** * 瀵煎嚭閭欢鐭俊鍙戦�佽褰曞垪琛� */ - @PreAuthorize("@ss.hasPermi('system:record:export')") + //@PreAuthorize("@ss.hasPermi('system:record:export')") @Log(title = "閭欢鐭俊鍙戦�佽褰�", businessType = BusinessType.EXPORT) @PostMapping("/export") @ApiOperation(value = "瀵煎嚭閭欢鐭俊鍙戦�佽褰曞垪琛�") @@ -88,7 +88,7 @@ /** * 鑾峰彇閭欢鐭俊鍙戦�佽褰曡缁嗕俊鎭� */ - @PreAuthorize("@ss.hasPermi('system:record:query')") + //@PreAuthorize("@ss.hasPermi('system:record:query')") @GetMapping(value = "/{id}") @ApiOperation(value = "鑾峰彇閭欢鐭俊鍙戦�佽褰曡缁嗕俊鎭�") public AjaxResult getInfo(@PathVariable("id") String id) { @@ -99,7 +99,7 @@ * 鏂板閭欢鐭俊鍙戦�佽褰� */ @ApiOperation(value = "鏂板閭欢鐭俊鍙戦�佽褰�") - @PreAuthorize("@ss.hasPermi('system:record:add')") + //@PreAuthorize("@ss.hasPermi('system:record:add')") @Log(title = "閭欢鐭俊鍙戦�佽褰�", businessType = BusinessType.INSERT) @PostMapping public AjaxResult add(@RequestBody TjSendRecord tjSendRecord) { @@ -110,7 +110,7 @@ * 淇敼閭欢鐭俊鍙戦�佽褰� */ @ApiOperation(value = "淇敼閭欢鐭俊鍙戦�佽褰�") - @PreAuthorize("@ss.hasPermi('system:record:edit')") + //@PreAuthorize("@ss.hasPermi('system:record:edit')") @Log(title = "閭欢鐭俊鍙戦�佽褰�", businessType = BusinessType.UPDATE) @PutMapping public AjaxResult edit(@RequestBody TjSendRecord tjSendRecord) { @@ -121,7 +121,7 @@ * 鍒犻櫎閭欢鐭俊鍙戦�佽褰� */ @ApiOperation(value = "鍒犻櫎閭欢鐭俊鍙戦�佽褰�") - @PreAuthorize("@ss.hasPermi('system:record:remove')") + //@PreAuthorize("@ss.hasPermi('system:record:remove')") @Log(title = "閭欢鐭俊鍙戦�佽褰�", businessType = BusinessType.DELETE) @DeleteMapping("/{ids}") public AjaxResult remove(@PathVariable String[] ids) { diff --git a/ltkj-admin/src/main/java/com/ltkj/web/controller/system/TjSendTemplateController.java b/ltkj-admin/src/main/java/com/ltkj/web/controller/system/TjSendTemplateController.java index bb03ee6..e76e01c 100644 --- a/ltkj-admin/src/main/java/com/ltkj/web/controller/system/TjSendTemplateController.java +++ b/ltkj-admin/src/main/java/com/ltkj/web/controller/system/TjSendTemplateController.java @@ -37,7 +37,7 @@ /** * 鏌ヨ閭欢鐭俊妯℃澘鍒楄〃 */ - @PreAuthorize("@ss.hasPermi('hosp:sendTemplate:list')") + //@PreAuthorize("@ss.hasPermi('hosp:sendTemplate:list')") @GetMapping("/list") public TableDataInfo list(TjSendTemplate tjSendTemplate) { startPage(); @@ -48,7 +48,7 @@ /** * 瀵煎嚭閭欢鐭俊妯℃澘鍒楄〃 */ - @PreAuthorize("@ss.hasPermi('hosp:sendTemplate:export')") + //@PreAuthorize("@ss.hasPermi('hosp:sendTemplate:export')") @Log(title = "閭欢鐭俊妯℃澘", businessType = BusinessType.EXPORT) @PostMapping("/export") public void export(HttpServletResponse response, TjSendTemplate tjSendTemplate) { @@ -60,7 +60,7 @@ /** * 鑾峰彇閭欢鐭俊妯℃澘璇︾粏淇℃伅 */ - @PreAuthorize("@ss.hasPermi('hosp:sendTemplate:query')") + //@PreAuthorize("@ss.hasPermi('hosp:sendTemplate:query')") @GetMapping(value = "/{id}") public AjaxResult getInfo(@PathVariable("id") Long id) { return success(tjSendTemplateService.selectTjSendTemplateById(id)); @@ -69,7 +69,7 @@ /** * 鏂板閭欢鐭俊妯℃澘 */ - @PreAuthorize("@ss.hasPermi('hosp:sendTemplate:add')") + //@PreAuthorize("@ss.hasPermi('hosp:sendTemplate:add')") @Log(title = "閭欢鐭俊妯℃澘", businessType = BusinessType.INSERT) @PostMapping public AjaxResult add(@RequestBody TjSendTemplate tjSendTemplate) { @@ -79,7 +79,7 @@ /** * 淇敼閭欢鐭俊妯℃澘 */ - @PreAuthorize("@ss.hasPermi('hosp:sendTemplate:edit')") + //@PreAuthorize("@ss.hasPermi('hosp:sendTemplate:edit')") @Log(title = "閭欢鐭俊妯℃澘", businessType = BusinessType.UPDATE) @PutMapping public AjaxResult edit(@RequestBody TjSendTemplate tjSendTemplate) { @@ -89,7 +89,7 @@ /** * 鍒犻櫎閭欢鐭俊妯℃澘 */ - @PreAuthorize("@ss.hasPermi('hosp:sendTemplate:remove')") + //@PreAuthorize("@ss.hasPermi('hosp:sendTemplate:remove')") @Log(title = "閭欢鐭俊妯℃澘", businessType = BusinessType.DELETE) @DeleteMapping("/{ids}") public AjaxResult remove(@PathVariable Long[] ids) { diff --git a/ltkj-admin/src/main/java/com/ltkj/web/controller/system/TjStandardController.java b/ltkj-admin/src/main/java/com/ltkj/web/controller/system/TjStandardController.java index 803d858..d8df087 100644 --- a/ltkj-admin/src/main/java/com/ltkj/web/controller/system/TjStandardController.java +++ b/ltkj-admin/src/main/java/com/ltkj/web/controller/system/TjStandardController.java @@ -44,7 +44,7 @@ /** * 鏌ヨstandard鍒楄〃 */ - @PreAuthorize("@ss.hasPermi('standard:standard:list')") + //@PreAuthorize("@ss.hasPermi('standard:standard:list')") @GetMapping("/list") @ApiOperation(value = "鏌ヨ瑙勫垯鍒楄〃") public TableDataInfo list(TjStandard tjStandard) { @@ -65,7 +65,7 @@ /** * 瀵煎嚭standard鍒楄〃 */ - @PreAuthorize("@ss.hasPermi('standard:standard:export')") + //@PreAuthorize("@ss.hasPermi('standard:standard:export')") @Log(title = "standard", businessType = BusinessType.EXPORT) @PostMapping("/export") public void export(HttpServletResponse response, TjStandard tjStandard) { @@ -77,7 +77,7 @@ /** * 鑾峰彇standard璇︾粏淇℃伅 */ - @PreAuthorize("@ss.hasPermi('standard:standard:query')") + //@PreAuthorize("@ss.hasPermi('standard:standard:query')") @GetMapping(value = "/{id}") public AjaxResult getInfo(@PathVariable("id") String id) { return success(tjStandardService.selectTjStandardById(id)); @@ -86,7 +86,7 @@ /** * 鏂板standard */ - @PreAuthorize("@ss.hasPermi('standard:standard:add')") + //@PreAuthorize("@ss.hasPermi('standard:standard:add')") @Log(title = "standard", businessType = BusinessType.INSERT) @PostMapping @ApiOperation(value = "鏂板") @@ -98,7 +98,7 @@ /** * 淇敼standard */ - @PreAuthorize("@ss.hasPermi('standard:standard:edit')") + //@PreAuthorize("@ss.hasPermi('standard:standard:edit')") @Log(title = "standard", businessType = BusinessType.UPDATE) @PutMapping @ApiOperation(value = "淇敼") @@ -109,7 +109,7 @@ /** * 鍒犻櫎standard */ - @PreAuthorize("@ss.hasPermi('standard:standard:remove')") + //@PreAuthorize("@ss.hasPermi('standard:standard:remove')") @Log(title = "standard", businessType = BusinessType.DELETE) @DeleteMapping("/{ids}") @ApiOperation(value = "鍒犻櫎") diff --git a/ltkj-admin/src/main/java/com/ltkj/web/controller/system/TjTollCollectorController.java b/ltkj-admin/src/main/java/com/ltkj/web/controller/system/TjTollCollectorController.java index 55bdca0..0468706 100644 --- a/ltkj-admin/src/main/java/com/ltkj/web/controller/system/TjTollCollectorController.java +++ b/ltkj-admin/src/main/java/com/ltkj/web/controller/system/TjTollCollectorController.java @@ -62,7 +62,7 @@ /** * 鏌ヨ鏀惰垂鍛樻棩缁撳垪琛� */ - @PreAuthorize("@ss.hasPermi('hosp:collector:list')") + //@PreAuthorize("@ss.hasPermi('hosp:collector:list')") @GetMapping("/list") @ApiOperation(value = "鏌ヨ鏀惰垂鍛樻棩缁撳垪琛�") public AjaxResult list(@RequestParam(required = false) @ApiParam(value = "鏀惰垂鍛榠d") String tollCollectorId, @@ -103,7 +103,7 @@ /** * 瀵煎嚭鏀惰垂鍛樻棩缁撳垪琛� */ - @PreAuthorize("@ss.hasPermi('hosp:collector:export')") + //@PreAuthorize("@ss.hasPermi('hosp:collector:export')") @Log(title = "鏀惰垂鍛樻棩缁�", businessType = BusinessType.EXPORT) @PostMapping("/export") @ApiOperation(value = "瀵煎嚭鏀惰垂鍛樻棩缁撳垪琛�") @@ -116,7 +116,7 @@ /** * 鑾峰彇鏀惰垂鍛樻棩缁撹缁嗕俊鎭� */ - @PreAuthorize("@ss.hasPermi('hosp:collector:query')") + // @PreAuthorize("@ss.hasPermi('hosp:collector:query')") @GetMapping(value = "/{id}") @ApiOperation(value = "鑾峰彇鏀惰垂鍛樻棩缁撹缁嗕俊鎭�") public AjaxResult getInfo(@PathVariable("id") String id) { @@ -126,7 +126,7 @@ /** * 鐐瑰嚮缁撶畻 鏂板鏀惰垂鍛樻棩缁� */ - @PreAuthorize("@ss.hasPermi('hosp:collector:add')") + //@PreAuthorize("@ss.hasPermi('hosp:collector:add')") @Log(title = "鏀惰垂鍛樻棩缁�", businessType = BusinessType.INSERT) @PostMapping @ApiOperation(value = "鐐瑰嚮缁撶畻 鏂板鏀惰垂鍛樻棩缁�") @@ -150,7 +150,7 @@ } - @PreAuthorize("@ss.hasPermi('hosp:collector:remove')") + //@PreAuthorize("@ss.hasPermi('hosp:collector:remove')") @DeleteMapping("/removeTjTollCollectorById") @ApiOperation(value = "鏀惰垂鍛樻挙閿�璐﹀崟鎿嶄綔鎺ュ彛") public AjaxResult removeTjTollCollectorById(@RequestParam @ApiParam(value = "缁撹处id") String id, diff --git a/ltkj-admin/src/main/java/com/ltkj/web/controller/system/TjXdPictureController.java b/ltkj-admin/src/main/java/com/ltkj/web/controller/system/TjXdPictureController.java index d087141..f117b58 100644 --- a/ltkj-admin/src/main/java/com/ltkj/web/controller/system/TjXdPictureController.java +++ b/ltkj-admin/src/main/java/com/ltkj/web/controller/system/TjXdPictureController.java @@ -53,7 +53,7 @@ /** * 鏌ヨ浣撴蹇冪數鍥剧鐞嗗垪琛� */ - @PreAuthorize("@ss.hasPermi('picture:picture:list')") + //@PreAuthorize("@ss.hasPermi('picture:picture:list')") @GetMapping("/list") @ApiOperation(value = "鏌ヨ浣撴蹇冪數鍥剧鐞嗗垪琛�(鑷甫榛樿)") public TableDataInfo list(TjXdPicture tjXdPicture) { @@ -102,7 +102,7 @@ /** * 瀵煎嚭浣撴蹇冪數鍥剧鐞嗗垪琛� */ - @PreAuthorize("@ss.hasPermi('picture:picture:export')") + //@PreAuthorize("@ss.hasPermi('picture:picture:export')") @Log(title = "浣撴蹇冪數鍥剧鐞�", businessType = BusinessType.EXPORT) @PostMapping("/export") @ApiOperation(value = "瀵煎嚭浣撴蹇冪數鍥剧鐞嗗垪琛�") @@ -115,7 +115,7 @@ /** * 鑾峰彇浣撴蹇冪數鍥剧鐞嗚缁嗕俊鎭� */ - @PreAuthorize("@ss.hasPermi('picture:picture:query')") + //@PreAuthorize("@ss.hasPermi('picture:picture:query')") @GetMapping(value = "/{id}") @ApiOperation(value = "鑾峰彇浣撴蹇冪數鍥剧鐞嗚缁嗕俊鎭�") public AjaxResult getInfo(@PathVariable("id") String id) { @@ -125,7 +125,7 @@ /** * 鏂板浣撴蹇冪數鍥剧鐞� */ - @PreAuthorize("@ss.hasPermi('picture:picture:add')") + //@PreAuthorize("@ss.hasPermi('picture:picture:add')") @Log(title = "浣撴蹇冪數鍥剧鐞�", businessType = BusinessType.INSERT) @PostMapping @ApiOperation(value = "鏂板浣撴蹇冪數鍥剧鐞�") @@ -136,7 +136,7 @@ /** * 淇敼浣撴蹇冪數鍥剧鐞� */ - @PreAuthorize("@ss.hasPermi('picture:picture:edit')") + //@PreAuthorize("@ss.hasPermi('picture:picture:edit')") @Log(title = "浣撴蹇冪數鍥剧鐞�", businessType = BusinessType.UPDATE) @PutMapping @ApiOperation(value = "淇敼浣撴蹇冪數鍥剧鐞�") @@ -147,7 +147,7 @@ /** * 鍒犻櫎浣撴蹇冪數鍥剧鐞� */ - @PreAuthorize("@ss.hasPermi('picture:picture:remove')") + //@PreAuthorize("@ss.hasPermi('picture:picture:remove')") @Log(title = "浣撴蹇冪數鍥剧鐞�", businessType = BusinessType.DELETE) @DeleteMapping("/{ids}") @ApiOperation(value = "鍒犻櫎浣撴蹇冪數鍥剧鐞�") -- Gitblit v1.8.0