|
@@ -1634,6 +1634,7 @@ public class ContractInfoServiceImpl extends BaseServiceImpl<ContractInfoMapper,
|
|
|
} else {
|
|
|
wrapper.eq(WbsTreeContract::getPId, pKeyId);
|
|
|
}
|
|
|
+ wrapper.and(wrapper1 -> wrapper1.isNull(WbsTreeContract::getIsBussShow).or().ne(WbsTreeContract::getIsBussShow, 2));
|
|
|
wbsTreeContractList = wbsTreeContractMapper.selectList(wrapper);
|
|
|
}
|
|
|
if (!wbsTreeContractList.isEmpty()) {
|
|
@@ -1718,7 +1719,7 @@ public class ContractInfoServiceImpl extends BaseServiceImpl<ContractInfoMapper,
|
|
|
}
|
|
|
Set<String> syncPKeyIds = getSyncFlagIds(contractId, tableOwner);
|
|
|
List<ContractCollectFolder> contractCollectNodes = jdbcTemplate.query("select node_id, ifnull((select ancestors_p_id from m_wbs_tree_contract where p_key_id = a.node_id), (select ancestors from m_wbs_tree_contract_statistics where id = a.node_id)) as nodeAncestors from m_contract_collect_folder a where type = 1 and parent_id = " + folderId
|
|
|
- + " and EXISTS (SELECT 1 from m_wbs_tree_contract where p_key_id = a.node_id and full_name like '%" + queryValue + "%')",
|
|
|
+ + " and EXISTS (SELECT 1 from m_wbs_tree_contract where p_key_id = a.node_id)",
|
|
|
new BeanPropertyRowMapper<>(ContractCollectFolder.class));
|
|
|
if (!contractCollectNodes.isEmpty()) {
|
|
|
Set<Long> pKeyIds = new LinkedHashSet<>();
|