Commit ddfc2423 by tangzhaoqian

新环境提交

parent 344b7d3d
...@@ -534,6 +534,12 @@ public class YgglController { ...@@ -534,6 +534,12 @@ public class YgglController {
List<QyzxEmpLogin> listEl = qyzxEmpLoginMapper.selectList(new QueryWrapper<QyzxEmpLogin>().lambda() List<QyzxEmpLogin> listEl = qyzxEmpLoginMapper.selectList(new QueryWrapper<QyzxEmpLogin>().lambda()
.select(QyzxEmpLogin::getPhone)); .select(QyzxEmpLogin::getPhone));
listEl = listEl != null ? listEl.stream()
.filter(o -> o != null && o.getPhone() != null)
.collect(Collectors.toList()) : null;
System.out.println(JSONUtil.parseObj(listEl));
// listEl.stream().filter(predicate) // listEl.stream().filter(predicate)
// listEl.stream().filter(item -> objId.equals(item.getUpId())).forEach(zzglBmgwM -> { // listEl.stream().filter(item -> objId.equals(item.getUpId())).forEach(zzglBmgwM -> {
// list.add(zzglBmgwM.getId()); // list.add(zzglBmgwM.getId());
...@@ -542,7 +548,6 @@ public class YgglController { ...@@ -542,7 +548,6 @@ public class YgglController {
//抽取 登录表 的phone的集合 //抽取 登录表 的phone的集合
List<String> listPhone = listEl.stream() List<String> listPhone = listEl.stream()
.filter(o -> o.getPhone() != null)
.map(QyzxEmpLogin::getPhone) .map(QyzxEmpLogin::getPhone)
.collect(Collectors.toList()); .collect(Collectors.toList());
......
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