shikeyin
2024-01-11 65da8373531677b1c37a98f53eaa30c892f35e5a
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
package com.iplatform.gather;
 
import com.walker.connector.Address;
import com.walker.store.Storeable;
import com.walker.store.task.DatabaseGatherTask;
 
import java.util.List;
 
public class TestFileGatherTask extends DatabaseGatherTask {
 
    public TestFileGatherTask(Storeable store, String taskName, Address address){
        super(store, taskName, address);
    }
 
    @Override
    protected List<Object> transferResultData(List<Object> resultList) {
        // 暂不转换数据
        if(resultList == null || resultList.size() == 0){
            logger.debug("调用返回空数据");
            return null;
        }
        return resultList;
    }
}