@@ -46,7 +46,7 @@ public class TableCreator {
* 构建创建索引SQL
*/
private String buildCreateIndexSql(String tableName) {
- return "CREATE INDEX idx_" + tableName.toLowerCase() + "_wafer_id ON " +
+ return "CREATE INDEX idx_" + tableName.toLowerCase() + " ON " +
tableName + "(\"WAFER_ID\")";
}
@@ -31,7 +31,7 @@ public class FileParseTask {
private FileParseService fileParseService;
@Autowired
private TableCreator tableCreator;
- @Scheduled(fixedRate = 600000)
+ //@Scheduled(fixedRate = 600000)
public void dataDeal(){
logger.info("开始解析文件");
List<DataChipTestLog> dataChipTestLogs = baseDao.getJdbcTemplate().query("select wafer_id,lot_id,status,data_path,counter_path,dbid_ from (select wafer_id,lot_id,status,data_path,counter_path,dbid_ from " +