Ver código fonte

从授权配置了增加学校信息

wangliang 3 anos atrás
pai
commit
679cd8c932

+ 2 - 0
teachcloud-common/src/main/java/com/qmth/teachcloud/common/entity/BasicSchool.java

@@ -50,6 +50,7 @@ public class BasicSchool extends BaseEntity implements Serializable {
         this.accessKey = accessKey;
         this.accessSecret = accessSecret;
         setId(SystemConstant.getDbUuid());
+        this.enable = true;
     }
 
     public BasicSchool(String code, String name, String accessKey, String accessSecret, String logo) {
@@ -59,6 +60,7 @@ public class BasicSchool extends BaseEntity implements Serializable {
         this.accessSecret = accessSecret;
         this.logo = logo;
         setId(SystemConstant.getDbUuid());
+        this.enable = true;
     }
 
     public static long getSerialVersionUID() {