瀏覽代碼

机考数据包名字修改

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);