顾绍勇 5 年前
父节点
当前提交
bf9a3b768e
共有 1 个文件被更改,包括 3 次插入0 次删除
  1. 3
    0
      src/main/resources/mapper/TaPreselectionRecordMapper.xml

+ 3
- 0
src/main/resources/mapper/TaPreselectionRecordMapper.xml 查看文件

@@ -59,8 +59,11 @@
59 59
             <if test="customerLocked == 'other'">
60 60
                 AND t6.person_id != #{personId}
61 61
             </if>
62
+          GROUP BY
63
+            t6.house_id
62 64
          ORDER BY
63 65
             t3.create_date DESC
66
+
64 67
     </select>
65 68
 
66 69
     <select id="getRecordByPersonIdAndHouseId" resultType="com.huiju.estateagents.entity.TaPreselectionRecord">