顾绍勇 5 vuotta sitten
vanhempi
commit
bf9a3b768e
1 muutettua tiedostoa jossa 3 lisäystä ja 0 poistoa
  1. 3
    0
      src/main/resources/mapper/TaPreselectionRecordMapper.xml

+ 3
- 0
src/main/resources/mapper/TaPreselectionRecordMapper.xml Näytä tiedosto

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