|
|
@@ -88,6 +88,7 @@
|
|
|
dg1.name as province,
|
|
|
dg2.name as city,
|
|
|
dg3.name as area,
|
|
|
+ ifnull(t1.last_follow_time,t0.transfer_time) as orderTime,
|
|
|
c.name as industry,
|
|
|
d.name as adminName
|
|
|
from
|
|
|
@@ -121,7 +122,7 @@
|
|
|
<if test="area != null">
|
|
|
and b.area = #{area,jdbcType=INTEGER}
|
|
|
</if>
|
|
|
- order by t0.transfer_time desc
|
|
|
+ order by orderTime
|
|
|
<if test="page_sql != null">
|
|
|
${page_sql}
|
|
|
</if>
|
|
|
@@ -416,6 +417,7 @@
|
|
|
dg2.name as city,
|
|
|
dg3.name as area,
|
|
|
c.name as industry,
|
|
|
+ ifnull(t1.last_follow_time,t0.transfer_time) as orderTime,
|
|
|
d.name as adminName
|
|
|
from
|
|
|
(select id,aid,type,share_type,transfer_time,create_time,identify_name,society_tag from user where aid = #{aid} and type = 1 and share_type = 0 and status != 1)t0
|
|
|
@@ -451,7 +453,7 @@
|
|
|
<if test="area != null">
|
|
|
and b.location_area = #{area,jdbcType=INTEGER}
|
|
|
</if>
|
|
|
- order by t1.last_follow_time desc
|
|
|
+ order by orderTime
|
|
|
<if test="page_sql != null">
|
|
|
${page_sql}
|
|
|
</if>
|