|
@@ -1,10 +1,10 @@
|
|
|
package com.seecoder.dataanalysis.logic.parser.impl;
|
|
package com.seecoder.dataanalysis.logic.parser.impl;
|
|
|
|
|
|
|
|
import com.alibaba.fastjson.JSONException;
|
|
import com.alibaba.fastjson.JSONException;
|
|
|
-import com.seecoder.dataanalysis.data.entity.eval.EvalExamInfo;
|
|
|
|
|
-import com.seecoder.dataanalysis.data.entity.eval.EvalExamRecord;
|
|
|
|
|
import com.seecoder.dataanalysis.logic.parser.LogParsingService;
|
|
import com.seecoder.dataanalysis.logic.parser.LogParsingService;
|
|
|
import com.seecoder.dataanalysis.util.JsonUtil;
|
|
import com.seecoder.dataanalysis.util.JsonUtil;
|
|
|
|
|
+import com.seecoder.dataanalysis.vo.EvalExamInfoDTO;
|
|
|
|
|
+import com.seecoder.dataanalysis.vo.EvalExamRecordDTO;
|
|
|
import com.seecoder.dataanalysis.vo.SimpleLog;
|
|
import com.seecoder.dataanalysis.vo.SimpleLog;
|
|
|
import org.springframework.stereotype.Service;
|
|
import org.springframework.stereotype.Service;
|
|
|
|
|
|
|
@@ -59,8 +59,8 @@ public class LogParsingServiceImpl implements LogParsingService {
|
|
|
@PostConstruct
|
|
@PostConstruct
|
|
|
protected void buildOpTypesTable(){
|
|
protected void buildOpTypesTable(){
|
|
|
opTypesTable = new HashMap<>();
|
|
opTypesTable = new HashMap<>();
|
|
|
- opTypesTable.put(0, EvalExamInfo.class.getName()); //试卷数据
|
|
|
|
|
- opTypesTable.put(1, EvalExamInfo.class.getName()); //诗句更新数据
|
|
|
|
|
- opTypesTable.put(2, EvalExamRecord.class.getName()); //学生提交试卷
|
|
|
|
|
|
|
+ opTypesTable.put(0, EvalExamInfoDTO.class.getName()); //试卷数据
|
|
|
|
|
+ opTypesTable.put(1, EvalExamInfoDTO.class.getName()); //诗句更新数据
|
|
|
|
|
+ opTypesTable.put(2, EvalExamRecordDTO.class.getName()); //学生提交试卷
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|