|
@@ -112,13 +112,14 @@ public class TSyncExamStudentScoreServiceImpl extends ServiceImpl<TSyncExamStude
|
|
|
/**
|
|
|
* 创建动态轨迹图
|
|
|
*
|
|
|
+ * @param b
|
|
|
* @param tSyncExamStudentScore
|
|
|
* @param imageTrajectoryEnum
|
|
|
- * @param b
|
|
|
+ * @param id
|
|
|
* @return
|
|
|
*/
|
|
|
@Override
|
|
|
- public TSyncExamStudentScore createImageTrajectory(TSyncExamStudentScore tSyncExamStudentScore, ImageTrajectoryEnum imageTrajectoryEnum, boolean needSync) {
|
|
|
+ public TSyncExamStudentScore createImageTrajectory(TSyncExamStudentScore tSyncExamStudentScore, ImageTrajectoryEnum imageTrajectoryEnum, boolean needSync, Long userId) {
|
|
|
List<File> fileSourceList = new ArrayList<>(), fileTargetList = new ArrayList<>();
|
|
|
boolean oss = dictionaryConfig.sysDomain().isOss();
|
|
|
try {
|
|
@@ -128,7 +129,7 @@ public class TSyncExamStudentScoreServiceImpl extends ServiceImpl<TSyncExamStude
|
|
|
stringJoiner.add(SystemConstant.TEMP_FILES_DIR).add(File.separator);
|
|
|
List<String> trailUrlsList = tSyncExamStudentScore.getTrailUrls();
|
|
|
|
|
|
- String hostUrl = SystemConstant.getLocalFileHost(dictionaryConfig.sysDomain().getFileHost());
|
|
|
+ String hostUrl = SystemConstant.getLocalFileHostByUserId(dictionaryConfig.sysDomain().getFileHost(), userId);
|
|
|
|
|
|
if (needSync || Objects.isNull(tSyncExamStudentScore.getLocalSheetUrls()) || Objects.isNull(tSyncExamStudentScore.getTrajectoryUrls())) {
|
|
|
JSONArray jsonArray = JSONArray.parseArray(tSyncExamStudentScore.getSheetUrls());
|