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