|
@@ -60,14 +60,14 @@ public class DataAuthManagementController {
|
|
|
@ApiOperation(value = "删除数据权限[by:songxl]")
|
|
|
@PostMapping("/deleteAuth")
|
|
|
@Transactional
|
|
|
- public CommonResult<Boolean> deleteAuth(@RequestParam @Valid @NotNull(message = "数据权限id为空") Long Id) {
|
|
|
- return CommonResult.success(dataAuthHandleFacade.deleteDataAuth(Id));
|
|
|
+ public CommonResult<Boolean> deleteAuth(@RequestParam @Valid @NotNull(message = "数据权限id为空") Long id) {
|
|
|
+ return CommonResult.success(dataAuthHandleFacade.deleteDataAuth(id));
|
|
|
}
|
|
|
|
|
|
@ApiOperation(value = "查看数据权限[by:songxl]")
|
|
|
@PostMapping("/getDataAuthById")
|
|
|
- public CommonResult<GetDataAuthByIdDTO> getDataAuthById(@RequestParam @Valid @NotNull(message = "数据权限id为空") Long Id) {
|
|
|
- return CommonResult.success(dataAuthHandleFacade.getDataAuthById(Id));
|
|
|
+ public CommonResult<GetDataAuthByIdDTO> getDataAuthById(@RequestParam @Valid @NotNull(message = "数据权限id为空") Long id) {
|
|
|
+ return CommonResult.success(dataAuthHandleFacade.getDataAuthById(id));
|
|
|
}
|
|
|
|
|
|
@ApiOperation(value = "获取医生列表[by:songxl]")
|