全功能用户判断条件修复

This commit is contained in:
yuxueliang0813 2025-07-21 16:06:49 +08:00
parent 455024e308
commit b8e944c13e
1 changed files with 1 additions and 1 deletions

View File

@ -18,7 +18,7 @@ public class TestDBFormPlugin extends AbstractFormPlugin {
super.afterDoOperation(e);
if("shjh_btnok".equals(e.getOperateKey())){
//如果不是全功能用户直接返回
if(PermissionServiceHelper.isSuperUser(RequestContext.get().getCurrUserId())){
if(!PermissionServiceHelper.isSuperUser(RequestContext.get().getCurrUserId())){
return;
}
String dbnum = (String) this.getModel().getValue("shjh_dbnum");//标识