소스 검색

修改验收申请汇总目录查询条件

lvy 3 주 전
부모
커밋
8f05218645
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      blade-service/blade-archive/src/main/java/org/springblade/archive/mapper/ArchivesAutoMapper.xml

+ 1 - 1
blade-service/blade-archive/src/main/java/org/springblade/archive/mapper/ArchivesAutoMapper.xml

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