Merge remote-tracking branch 'origin/main' into main

This commit is contained in:
fit2cloud-chenyw 2021-06-08 17:22:14 +08:00
commit fdad509593

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