1
0
Переглянути джерело

修改调整过滤资源目录

chenendian 1 тиждень тому
батько
коміт
24d68c2742

+ 3 - 0
siwei-modules/siwei-apply/src/main/resources/mapper/cadastre/ZymlMapper.xml

@@ -143,6 +143,9 @@
         <if test="resources != null and resources != ''">
             and t.parent = '1'
         </if>
+        and t.cccc = '1'
+
+
         order by t.sort
     </select>
     <select id="GetList4XZQH" parameterType="java.lang.String" resultType="com.siwei.apply.domain.cadastre.ZymlDTO">

+ 1 - 1
siwei-modules/siwei-system/src/main/resources/mapper/postgresql/system/TYztZymlMapper.xml

@@ -86,7 +86,6 @@
             <if test="sflssj != null ">and sflssj = #{sflssj}</if>
             <if test="sfdbfx != null ">and sfdbfx = #{sfdbfx}</if>
             <if test="sfjl != null ">and sfjl = #{sfjl}</if>
-            <if test="sfcx != null ">and sfcx = #{sfcx}</if>
             <if test="sftj != null ">and sftj = #{sftj}</if>
             <if test="epsg != null  and epsg != ''">and epsg = #{epsg}</if>
             <if test="year != null  and year != ''">and year = #{year}</if>
@@ -98,6 +97,7 @@
             <if test="ywlx != null  and ywlx != ''">and ywlx = #{ywlx}</if>
             <if test="sharestate != null  and sharestate != ''">and sharestate = #{sharestate}</if>
             <if test="geomfield != null  and geomfield != ''">and geomfield = #{geomfield}</if>
+            AND sfcx = 1
         </where>
         order by sort
     </select>