|
|
@@ -503,7 +503,7 @@ public class SmartUserController implements SmartUserControllerAPI {
|
|
|
String uploadResult = smartUploadService.upload(multipartFileHashMap.toArray(new MultipartFile[0]));
|
|
|
List<String> uploadImages = Arrays.asList(uploadResult.split(","));
|
|
|
for (SmartUser user : result) {
|
|
|
- Optional<String> headImage = uploadImages == null ? null : uploadImages.stream().filter(e -> e.equals("https://xj.chuanghai-tech.com/wzimage/headImage/" + user.getHeadImage())).findFirst();
|
|
|
+ Optional<String> headImage = uploadImages == null ? null : uploadImages.stream().filter(e -> e.equals("https://mx.jqmoyan.com/wzimage/headImage/" + user.getHeadImage())).findFirst();
|
|
|
if (headImage != null && headImage.isPresent()) {
|
|
|
user.setHeadImage(headImage.get());
|
|
|
}
|
|
|
@@ -634,7 +634,7 @@ public class SmartUserController implements SmartUserControllerAPI {
|
|
|
|
|
|
List<String> uploadImages = Arrays.asList(headImage.split(","));
|
|
|
for (SmartUser user : result) {
|
|
|
- Optional<String> image = uploadImages == null ? null : uploadImages.stream().filter(e -> e.equals("https://xj.chuanghai-tech.com/wzimage/" + user.getHeadImage())).findFirst();
|
|
|
+ Optional<String> image = uploadImages == null ? null : uploadImages.stream().filter(e -> e.equals("https://mx.jqmoyan.com/wzimage/" + user.getHeadImage())).findFirst();
|
|
|
if (image != null && image.isPresent()) {
|
|
|
user.setHeadImage(image.get());
|
|
|
} else {
|
|
|
@@ -2520,7 +2520,7 @@ public class SmartUserController implements SmartUserControllerAPI {
|
|
|
}
|
|
|
List<String> uploadImages = Arrays.asList(headImage.split(","));
|
|
|
for (SmartUser user : insertStudents) {
|
|
|
- Optional<String> image = uploadImages == null ? null : uploadImages.stream().filter(e -> e.equals("https://xj.chuanghai-tech.com/wzimage/" + user.getHeadImage())).findFirst();
|
|
|
+ Optional<String> image = uploadImages == null ? null : uploadImages.stream().filter(e -> e.equals("https://mx.jqmoyan.com/wzimage/" + user.getHeadImage())).findFirst();
|
|
|
if (image != null && image.isPresent()) {
|
|
|
user.setHeadImage(image.get());
|
|
|
} else {
|
|
|
@@ -9019,7 +9019,7 @@ public class SmartUserController implements SmartUserControllerAPI {
|
|
|
@DESRespondSecret(validated = true)
|
|
|
public CommonResult downloadUserExcel
|
|
|
() {
|
|
|
- return CommonResult.ok("200", "操作成功", "https://xj.chuanghai-tech.com/wzimage/excelModel/人员信息表.xlsx");
|
|
|
+ return CommonResult.ok("200", "操作成功", "https://mx.jqmoyan.com/wzimage/excelModel/人员信息表.xlsx");
|
|
|
}
|
|
|
//endregion
|
|
|
|
|
|
@@ -9028,7 +9028,7 @@ public class SmartUserController implements SmartUserControllerAPI {
|
|
|
@DESRespondSecret(validated = true)
|
|
|
public CommonResult downloadTeacherExcel
|
|
|
() {
|
|
|
- return CommonResult.ok("200", "操作成功", "https://xj.chuanghai-tech.com/wzimage/excelModel/教师信息表.xlsx");
|
|
|
+ return CommonResult.ok("200", "操作成功", "https://mx.jqmoyan.com/wzimage/excelModel/教师信息表.xlsx");
|
|
|
}
|
|
|
//endregion
|
|
|
|
|
|
@@ -9037,7 +9037,7 @@ public class SmartUserController implements SmartUserControllerAPI {
|
|
|
@DESRespondSecret(validated = true)
|
|
|
public CommonResult downloadUpdateUserExcel
|
|
|
() {
|
|
|
- return CommonResult.ok("200", "操作成功", "https://xj.chuanghai-tech.com/wzimage/excelModel/更新信息表.xlsx");
|
|
|
+ return CommonResult.ok("200", "操作成功", "https://mx.jqmoyan.com/wzimage/excelModel/更新信息表.xlsx");
|
|
|
}
|
|
|
//endregion
|
|
|
|