|
@@ -130,13 +130,15 @@
|
|
|
|
|
|
<select id="getTianList" parameterType="WaterConservancyViewBO" resultType="map">
|
|
|
SELECT
|
|
|
- GROUP_CONCAT( a.gridId ) gridId, `name`, phone, id
|
|
|
+ GROUP_CONCAT( a.gridId ) gridId, `name`, phone, id,sort,create_time createTime
|
|
|
FROM(
|
|
|
SELECT
|
|
|
DISTINCT a.user_id userId,
|
|
|
a.id,
|
|
|
a.`name`,
|
|
|
a.phone,
|
|
|
+ a.sort,
|
|
|
+ a.create_time,
|
|
|
a.grid_id gridId
|
|
|
FROM
|
|
|
centerdata_t_hydraulic_river_length a
|
|
@@ -146,6 +148,7 @@
|
|
|
) a
|
|
|
GROUP BY
|
|
|
a.userId
|
|
|
+ order by a.sort asc,a.create_time desc
|
|
|
</select>
|
|
|
|
|
|
<select id="getGridList" parameterType="WaterConservancyViewBO" resultType="map">
|