流水记录优化
This commit is contained in:
1 parent
dcd8eadd20
commit
abdafd5c9d
11 files changed
+238
-28
No files matched your search
@@ -143,6 +143,10 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
on duplicate key update id = id
|
||||
</insert>
|
||||
|
||||
<select id="countByIdempotencyKey" resultType="int">
|
||||
select count(1) from apps_balance_ledger where idempotency_key = #{idempotencyKey}
|
||||
</select>
|
||||
|
||||
<sql id="statisticsConditions">
|
||||
1 = 1
|
||||
<if test="appId != null">and app_id = #{appId}</if>
|
||||
|
||||
Reference in new issue
Block a user