qinhouyu 1 년 전
부모
커밋
9c2d375a34
1개의 변경된 파일1개의 추가작업 그리고 4개의 파일을 삭제
  1. 1 4
      ruoyi-zdsz/src/main/resources/mapper/zdsz/zdsz/ZComprehensiveMapper.xml

+ 1 - 4
ruoyi-zdsz/src/main/resources/mapper/zdsz/zdsz/ZComprehensiveMapper.xml

@@ -45,11 +45,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
             <if test="p.unitId != null  and p.unitId != ''">
                 and zc.unit_id = #{p.unitId}
             </if>
-            <if test="p.unitId != null  and p.unitId != ''">
-                and zc.unit_id = #{p.unitId}
-            </if>
             <if test="p.houseId != null  and p.houseId != ''">
-                and zc.house_id = #{houseId}
+                and zc.house_id = #{p.houseId}
             </if>
     </select>