|
@@ -194,7 +194,7 @@ public class AuthInfoServiceImpl implements AuthInfoService {
|
|
|
tbOrgQueryWrapper.lambda().eq(TBOrg::getCode, o.getCode());
|
|
|
TBOrg tbOrg = tbOrgService.getOne(tbOrgQueryWrapper);
|
|
|
if (Objects.isNull(tbOrg)) {//不存在则创建学校
|
|
|
- tbOrg = new TBOrg(o.getCode(), o.getName(), o.getAccessKey(), o.getAccessSecret());
|
|
|
+ tbOrg = new TBOrg(o.getId(), o.getCode(), o.getName(), o.getAccessKey(), o.getAccessSecret());
|
|
|
if (Objects.nonNull(o.getLogo()) && (!o.getLogo().startsWith("https:") || !o.getLogo().startsWith("http"))) {
|
|
|
String filePath = SystemConstant.TEMP_FILES_DIR + File.separator + SystemConstant.getUuid() + ".jpg";
|
|
|
File logoFile = new File(filePath);
|