|
@@ -115,11 +115,10 @@ public class WbsParamController {
|
|
|
);
|
|
|
}else if(pb.isPrivate()){
|
|
|
elementMap= this.jdbcTemplate.queryForList(
|
|
|
- "select a.e_name as name ,a.id " +
|
|
|
- "from m_wbs_form_element a " +
|
|
|
- "inner join m_wbs_tree_private b on a.f_id=b.init_table_id " +
|
|
|
- "inner join m_wbs_tree_private c on b.parent_id=c.id " +
|
|
|
- "where a.is_deleted=0 and b.project_id="+pb.getProjectId()+" and c.p_key_id="+pb.getNodeId()+" and a.is_deleted=0");
|
|
|
+ "select c.e_name as name ,c.id from m_wbs_tree_private a " +
|
|
|
+ "inner join m_wbs_tree_private b on a.id=b.parent_id " +
|
|
|
+ "inner join m_wbs_form_element c on b.init_table_id=c.f_id " +
|
|
|
+ "where b.project_id="+pb.getProjectId()+" and a.p_key_id="+pb.getNodeId()+" and b.is_deleted=0 and c.is_deleted=0 ");
|
|
|
}
|
|
|
if(!elementMap.isEmpty()){
|
|
|
Map<String,Object> tmpMap=new HashMap<>();
|