Update DataSetTableService.java

在review中,我发现我遗漏了一行代码
This commit is contained in:
zhantiao
2022-11-11 10:33:33 +08:00
committed by GitHub
parent 9354dc92ea
commit 589cf235cf

View File

@@ -301,7 +301,7 @@ public class DataSetTableService {
DataTableInfoDTO info = new DataTableInfoDTO();
info.setExcelSheetDataList(excelSheetDataList);
datasetTable.setInfo(new Gson().toJson(info));
datasetTableMapper.updateByPrimaryKeySelective(datasetTable);
// 替換時,先不刪除旧字段;同步成功后再删除
if (datasetTable.getEditType() == 0) {
commonThreadPool.addTask(() -> extractDataService.extractExcelData(datasetTable.getId(), "all_scope", "替换",