Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
J
jiedao-api-boot-master
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lanbaoming
jiedao-api-boot-master
Commits
273c29c2
Commit
273c29c2
authored
Jul 31, 2024
by
zhaobiyan
Browse files
Options
Browse Files
Download
Plain Diff
批量兑换增加日志
parents
32b80572
a6e1d8f7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
RedeemRewardApiImpl.java
...r/yudao/module/reward/api/reward/RedeemRewardApiImpl.java
+3
-0
No files found.
yudao-module-reward/yudao-module-reward-impl/src/main/java/cn/iocoder/yudao/module/reward/api/reward/RedeemRewardApiImpl.java
View file @
273c29c2
...
@@ -16,6 +16,7 @@ import cn.iocoder.yudao.module.reward.dal.mysql.redeem.RewardRedeemMapper;
...
@@ -16,6 +16,7 @@ import cn.iocoder.yudao.module.reward.dal.mysql.redeem.RewardRedeemMapper;
import
cn.iocoder.yudao.module.reward.dal.mysql.reward.RewardMapper
;
import
cn.iocoder.yudao.module.reward.dal.mysql.reward.RewardMapper
;
import
cn.iocoder.yudao.module.reward.enums.RewardRedeemStatusEnum
;
import
cn.iocoder.yudao.module.reward.enums.RewardRedeemStatusEnum
;
import
com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper
;
import
com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper
;
import
lombok.extern.slf4j.Slf4j
;
import
org.springframework.stereotype.Service
;
import
org.springframework.stereotype.Service
;
import
org.springframework.transaction.annotation.Transactional
;
import
org.springframework.transaction.annotation.Transactional
;
import
org.springframework.validation.annotation.Validated
;
import
org.springframework.validation.annotation.Validated
;
...
@@ -30,6 +31,7 @@ import static cn.iocoder.yudao.module.reward.enums.ErrorCodeConstants.*;
...
@@ -30,6 +31,7 @@ import static cn.iocoder.yudao.module.reward.enums.ErrorCodeConstants.*;
@Service
@Service
@Validated
@Validated
@Slf4j
public
class
RedeemRewardApiImpl
implements
RedeemRewardApi
{
public
class
RedeemRewardApiImpl
implements
RedeemRewardApi
{
@Resource
@Resource
...
@@ -164,6 +166,7 @@ public class RedeemRewardApiImpl implements RedeemRewardApi {
...
@@ -164,6 +166,7 @@ public class RedeemRewardApiImpl implements RedeemRewardApi {
updateMemberScore
(
redeemRewardReqVO
,
rewardDO
,
redeemId
);
updateMemberScore
(
redeemRewardReqVO
,
rewardDO
,
redeemId
);
}
}
}
catch
(
Exception
e
)
{
}
catch
(
Exception
e
)
{
log
.
error
(
"redeem reward exception"
,
e
);
throw
exception
(
REWARD_REDEEM_FAIL
);
throw
exception
(
REWARD_REDEEM_FAIL
);
}
finally
{
}
finally
{
redisDistributedLock
.
releaseLock
(
"reward:redeem:lock:"
+
rewardId
);
redisDistributedLock
.
releaseLock
(
"reward:redeem:lock:"
+
rewardId
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment