Selaa lähdekoodia

update 权限更新

A17404李放 3 vuotta sitten
vanhempi
commit
5c044d70d1

+ 1 - 1
nb-system/src/main/java/com/nb/bus/controller/BusPatientController.java

@@ -131,7 +131,7 @@ public class BusPatientController  implements BaseQueryController<BusPatientEnti
     }
 
     @PostMapping("/do/{monitorType}/finished")
-    @SaCheckPermission("bus:patient:finished:*")
+    @SaCheckPermission("patient:finished:*")
     @ApiResponse(code = 4001,message = "病号当前绑定了多个设备,不可结束管理")
     @ApiOperation(value = "结束管理",notes = "病患当前绑定主设备必须要在关机、不在服务器、待机中才能结束管理,权限【bus:patient:finished:*】")
     public R<Boolean> finished(@PathVariable("monitorType")@ApiParam(value = "是否为无泵管理 false、无泵 true、有泵",defaultValue = "false" ) boolean haveDevice,

+ 1 - 1
nb-system/src/main/java/com/nb/bus/controller/BusStatsAnalyseController.java

@@ -50,7 +50,7 @@ public class BusStatsAnalyseController {
 
     @PostMapping("/{type}")
     @SaCheckPermission("stats:analgesia:query:*")
-    @ApiOperation(value = "统计",notes = "权限 【stats:analgesia:query:*】 模糊匹配")
+    @ApiOperation(value = "统计",notes = "权限 【stats:analgesia:*】 模糊匹配")
     public R stats(@RequestAttribute("tenantId")@ApiParam(hidden = true) String tenantId,@PathVariable("type")@ApiParam("统计类型 1、PCA镇痛分析 2、提示分析 3、评价分析 4、自控分析 5、输注量分析") Integer type, @RequestBody @Validated CombineQuery query){
         if (StrUtil.isBlank(tenantId)) {
             throw new TenantException();