forked from github/dataease
fix: 执行记录查询错误
This commit is contained in:
parent
834680e784
commit
c08ad76baf
@ -156,6 +156,12 @@ public class DataSetTableTaskLogService {
|
||||
entity2.setOperator("eq");
|
||||
entity2.setValue("1");
|
||||
conditionEntities.add(entity2);
|
||||
conditionEntities = conditionEntities.stream().map(conditionEntity -> {
|
||||
if(conditionEntity.getField().equals("dataset_table_task.last_exec_status")){
|
||||
conditionEntity.setField("dataset_table_task_log.status");
|
||||
}
|
||||
return conditionEntity;
|
||||
}).collect(Collectors.toList());
|
||||
request.setConditions(conditionEntities);
|
||||
|
||||
GridExample gridExample = request.convertExample();
|
||||
|
Loading…
Reference in New Issue
Block a user