Kaynağa Gözat

优化加入演示表示

java110 2 yıl önce
ebeveyn
işleme
067dc63eea

+ 2 - 2
java110-db/src/main/resources/mapper/report/BaseDataStatisticsServiceDaoImplMapper.xml

@@ -217,11 +217,11 @@
         <if test="link != null and link != ''">
             and bo.link = #{link}
         </if>
-        order by t.create_time desc
         group by t.fee_coefficient ,t.section,t.remark,t.user_id ,
         t.room_id ,t.layer,t.built_up_area,t.room_num,t.unit_id,t.b_id,t.apartment,t.state,t.community_id,t.room_type,
         t.room_sub_type,t.room_rent,t.room_area,t.room_rent,t.room_area,
         f.floor_num ,bu.unit_num ,bo.name ,bo.owner_id ,bo.link
+        order by t.create_time desc
         ) a
         <if test="page != -1 and page != null">
             limit #{page},#{row}
@@ -330,11 +330,11 @@
         <if test="link != null and link != ''">
             and bo.link = #{link}
         </if>
-        order by t.create_time desc
         group by t.fee_coefficient ,t.section,t.remark,t.user_id ,
         t.room_id ,t.layer,t.built_up_area,t.room_num,t.unit_id,t.b_id,t.apartment,t.state,t.community_id,t.room_type,
         t.room_sub_type,t.room_rent,t.room_area,t.room_rent,t.room_area,
         f.floor_num ,bu.unit_num ,bo.name ,bo.owner_id ,bo.link
+        order by t.create_time desc
         ) a
         <if test="page != -1 and page != null">
             limit #{page},#{row}