修改查询交易记录接口
1、添加按id排序 2、添加查询所有国家 3、添加接口,更新用户国家、职业信息
This commit is contained in:
@@ -91,7 +91,7 @@
|
||||
AND create_time BETWEEN #{startTime} AND #{endTime}
|
||||
</if>
|
||||
ORDER BY
|
||||
id DESC
|
||||
id ${order}
|
||||
LIMIT ${limit} OFFSET ${offset}
|
||||
</select>
|
||||
|
||||
@@ -130,5 +130,18 @@
|
||||
</if>
|
||||
</select>
|
||||
|
||||
<select id="getCities" resultType="java.util.Map">
|
||||
SELECT DISTINCT city
|
||||
FROM t_payment_info
|
||||
WHERE city IS NOT NULL
|
||||
AND TRIM(city) != ''
|
||||
</select>
|
||||
|
||||
<select id="getCountries" resultType="java.util.Map">
|
||||
SELECT DISTINCT country
|
||||
FROM t_payment_info
|
||||
WHERE country IS NOT NULL
|
||||
AND TRIM(country) != ''
|
||||
</select>
|
||||
|
||||
</mapper>
|
||||
|
||||
Reference in New Issue
Block a user