顾绍勇 5 년 전
부모
커밋
bf9a3b768e
1개의 변경된 파일3개의 추가작업 그리고 0개의 파일을 삭제
  1. 3
    0
      src/main/resources/mapper/TaPreselectionRecordMapper.xml

+ 3
- 0
src/main/resources/mapper/TaPreselectionRecordMapper.xml 파일 보기

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