Browse Source

lib更新

郭齐峰 1 năm trước cách đây
mục cha
commit
d9d5aef994

BIN
lib/yos.core-2.3.0-sources.jar


BIN
lib/yos.core-2.3.0.jar


+ 0 - 8
src/custom/restcontroller/ClientUserInfo.java

@@ -94,14 +94,6 @@ public class ClientUserInfo extends UserInfo {
         return controller.dbConnect.runSqlQuery("select *from sa_salearea_hr where siteid='" + getSiteId() + "' and hrid=" + controller.hrid).isNotEmpty();
     }
 
-    public boolean isSysAdministrator() throws YosException {
-        return controller.dbConnect.runSqlQuery("select * from sys_users where userid='" + getUserId() + "' and sysadministrator=1").isNotEmpty();
-    }
-
-    public boolean isSiteAdministrator() throws YosException {
-        return getUserType() == 0;
-    }
-
     /**
      * 获取当前企业的营销区域id
      */