forked from github/dataease
feat: excel 數據集 替換、追加
This commit is contained in:
parent
87ab80e99e
commit
2f26f8bb71
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user