|
@@ -1336,7 +1336,7 @@
|
|
|
(select id from m_archive_tree_contract
|
|
|
WHERE project_id = #{projectId} and is_deleted = 0 and parent_id = 0)
|
|
|
<if test="nodeType == null">
|
|
|
- and tree_code is null
|
|
|
+ and (tree_code is null or tree_code = 'null')
|
|
|
</if>
|
|
|
<if test="nodeType != null and nodeType != ''">
|
|
|
and tree_code = #{nodeType}
|