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>