Browse Source

添加数据权限批量插入方法

master
Claude Lee 2 months ago
parent
commit
a1bdf36fba
  1. 2
      ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/DhcDataAuthController.java

2
ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/DhcDataAuthController.java

@ -98,7 +98,7 @@ public class DhcDataAuthController extends BaseController
@PreAuthorize("@ss.hasPermi('dhc:authData:add')") @PreAuthorize("@ss.hasPermi('dhc:authData:add')")
@Log(title = "数据权限", businessType = BusinessType.INSERT) @Log(title = "数据权限", businessType = BusinessType.INSERT)
@PostMapping @PostMapping("batchAdd")
public AjaxResult batchAdd(@RequestBody List<DhcDataAuth> dhcDataAuth) public AjaxResult batchAdd(@RequestBody List<DhcDataAuth> dhcDataAuth)
{ {
return toAjax(dhcDataAuthService.insertDhcDataAuthBatch(dhcDataAuth)); return toAjax(dhcDataAuthService.insertDhcDataAuthBatch(dhcDataAuth));

Loading…
Cancel
Save