Browse Source

* 代码优化

顾绍勇 5 years ago
parent
commit
352b44a585
1 changed files with 1 additions and 2 deletions
  1. 1
    2
      src/main/resources/mapper/TaRaiseRecordMapper.xml

+ 1
- 2
src/main/resources/mapper/TaRaiseRecordMapper.xml View File

@@ -6,8 +6,7 @@
6 6
         SELECT
7 7
             t.*,
8 8
             t4.apartment_name,
9
-            t2.raise_record_id,
10
-            (select count(*) from ta_raise_house tr where tr.house_id = t.house_id) raiseRealHeat
9
+            t2.raise_record_id
11 10
         FROM
12 11
             ta_housing_resources t
13 12
             LEFT JOIN ta_raise_house t2 ON t.house_id = t2.house_id