发积分幂等性校验

This commit is contained in:
Guoqs
2026-01-08 10:43:15 +08:00
parent 1c37eb2f74
commit eb46b5a23b
3 changed files with 21 additions and 0 deletions

View File

@@ -54,4 +54,9 @@ public interface MemberPointsRecordMapper {
* 根据主键删除
*/
int deleteByPrimaryKey(Long id);
/**
* 根据订单号和类型统计记录数(用于幂等性校验)
*/
int countByOrderCodeAndType(@Param("orderCode") String orderCode, @Param("type") Integer type);
}