|
@@ -299,7 +299,7 @@ public class ContractInfoServiceImpl extends BaseServiceImpl<ContractInfoMapper,
|
|
|
private void recursionGetChildNodes(List<WbsTreePrivate> list, List<WbsTreePrivate> result, String projectId, String wbsId) {
|
|
|
List<Long> ids = list.stream().map(WbsTreePrivate::getId).collect(Collectors.toList());
|
|
|
if (ids.size() > 0) {
|
|
|
- List<WbsTreePrivate> query = jdbcTemplate.query("select * from m_wbs_tree_private where type = 1 and parent_id in(" + org.apache.commons.lang.StringUtils.join(ids, ",") + ") and status = 1 and is_deleted = 0 and project_id = " + projectId + " and wbs_id = " + wbsId, new BeanPropertyRowMapper<>(WbsTreePrivate.class));
|
|
|
+ List<WbsTreePrivate> query = jdbcTemplate.query("select * from m_wbs_tree_private where is_add_conceal = 0 and type = 1 and parent_id in(" + org.apache.commons.lang.StringUtils.join(ids, ",") + ") and status = 1 and is_deleted = 0 and project_id = " + projectId + " and wbs_id = " + wbsId, new BeanPropertyRowMapper<>(WbsTreePrivate.class));
|
|
|
if (query.size() > 0) {
|
|
|
result.addAll(query);
|
|
|
recursionGetChildNodes(query, result, projectId, wbsId);
|