|
@@ -1210,13 +1210,20 @@ public class ZEngineeringNodeServiceImpl implements IZEngineeringNodeService {
|
|
|
nodeTypeList.add(ifhave);
|
|
|
}
|
|
|
}
|
|
|
- }else{
|
|
|
+ }
|
|
|
+ else{
|
|
|
if(!ObjectUtils.isEmpty(infoList) && "99".equals(infoList.get(0).getState())){
|
|
|
ZEngineeringReview ifhave = new ZEngineeringReview();
|
|
|
ifhave.setEngInfoId(item2.getId());
|
|
|
ifhave.setReviewStatus("99");
|
|
|
ifhave.setReviewContent("有暂存");
|
|
|
nodeTypeList.add(ifhave);
|
|
|
+ }else if (infoList.isEmpty()){
|
|
|
+ ZEngineeringReview ifhave = new ZEngineeringReview();
|
|
|
+ ifhave.setEngInfoId(item2.getId());
|
|
|
+ ifhave.setReviewStatus("-1");
|
|
|
+ ifhave.setReviewContent("无数据");
|
|
|
+ nodeTypeList.add(ifhave);
|
|
|
}else{
|
|
|
if (ReviewList.size() > 0) {
|
|
|
String content = "";
|
|
@@ -1255,8 +1262,9 @@ public class ZEngineeringNodeServiceImpl implements IZEngineeringNodeService {
|
|
|
// }
|
|
|
if (nodeList.size()>0&&nodeList.stream().anyMatch(x->x.getType().equals(item3.getDictValue()))){
|
|
|
map.put("Type",item3.getDictValue());
|
|
|
- map.put("state",nodeTypeList.stream().anyMatch(y->y.getEngInfoId().equals(nodeList.stream().filter(x->x.getType().equals(item3.getDictValue())).collect(Collectors.toList()).get(0).getId()))?nodeTypeList.stream().filter(y->y.getEngInfoId().equals(nodeList.stream().filter(x->x.getType().equals(item3.getDictValue())).collect(Collectors.toList()).get(0).getId())).collect(Collectors.toList()).get(0).getReviewStatus():"0");
|
|
|
- map.put("content",nodeTypeList.stream().anyMatch(y->y.getEngInfoId().equals(nodeList.stream().filter(x->x.getType().equals(item3.getDictValue())).collect(Collectors.toList()).get(0).getId()))?nodeTypeList.stream().filter(y->y.getEngInfoId().equals(nodeList.stream().filter(x->x.getType().equals(item3.getDictValue())).collect(Collectors.toList()).get(0).getId())).collect(Collectors.toList()).get(0).getReviewContent():"暂未审核");
|
|
|
+ map.put("state",nodeTypeList.stream().anyMatch(y->y.getEngInfoId().equals(nodeList.stream().filter(x->x.getType().equals(item3.getDictValue())).collect(Collectors.toList()).get(0).getId()))?
|
|
|
+ nodeTypeList.stream().filter(y->y.getEngInfoId().equals(nodeList.stream().filter(x->x.getType().equals(item3.getDictValue())).collect(Collectors.toList()).get(0).getId())).collect(Collectors.toList()).get(0).getReviewStatus() : "0");
|
|
|
+ map.put("content",nodeTypeList.stream().anyMatch(y->y.getEngInfoId().equals(nodeList.stream().filter(x->x.getType().equals(item3.getDictValue())).collect(Collectors.toList()).get(0).getId()))?nodeTypeList.stream().filter(y->y.getEngInfoId().equals(nodeList.stream().filter(x->x.getType().equals(item3.getDictValue())).collect(Collectors.toList()).get(0).getId())).collect(Collectors.toList()).get(0).getReviewContent(): "暂未审核");
|
|
|
String enginfoid = nodeTypeList.stream().anyMatch(y->y.getEngInfoId().equals(nodeList.stream().filter(x->x.getType().equals(item3.getDictValue())).collect(Collectors.toList()).get(0).getId()))?nodeTypeList.stream().filter(y->y.getEngInfoId().equals(nodeList.stream().filter(x->x.getType().equals(item3.getDictValue())).collect(Collectors.toList()).get(0).getId())).collect(Collectors.toList()).get(0).getEngInfoId():null;
|
|
|
if(StringUtils.isNotBlank(enginfoid)&&!"2".equals(map.get("state").toString())){
|
|
|
LambdaQueryWrapper<ZEngineeringInfo> lqw3 = Wrappers.lambdaQuery();
|