TRX 1 rok temu
rodzic
commit
d75ec21e14

+ 4 - 3
FullCardServer/src/main/java/com/zhongshu/card/server/core/service/org/OrganizationServiceImpl.java

@@ -471,8 +471,9 @@ public class OrganizationServiceImpl extends SuperService implements Organizatio
             if (ObjectUtils.isNotEmpty(organization)) {
                 AuthType authType = organization.getAuthType();
                 aboutInfo.setAuthType(authType);
+
                 if (authType == AuthType.Project) {
-                    // 项目
+                    // 如果是项目
                     projectOid = oid;
                 } else if (authType == AuthType.School) {
                     // 如果是学校
@@ -483,7 +484,7 @@ public class OrganizationServiceImpl extends SuperService implements Organizatio
                         projectOid = projectContent.getContent().getOid();
                     }
                 } else if (authType == AuthType.BusinessMain) {
-                    // 属于商户
+                    // 如果是商户
                     shopOid = oid;
                     // 商户绑定的学校信息
                     OrganizationRelation relation = organizationRelationDao.findTopByMainOrganizationAndRelationType(
@@ -506,7 +507,7 @@ public class OrganizationServiceImpl extends SuperService implements Organizatio
                 aboutInfo.setSchoolOid(schoolOid);
                 aboutInfo.setShopOid(shopOid);
             } else {
-                aboutInfo.setMsg("oid不属于构信息");
+                aboutInfo.setMsg("oid不属于构信息");
             }
         } else {
             aboutInfo.setMsg("oid为空");