Commit f84b7e5e authored by zhangfeng's avatar zhangfeng

复制礼品修改

parent 2c380f55
...@@ -269,6 +269,8 @@ public class RewardServiceImpl extends AbstractService<RewardMapper, RewardDO> i ...@@ -269,6 +269,8 @@ public class RewardServiceImpl extends AbstractService<RewardMapper, RewardDO> i
reward.setCode(generateRewardCode()); reward.setCode(generateRewardCode());
//设置为未启用 //设置为未启用
reward.setStatus(RewardStatusEnum.DISABLED.getValue()); reward.setStatus(RewardStatusEnum.DISABLED.getValue());
//已兑换次数清零
reward.setExchangeCount(0);
reward.setId(null); reward.setId(null);
reward.setCreateTime(null); reward.setCreateTime(null);
......
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