qianxb 2 місяців тому
батько
коміт
6d5ff8d646

+ 2 - 0
blade-service/blade-manager/src/main/java/org/springblade/manager/mapper/WbsTreeContractMapper.java

@@ -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);
 }

+ 4 - 0
blade-service/blade-manager/src/main/java/org/springblade/manager/mapper/WbsTreeContractMapper.xml

@@ -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>