顾绍勇 5 anni fa
parent
commit
bf9a3b768e

+ 3
- 0
src/main/resources/mapper/TaPreselectionRecordMapper.xml Vedi File

@@ -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">