feat: excel 數據集 替換、追加

This commit is contained in:
taojinlong 2021-06-08 16:39:09 +08:00
parent 87ab80e99e
commit 2f26f8bb71

View File

@ -928,7 +928,7 @@ public class DataSetTableService {
}
DatasetTable record = new DatasetTable();
record.setSyncStatus(JobStatus.Completed.name());
record.setSyncStatus(JobStatus.Error.name());
example.clear();
example.createCriteria().andSyncStatusEqualTo(JobStatus.Underway.name()).andIdIn(jobStoppeddDatasetTables.stream().map(DatasetTable::getId).collect(Collectors.toList()));
datasetTableMapper.updateByExampleSelective(record, example);