@@ -112,4 +112,6 @@ public interface WbsTreeContractMapper extends EasyBaseMapper<WbsTreeContract> {
List<APIWbsContractNodeVo> apiTreeNode(@Param("contractId") String contractId,@Param("nodeName") String nodeName);
List<APIWbsContractNodeHzrcVo> apiTreeNodeHzrc(@Param("contractId") String contractId,@Param("classType") Integer classType);
+
+ List<ArchiveSyncWbsVO> getContractAllNode(@Param("contractId") Long contractId);
}
@@ -863,4 +863,8 @@
and a.contract_id = #{contractId}
ORDER BY a.type,a.sort
</select>
+ <select id="getContractAllNode" resultType="org.springblade.manager.vo.ArchiveSyncWbsVO">
+ select p_key_id,id,parent_id,ancestors,node_name,full_name,sort
+ from m_wbs_tree_contract where contract_id = #{contractId} and type = 1 and is_deleted = 0
+ </select>
</mapper>