소스 검색

机考数据包名字修改

weiwenhai 7 년 전
부모
커밋
a8aef16e83
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      cqb-paper/src/main/java/com/qmth/cqb/paper/service/impl/ExportPaperServiceImpl.java

+ 1 - 1
cqb-paper/src/main/java/com/qmth/cqb/paper/service/impl/ExportPaperServiceImpl.java

@@ -302,7 +302,7 @@ public class ExportPaperServiceImpl implements ExportPaperService{
      */
     private void makeComputerTestPaperToJsonFile(String courseCode,ComputerTestPaper computerTestPaper,String jsonDirectoryPath){
 		//创建新的JSON文件
-		File file = new File(jsonDirectoryPath + File.separator+courseCode+"_" +".json");
+		File file = new File(jsonDirectoryPath + File.separator+courseCode+".json");
 		//将对象转成 json对象
 		Gson gson = new Gson();
 		String strJSON = gson.toJson(computerTestPaper);