Explorar el Código

修改档案查询,不显示藏数据

qianxb hace 2 años
padre
commit
531be8a4bc

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

@@ -370,7 +370,7 @@
             and matc.project_id = #{vo.projectId}
         </if>
         <if test="vo.contractId != null and vo.contractId != ''">
-            and uaa.contract_id = #{vo.contractId}
+            and uaa.contract_id = #{vo.contractId} and matc.contract_id = #{vo.contractId}
         </if>
         <if test="vo.searchType == 1 and vo.queryValue != null and vo.queryValue != ''">
             and uaa.name like concat('%',#{vo.queryValue},'%')