瀏覽代碼

lib更新

郭齐峰 1 年之前
父節點
當前提交
d9d5aef994
共有 3 個文件被更改,包括 0 次插入8 次删除
  1. 二進制
      lib/yos.core-2.3.0-sources.jar
  2. 二進制
      lib/yos.core-2.3.0.jar
  3. 0 8
      src/custom/restcontroller/ClientUserInfo.java

二進制
lib/yos.core-2.3.0-sources.jar


二進制
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
      */