|
@@ -745,7 +745,7 @@ public class WbsTreePrivateServiceImpl extends BaseServiceImpl<WbsTreePrivateMap
|
|
|
List<Long> wbsTreeIds = new ArrayList<>(map.values());
|
|
|
List<List<Long>> partition = Lists.partition(wbsTreeIds, 1000);
|
|
|
for (List<Long> ids : partition) {
|
|
|
- String sql = "select id,name,k,v,node_id,remark from m_wbs_param where node_id in (" + org.apache.commons.lang.StringUtils.join(ids, ",") + ")";
|
|
|
+ String sql = "select id,name,k,v,node_id,remark from m_wbs_param where is_deleted = 0 and status = 1 and node_id in (" + org.apache.commons.lang.StringUtils.join(ids, ",") + ")";
|
|
|
List<WbsParam> wbsParams = jdbcTemplate.query(sql, new BeanPropertyRowMapper<>(WbsParam.class));
|
|
|
wbsParamOldList.addAll(wbsParams);
|
|
|
}
|