Explorar o código

档案组卷状态查询

cr hai 1 mes
pai
achega
42cf57b69f

+ 2 - 2
blade-service/blade-business/src/main/java/org/springblade/business/mapper/ArchiveFileMapper.xml

@@ -95,7 +95,7 @@
         </if>
         <if test="vo.isArchive != null and vo.isArchive != ''">
             <choose>
-                <when test="vo.isArchive == '1'">
+                <when test="vo.isArchive == 0">
                     AND (u.is_archive = #{vo.isArchive} OR u.is_archive IS NULL)
                 </when>
                 <otherwise>
@@ -178,7 +178,7 @@
         </if>
         <if test="vo.isArchive != null and vo.isArchive != ''">
             <choose>
-                <when test="vo.isArchive == '1'">
+                <when test="vo.isArchive == 0">
                     AND (u.is_archive = #{vo.isArchive} OR u.is_archive IS NULL)
                 </when>
                 <otherwise>