全功能用户判断条件修复

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); super.afterDoOperation(e);
if("shjh_btnok".equals(e.getOperateKey())){ if("shjh_btnok".equals(e.getOperateKey())){
//如果不是全功能用户直接返回 //如果不是全功能用户直接返回
if(PermissionServiceHelper.isSuperUser(RequestContext.get().getCurrUserId())){ if(!PermissionServiceHelper.isSuperUser(RequestContext.get().getCurrUserId())){
return; return;
} }
String dbnum = (String) this.getModel().getValue("shjh_dbnum");//标识 String dbnum = (String) this.getModel().getValue("shjh_dbnum");//标识