Răsfoiți Sursa

调整全部查询sql不兼容

chenendian 1 zi în urmă
părinte
comite
95c11c4a61

+ 1 - 1
siwei-modules/siwei-apply/src/main/resources/mapper/cadastre/CadastreFileMapper.xml

@@ -239,7 +239,7 @@
             <if test="name != null and name != ''">
                 AND name LIKE CONCAT('%', #{name}, '%')
             </if>
-            <if test="fileType != null and fileType != '' and fileType != '0'">
+            <if test="fileType != null and fileType != '' and fileType != 0">
                 AND file_type = #{fileType}
             </if>
             <if test="storageBeginTime != null and storageBeginTime != ''"><!-- 结束时间检索 -->