|
@@ -270,7 +270,7 @@ public class ImportPaperService {
|
|
importPaperCheck, tmpWordMlPackage, false);
|
|
importPaperCheck, tmpWordMlPackage, false);
|
|
}
|
|
}
|
|
// 设置WordMlPackage二进制数据
|
|
// 设置WordMlPackage二进制数据
|
|
-// setPkgByte(question, writePkg);
|
|
|
|
|
|
+ // setPkgByte(question, writePkg);
|
|
question.setQuesPkg(writeByte);
|
|
question.setQuesPkg(writeByte);
|
|
// 设置question与Unit集合数据
|
|
// 设置question与Unit集合数据
|
|
question.setCourseNo(paper.getCourseNo());
|
|
question.setCourseNo(paper.getCourseNo());
|
|
@@ -886,7 +886,7 @@ public class ImportPaperService {
|
|
pd.setId(UUID.randomUUID().toString());
|
|
pd.setId(UUID.randomUUID().toString());
|
|
pd.setNumber(1);
|
|
pd.setNumber(1);
|
|
pd.setPaper(paper);
|
|
pd.setPaper(paper);
|
|
- pd.setCreator(user.getLoginName());
|
|
|
|
|
|
+ pd.setCreator(user.getName());
|
|
pd.setCreateTime(CommonUtils.getCurDateTime());
|
|
pd.setCreateTime(CommonUtils.getCurDateTime());
|
|
paper = paperRepo.save(paper);
|
|
paper = paperRepo.save(paper);
|
|
paperDetailRepo.save(pd);
|
|
paperDetailRepo.save(pd);
|