|
@@ -94,7 +94,7 @@ public class ZEngineeringIndustryServiceImpl implements IZEngineeringIndustrySer
|
|
lqw.orderByDesc(ZEngineeringIndustry::getCreateTime);
|
|
lqw.orderByDesc(ZEngineeringIndustry::getCreateTime);
|
|
lqw.eq(StringUtils.isNotBlank(bo.getEnginType()), ZEngineeringIndustry::getEnginType, bo.getEnginType());
|
|
lqw.eq(StringUtils.isNotBlank(bo.getEnginType()), ZEngineeringIndustry::getEnginType, bo.getEnginType());
|
|
lqw.like(StringUtils.isNotBlank(bo.getEnginName()), ZEngineeringIndustry::getEnginName, bo.getEnginName());
|
|
lqw.like(StringUtils.isNotBlank(bo.getEnginName()), ZEngineeringIndustry::getEnginName, bo.getEnginName());
|
|
- lqw.eq(StringUtils.isNotBlank(bo.getEnginClassification()), ZEngineeringIndustry::getEnginClassification, bo.getEnginClassification());
|
|
|
|
|
|
+ lqw.like(StringUtils.isNotBlank(bo.getEnginClassification()), ZEngineeringIndustry::getEnginClassification, bo.getEnginClassification());
|
|
lqw.eq(StringUtils.isNotBlank(bo.getConstructUnit()), ZEngineeringIndustry::getConstructUnit, bo.getConstructUnit());
|
|
lqw.eq(StringUtils.isNotBlank(bo.getConstructUnit()), ZEngineeringIndustry::getConstructUnit, bo.getConstructUnit());
|
|
lqw.eq(StringUtils.isNotBlank(bo.getProjectHead()), ZEngineeringIndustry::getProjectHead, bo.getProjectHead());
|
|
lqw.eq(StringUtils.isNotBlank(bo.getProjectHead()), ZEngineeringIndustry::getProjectHead, bo.getProjectHead());
|
|
lqw.eq(StringUtils.isNotBlank(bo.getSceneHead()), ZEngineeringIndustry::getSceneHead, bo.getSceneHead());
|
|
lqw.eq(StringUtils.isNotBlank(bo.getSceneHead()), ZEngineeringIndustry::getSceneHead, bo.getSceneHead());
|
|
@@ -188,11 +188,12 @@ public class ZEngineeringIndustryServiceImpl implements IZEngineeringIndustrySer
|
|
}
|
|
}
|
|
}
|
|
}
|
|
bo.getzEngineeringNodeBo().setCivliId(bo.getId());
|
|
bo.getzEngineeringNodeBo().setCivliId(bo.getId());
|
|
- bo.getzEngineeringNodeBo().setType(bo.getType());
|
|
|
|
|
|
+// bo.getzEngineeringNodeBo().setType(bo.getType());
|
|
bo.getzEngineeringNodeBo().setCreateTime(bo.getCreateTime());
|
|
bo.getzEngineeringNodeBo().setCreateTime(bo.getCreateTime());
|
|
ZEngineeringNodeBo zEngineeringNodeBo = new ZEngineeringNodeBo();
|
|
ZEngineeringNodeBo zEngineeringNodeBo = new ZEngineeringNodeBo();
|
|
zEngineeringNodeBo.setCivliId(update.getId());
|
|
zEngineeringNodeBo.setCivliId(update.getId());
|
|
- zEngineeringNodeBo.setType(bo.getType());
|
|
|
|
|
|
+// zEngineeringNodeBo.setType(bo.getType());
|
|
|
|
+ zEngineeringNodeBo.setType(bo.getzEngineeringNodeBo().getType()); // zEngineeringNodeBo.setType(bo.getzEngineeringNodeBo().getType());
|
|
zEngineeringNodeBo.setCreateTime(baseMapper.selectVoById(bo.getId()).getCreateTime());
|
|
zEngineeringNodeBo.setCreateTime(baseMapper.selectVoById(bo.getId()).getCreateTime());
|
|
ZEngineeringNodeBo query = izEngineeringNodeService.query(zEngineeringNodeBo);
|
|
ZEngineeringNodeBo query = izEngineeringNodeService.query(zEngineeringNodeBo);
|
|
if (!ObjectUtils.isEmpty(query)) {
|
|
if (!ObjectUtils.isEmpty(query)) {
|
|
@@ -200,6 +201,7 @@ public class ZEngineeringIndustryServiceImpl implements IZEngineeringIndustrySer
|
|
}
|
|
}
|
|
bo.getzEngineeringNodeBo().setCreateTime(zEngineeringNodeBo.getCreateTime());
|
|
bo.getzEngineeringNodeBo().setCreateTime(zEngineeringNodeBo.getCreateTime());
|
|
izEngineeringNodeService.insert(bo.getzEngineeringNodeBo());
|
|
izEngineeringNodeService.insert(bo.getzEngineeringNodeBo());
|
|
|
|
+ System.out.println("izEngineeringNodeService.insert(bo.getzEngineeringNodeBo());");
|
|
return flag;
|
|
return flag;
|
|
}
|
|
}
|
|
|
|
|
|
@@ -305,11 +307,14 @@ public class ZEngineeringIndustryServiceImpl implements IZEngineeringIndustrySer
|
|
}
|
|
}
|
|
|
|
|
|
@Override
|
|
@Override
|
|
- public ZEngineeringIndustryVo query(String id) {
|
|
|
|
|
|
+ public ZEngineeringIndustryVo query(String id, String type) {
|
|
ZEngineeringIndustryVo zEngineeringIndustryVo = baseMapper.selectVoById(id);
|
|
ZEngineeringIndustryVo zEngineeringIndustryVo = baseMapper.selectVoById(id);
|
|
ZEngineeringNodeBo zEngineeringNodeBo = new ZEngineeringNodeBo();
|
|
ZEngineeringNodeBo zEngineeringNodeBo = new ZEngineeringNodeBo();
|
|
zEngineeringNodeBo.setCreateTime(zEngineeringIndustryVo.getCreateTime());
|
|
zEngineeringNodeBo.setCreateTime(zEngineeringIndustryVo.getCreateTime());
|
|
zEngineeringNodeBo.setCivliId(zEngineeringIndustryVo.getId());
|
|
zEngineeringNodeBo.setCivliId(zEngineeringIndustryVo.getId());
|
|
|
|
+ System.out.println("type===" + type);
|
|
|
|
+ zEngineeringNodeBo.setType(type);
|
|
|
|
+// zEngineeringNodeBo.setType("trench_construction");
|
|
zEngineeringIndustryVo.setZEngineeringNodeBo(izEngineeringNodeService.query(zEngineeringNodeBo));
|
|
zEngineeringIndustryVo.setZEngineeringNodeBo(izEngineeringNodeService.query(zEngineeringNodeBo));
|
|
return zEngineeringIndustryVo;
|
|
return zEngineeringIndustryVo;
|
|
}
|
|
}
|
|
@@ -330,7 +335,7 @@ public class ZEngineeringIndustryServiceImpl implements IZEngineeringIndustrySer
|
|
queryWrapper.eq(StringUtils.isNotBlank(bo.getEnginType()), ZEngineeringIndustry::getEnginType, bo.getEnginType());
|
|
queryWrapper.eq(StringUtils.isNotBlank(bo.getEnginType()), ZEngineeringIndustry::getEnginType, bo.getEnginType());
|
|
queryWrapper.eq(StringUtils.isNotBlank(bo.getType()), ZEngineeringIndustry::getType, bo.getType());
|
|
queryWrapper.eq(StringUtils.isNotBlank(bo.getType()), ZEngineeringIndustry::getType, bo.getType());
|
|
if (!"null".equals(bo.getEnginClassification())) {
|
|
if (!"null".equals(bo.getEnginClassification())) {
|
|
- queryWrapper.eq(StringUtils.isNotBlank(bo.getEnginClassification()), ZEngineeringIndustry::getEnginClassification, bo.getEnginClassification());
|
|
|
|
|
|
+ queryWrapper.like(StringUtils.isNotBlank(bo.getEnginClassification()), ZEngineeringIndustry::getEnginClassification, bo.getEnginClassification());
|
|
}
|
|
}
|
|
|
|
|
|
return queryWrapper;
|
|
return queryWrapper;
|