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
1e7eb71a
Commit
1e7eb71a
authored
Aug 12, 2024
by
zhangfeng
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
兑换记录兑换网点修改
parent
96aa5243
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
14 additions
and
5 deletions
+14
-5
RedeemRewardReqVO.java
...yudao/module/reward/api/reward/dto/RedeemRewardReqVO.java
+3
-0
RewardRedeemDO.java
...o/module/reward/dal/dataobject/redeem/RewardRedeemDO.java
+4
-0
RewardRedeemUpdateReqVO.java
...udao/module/reward/vo/reward/RewardRedeemUpdateReqVO.java
+2
-0
RewardRedeemMapper.xml
...ard-impl/src/main/resources/mapper/RewardRedeemMapper.xml
+5
-5
No files found.
yudao-module-reward/yudao-module-reward-api/src/main/java/cn/iocoder/yudao/module/reward/api/reward/dto/RedeemRewardReqVO.java
View file @
1e7eb71a
...
...
@@ -28,6 +28,9 @@ public class RedeemRewardReqVO {
@ApiModelProperty
(
value
=
"兑换入口(后台,app,web)"
,
required
=
true
)
private
Integer
entrance
;
@ApiModelProperty
(
value
=
"兑换网点,仅上门领取时填"
)
private
Integer
nodeId
;
@ApiModelProperty
(
value
=
"费用数字(两位小数)"
)
private
BigDecimal
expenses
;
...
...
yudao-module-reward/yudao-module-reward-impl/src/main/java/cn/iocoder/yudao/module/reward/dal/dataobject/redeem/RewardRedeemDO.java
View file @
1e7eb71a
...
...
@@ -46,6 +46,10 @@ public class RewardRedeemDO extends BaseDO {
* 兑换入口
*/
private
Integer
entrance
;
/**
* 兑换网点
*/
private
Integer
nodeId
;
/**
* 费用
*/
...
...
yudao-module-reward/yudao-module-reward-impl/src/main/java/cn/iocoder/yudao/module/reward/vo/reward/RewardRedeemUpdateReqVO.java
View file @
1e7eb71a
...
...
@@ -15,6 +15,8 @@ public class RewardRedeemUpdateReqVO {
@NotNull
(
message
=
"redeemType is not null"
)
@ApiModelProperty
(
value
=
"兑换方式"
)
private
Integer
redeemType
;
@ApiModelProperty
(
value
=
"兑换网点,仅上门领取时填"
)
private
Integer
nodeId
;
@ApiModelProperty
(
value
=
"费用"
)
private
BigDecimal
expenses
;
@ApiModelProperty
(
value
=
"币种"
)
...
...
yudao-module-reward/yudao-module-reward-impl/src/main/resources/mapper/RewardRedeemMapper.xml
View file @
1e7eb71a
...
...
@@ -15,7 +15,7 @@
from ecw_reward_redeem err
left join ecw_reward er on err.reward_id = er.id
left join member_user mu on mu.id = err.member_id
left join ecw_node en on er.node_id = en.id
left join ecw_node en on er
r
.node_id = en.id
left join system_user suc on suc.id = er.creator
left join system_user suu on suu.id = er.updater
left join ecw_currency cc on err.currency = cc.id
...
...
@@ -30,7 +30,7 @@
from ecw_reward_redeem err
left join ecw_reward er on err.reward_id = er.id
left join member_user mu on mu.id = err.member_id
left join ecw_node en on er.node_id = en.id
left join ecw_node en on er
r
.node_id = en.id
left join system_user suc on suc.id = er.creator
left join system_user suu on suu.id = er.updater
left join ecw_express ee on err.courier_company = ee.id
...
...
@@ -48,7 +48,7 @@
left join ecw_reward er on err.reward_id = er.id
left join member_user mu on mu.id = err.member_id
left join member_user_score mus on mu.id = mus.member_id
left join ecw_node en on er.node_id = en.id
left join ecw_node en on er
r
.node_id = en.id
left join system_user suc on suc.id = er.creator
left join system_user suu on suu.id = er.updater
left join ecw_currency cc on err.currency = cc.id
...
...
@@ -61,7 +61,7 @@
from ecw_reward_redeem err
left join ecw_reward er on err.reward_id = er.id
left join member_user mu on mu.id = err.member_id
left join ecw_node en on er.node_id = en.id
left join ecw_node en on er
r
.node_id = en.id
left join system_user suc on suc.id = er.creator
left join system_user suu on suu.id = er.updater
left join ecw_currency cc on err.currency = cc.id
...
...
@@ -136,7 +136,7 @@
and err.entrance = #{req.entrance}
</if>
<if
test=
"req.nodeId != null"
>
and er.node_id = #{req.nodeId}
and er
r
.node_id = #{req.nodeId}
</if>
<if
test=
"req.rewardCount != null and req.rewardCountOperate != null"
>
<!--1:大于 2:等于 3:小于-->
...
...
zhangfeng
@zhangfeng
mentioned in commit
7dfd6f26
·
Aug 12, 2024
mentioned in commit
7dfd6f26
mentioned in commit 7dfd6f269f1a07f48f47d73b6e142cd9d252fbc6
Toggle commit list
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