顾绍勇 пре 5 година
родитељ
комит
75e5909b25
1 измењених фајлова са 2 додато и 2 уклоњено
  1. 2
    2
      src/main/resources/mapper/TaPreselectionRecordMapper.xml

+ 2
- 2
src/main/resources/mapper/TaPreselectionRecordMapper.xml Прегледај датотеку

@@ -32,11 +32,11 @@
32 32
             t.person_id = #{personId}
33 33
             AND t.org_id = #{orgId}
34 34
             AND t.house_id = t2.house_id
35
-        ORDER BY
36
-            t.create_date DESC
37 35
             ) t3
38 36
             LEFT JOIN ta_building t4 ON t3.buildingId = t4.building_id
39 37
             LEFT JOIN ta_sales_batch t5 ON t3.saleBatchId = t5.sales_batch_id
38
+         ORDER BY
39
+            t3.create_date DESC
40 40
     </select>
41 41
 
42 42
     <select id="getRecordByPersonIdAndHouseId" resultType="com.huiju.estateagents.entity.TaPreselectionRecord">