From 885c66fcc29c3b1b4d1cc94883aaff0ed64e435c Mon Sep 17 00:00:00 2001 From: admin <weikou2014> Date: 星期二, 24 三月 2020 16:35:06 +0800 Subject: [PATCH] 发圈活动支持淘宝活动,团队补贴/团队奖励增加生效/失效时间 --- fanli/src/main/java/com/yeshi/fanli/service/impl/order/OrderTeamRewardServiceImpl.java | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/fanli/src/main/java/com/yeshi/fanli/service/impl/order/OrderTeamRewardServiceImpl.java b/fanli/src/main/java/com/yeshi/fanli/service/impl/order/OrderTeamRewardServiceImpl.java index 2164908..b7fb16f 100644 --- a/fanli/src/main/java/com/yeshi/fanli/service/impl/order/OrderTeamRewardServiceImpl.java +++ b/fanli/src/main/java/com/yeshi/fanli/service/impl/order/OrderTeamRewardServiceImpl.java @@ -115,7 +115,7 @@ OrderTeamReward update = new OrderTeamReward(subsidy.getId()); update.setState(OrderTeamReward.STATE_INVALID); update.setUpdateTime(new Date()); - + update.setInValidTime(new Date()); orderTeamRewardMapper.updateByPrimaryKeySelective(update); } } @@ -132,6 +132,7 @@ update.setState(OrderTeamReward.STATE_VALID); update.setUpdateTime(new Date()); update.setPreGetTime(preGetTime); + update.setValidTime(new Date()); orderTeamRewardMapper.updateByPrimaryKeySelective(update); } } -- Gitblit v1.8.0