Commit 2eceec1e by huangZW

111

parent eb296286
...@@ -18,6 +18,7 @@ import org.apache.commons.collections.CollectionUtils; ...@@ -18,6 +18,7 @@ import org.apache.commons.collections.CollectionUtils;
import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service; import org.springframework.stereotype.Service;
import java.util.ArrayList;
import java.util.List; import java.util.List;
/** /**
...@@ -126,6 +127,9 @@ public class PreDealServiceImpl implements PreDealService { ...@@ -126,6 +127,9 @@ public class PreDealServiceImpl implements PreDealService {
@Override @Override
public List<String> listDataIdByTaskIdAndDataType(String taskId, Integer dateType) { public List<String> listDataIdByTaskIdAndDataType(String taskId, Integer dateType) {
List<String> list = preDealLogMapper.listDataIdByTaskIdAndDataType(taskId,dateType); List<String> list = preDealLogMapper.listDataIdByTaskIdAndDataType(taskId,dateType);
if(list == null){
list = new ArrayList<String>();
}
return list; return list;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment