|
@@ -31,7 +31,16 @@
|
|
<if test="request.addressType != null and request.addressType >= 0">
|
|
<if test="request.addressType != null and request.addressType >= 0">
|
|
and a.address_type = #{request.addressType}
|
|
and a.address_type = #{request.addressType}
|
|
</if>
|
|
</if>
|
|
- GROUP BY a.address
|
|
|
|
|
|
+ GROUP BY
|
|
|
|
+ a.ams_address_id,
|
|
|
|
+ a.user_id,
|
|
|
|
+ a.address,
|
|
|
|
+ a.chain_id,
|
|
|
|
+ a.address_type,
|
|
|
|
+ a.group_name,
|
|
|
|
+ a.keystore,
|
|
|
|
+ a.last_oper_time,
|
|
|
|
+ a.create_time
|
|
|
|
|
|
<if test="request.orderBy != null and request.orderBy != ''
|
|
<if test="request.orderBy != null and request.orderBy != ''
|
|
and request.orderType != null and request.orderType != ''">
|
|
and request.orderType != null and request.orderType != ''">
|
|
@@ -40,7 +49,7 @@
|
|
|
|
|
|
<if test="request.orderBy == null or request.orderBy == ''
|
|
<if test="request.orderBy == null or request.orderBy == ''
|
|
or request.orderType == null or request.orderType == ''">
|
|
or request.orderType == null or request.orderType == ''">
|
|
- order by a.create_time desc
|
|
|
|
|
|
+ order by a.address desc
|
|
</if>
|
|
</if>
|
|
</select>
|
|
</select>
|
|
|
|
|