v1.0.20
CI / build-deploy (pull_request) Successful in 30s
CI / notify-on-failure (pull_request) Skipped

This commit is contained in:
Timi
2026-08-21 15:25:04 +08:00
parent 022185079c
commit 4963988ec2
11 changed files with 149 additions and 16 deletions
@@ -9,11 +9,11 @@
LIMIT 1
</select>
<select id="selectEarnByEventRecordId" resultType="com.imyeyu.api.modules.gao.entity.GaoPointLedger">
<select id="selectRuleChangeByEventRecordId" resultType="com.imyeyu.api.modules.gao.entity.GaoPointLedger">
SELECT *
FROM `gao_point_ledger`
WHERE `event_record_id` = #{eventRecordId}
AND `change_type` = 'EARN'
AND `change_type` IN ('EARN', 'CONSUME')
AND `deleted_at` IS NULL
ORDER BY `created_at` ASC, `id` ASC
</select>