|
|
@@ -286,17 +286,19 @@
|
|
|
</select>
|
|
|
|
|
|
<select id="queryCurrentContractLogList" resultMap="ResultMap">
|
|
|
- select p_key_id,
|
|
|
- node_name,
|
|
|
- full_name,
|
|
|
- node_type,
|
|
|
- excel_id,
|
|
|
- is_link_table
|
|
|
- from m_wbs_tree_private
|
|
|
- where is_deleted = 0
|
|
|
- and major_data_type = 5
|
|
|
- and wbs_type = 4
|
|
|
- and project_id = #{projectId}
|
|
|
+ select a.p_key_id,
|
|
|
+ a.node_name,
|
|
|
+ a.full_name,
|
|
|
+ a.node_type,
|
|
|
+ a.excel_id,
|
|
|
+ a.is_link_table,
|
|
|
+ b.init_tsable_name
|
|
|
+ from m_wbs_tree_private a
|
|
|
+ left join m_wbs_tree_private b on a.excel_id = b.p_key_id
|
|
|
+ where a.is_deleted = 0
|
|
|
+ and a.major_data_type = 5
|
|
|
+ and a.wbs_type = 4
|
|
|
+ and a.project_id = #{projectId}
|
|
|
</select>
|
|
|
|
|
|
<select id="selectListByCondition" resultType="org.springblade.manager.vo.WbsTreeContractVO2">
|