Commit 904fcddc by wang_jiaxing

背景核查修改

parent 61dc54e6
package org.springblade.founder.ydjwhc.thread;
import org.springblade.founder.utils.Entity.QgEsAsj;
import org.springblade.founder.utils.Entity.QgEsEntity;
import org.springblade.founder.utils.Entity.QgEsEnum;
import org.springblade.founder.utils.QgEsUtil;
import org.springblade.founder.ydjwhc.controller.CallDygabxxfwController;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.concurrent.Callable;
import java.util.stream.Collectors;
/**
* Created by zl on 2019/5/8.
......@@ -47,11 +52,11 @@ public class TimeControl2 implements Callable<Map<String, String>> {
// break;
// }
case "fzxyr": {
Map map = callDygabxxfwController.getGabZyInfo("fzxyr", zjhm);
System.out.println("map====>" + map);
if (map != null) {
List<Map> resultList = (List) map.get("dataResult");
if (resultList.size() > 0) {
List<QgEsAsj> asjList = QgEsUtil.getQgEsListByTypeAndParam(QgEsEnum.GET_ASJ_BY_ZJHM, zjhm);
if (asjList != null) {
List<QgEsAsj> list = asjList.stream().filter(asj -> asj != null && asj.getAsjbh() != null &&
!asj.getAsjbh().startsWith("A46")).collect(Collectors.toList());
if (list != null && list.size() > 0) {
HashMap<String, String> resultMap = new HashMap<>();
resultMap.put("zylx", "2");
resultMap.put("resourceName", resourceName);
......@@ -62,7 +67,8 @@ public class TimeControl2 implements Callable<Map<String, String>> {
break;
}
case "xzgzry": {
Map map = callDygabxxfwController.getGabZyInfo("xzgzry", zjhm);
Map map = null;
// Map map = callDygabxxfwController.getGabZyInfo("xzgzry", zjhm);
System.out.println("map====>" + map);
if (map != null) {
List<Map> resultList = (List<Map>) map.get("dataResult");
......
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