|
@@ -152,14 +152,10 @@ public class FormulaServiceImpl extends BaseServiceImpl<FormulaMapper, Formula>
|
|
|
CurrentNode one=this.tec.getCurrentNode();
|
|
|
tec.formDataList=list;
|
|
|
keyWord(tec.constantMap);
|
|
|
- /* ContractInfo info =this.contractInfoService.getById(tec.getContractId());
|
|
|
- ProjectInfo pji=this.projectInfoService.getById(tec.getProjectId());*/
|
|
|
+
|
|
|
/*wbs节点链*/
|
|
|
if(ExecuteType.INSPECTION.equals(tec.getExecuteType())) {
|
|
|
- /* List<WbsTreeContract> nodes = wpService.chain(tec.getContractId(), one.getId(), one.getPkId(), null);
|
|
|
- if (Func.isEmpty(nodes)) {
|
|
|
- nodes = wpService.chain(tec.getContractId(), one.getRelateId(), one.getPkId(), null);
|
|
|
- }*/
|
|
|
+
|
|
|
List<WbsTreeContract> nodes = wpService.tracing(one.getPkId());
|
|
|
if (Func.isEmpty(nodes)) {
|
|
|
this.tec.getLog().append("【WBS信息缺失】");
|
|
@@ -171,7 +167,7 @@ public class FormulaServiceImpl extends BaseServiceImpl<FormulaMapper, Formula>
|
|
|
List<AppWbsTreeContractVO> tableList =wbsTreeContractService.searchNodeAllTable(one.getPkId().toString(), "1", tec.getContractId().toString(),tec.getProjectId().toString());
|
|
|
tec.constantMap.put(TABLE_LIST,tableList);
|
|
|
/*监表质量附件,过滤掉隐藏表格*/
|
|
|
- tec.constantMap.put("tableNames",tableList.stream().filter(e->StringUtils.isEquals(e.getIsBussShow(),1)).map(WbsTreeContract::getNodeName).collect(Collectors.toList()));
|
|
|
+ tec.constantMap.put("tableNames",tableList.stream().filter(e->StringUtils.isEquals(e.getIsBussShow(),1)&&StringUtils.isNotEquals(e.getTableType(),4)).map(WbsTreeContract::getNodeName).collect(Collectors.toList()));
|
|
|
/*
|
|
|
tec.constantMap.put("tableNames",tableList.stream().map(WbsTreeContract::getNodeName).collect(Collectors.toList()));
|
|
|
*/
|