修改查询交易记录接口

1、添加按id排序
2、添加查询所有国家
3、添加接口,更新用户国家、职业信息
This commit is contained in:
2025-01-10 16:13:45 +08:00
parent 698fca8787
commit ef70598180
8 changed files with 59 additions and 4 deletions

View File

@@ -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>