Commit 1e7eb71a authored by zhangfeng's avatar zhangfeng

兑换记录兑换网点修改

parent 96aa5243
...@@ -28,6 +28,9 @@ public class RedeemRewardReqVO { ...@@ -28,6 +28,9 @@ public class RedeemRewardReqVO {
@ApiModelProperty(value = "兑换入口(后台,app,web)", required = true) @ApiModelProperty(value = "兑换入口(后台,app,web)", required = true)
private Integer entrance; private Integer entrance;
@ApiModelProperty(value = "兑换网点,仅上门领取时填")
private Integer nodeId;
@ApiModelProperty(value = "费用数字(两位小数)") @ApiModelProperty(value = "费用数字(两位小数)")
private BigDecimal expenses; private BigDecimal expenses;
......
...@@ -46,6 +46,10 @@ public class RewardRedeemDO extends BaseDO { ...@@ -46,6 +46,10 @@ public class RewardRedeemDO extends BaseDO {
* 兑换入口 * 兑换入口
*/ */
private Integer entrance; private Integer entrance;
/**
* 兑换网点
*/
private Integer nodeId;
/** /**
* 费用 * 费用
*/ */
......
...@@ -15,6 +15,8 @@ public class RewardRedeemUpdateReqVO { ...@@ -15,6 +15,8 @@ public class RewardRedeemUpdateReqVO {
@NotNull(message = "redeemType is not null") @NotNull(message = "redeemType is not null")
@ApiModelProperty(value = "兑换方式") @ApiModelProperty(value = "兑换方式")
private Integer redeemType; private Integer redeemType;
@ApiModelProperty(value = "兑换网点,仅上门领取时填")
private Integer nodeId;
@ApiModelProperty(value = "费用") @ApiModelProperty(value = "费用")
private BigDecimal expenses; private BigDecimal expenses;
@ApiModelProperty(value = "币种") @ApiModelProperty(value = "币种")
......
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
from ecw_reward_redeem err from ecw_reward_redeem err
left join ecw_reward er on err.reward_id = er.id 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 mu on mu.id = err.member_id
left join ecw_node en on er.node_id = en.id left join ecw_node en on err.node_id = en.id
left join system_user suc on suc.id = er.creator left join system_user suc on suc.id = er.creator
left join system_user suu on suu.id = er.updater left join system_user suu on suu.id = er.updater
left join ecw_currency cc on err.currency = cc.id left join ecw_currency cc on err.currency = cc.id
...@@ -30,7 +30,7 @@ ...@@ -30,7 +30,7 @@
from ecw_reward_redeem err from ecw_reward_redeem err
left join ecw_reward er on err.reward_id = er.id 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 mu on mu.id = err.member_id
left join ecw_node en on er.node_id = en.id left join ecw_node en on err.node_id = en.id
left join system_user suc on suc.id = er.creator left join system_user suc on suc.id = er.creator
left join system_user suu on suu.id = er.updater left join system_user suu on suu.id = er.updater
left join ecw_express ee on err.courier_company = ee.id left join ecw_express ee on err.courier_company = ee.id
...@@ -48,7 +48,7 @@ ...@@ -48,7 +48,7 @@
left join ecw_reward er on err.reward_id = er.id 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 mu on mu.id = err.member_id
left join member_user_score mus on mu.id = mus.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 err.node_id = en.id
left join system_user suc on suc.id = er.creator left join system_user suc on suc.id = er.creator
left join system_user suu on suu.id = er.updater left join system_user suu on suu.id = er.updater
left join ecw_currency cc on err.currency = cc.id left join ecw_currency cc on err.currency = cc.id
...@@ -61,7 +61,7 @@ ...@@ -61,7 +61,7 @@
from ecw_reward_redeem err from ecw_reward_redeem err
left join ecw_reward er on err.reward_id = er.id 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 mu on mu.id = err.member_id
left join ecw_node en on er.node_id = en.id left join ecw_node en on err.node_id = en.id
left join system_user suc on suc.id = er.creator left join system_user suc on suc.id = er.creator
left join system_user suu on suu.id = er.updater left join system_user suu on suu.id = er.updater
left join ecw_currency cc on err.currency = cc.id left join ecw_currency cc on err.currency = cc.id
...@@ -136,7 +136,7 @@ ...@@ -136,7 +136,7 @@
and err.entrance = #{req.entrance} and err.entrance = #{req.entrance}
</if> </if>
<if test="req.nodeId != null"> <if test="req.nodeId != null">
and er.node_id = #{req.nodeId} and err.node_id = #{req.nodeId}
</if> </if>
<if test="req.rewardCount != null and req.rewardCountOperate != null"> <if test="req.rewardCount != null and req.rewardCountOperate != null">
<!--1:大于 2:等于 3:小于--> <!--1:大于 2:等于 3:小于-->
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment