顾绍勇 il y a 5 ans
Parent
révision
bf9a3b768e
1 fichiers modifiés avec 3 ajouts et 0 suppressions
  1. 3
    0
      src/main/resources/mapper/TaPreselectionRecordMapper.xml

+ 3
- 0
src/main/resources/mapper/TaPreselectionRecordMapper.xml Voir le fichier

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