Showing
1 changed file
with
1 additions
and
0 deletions
@@ -52,6 +52,7 @@ public class GrassRewardsServiceImpl implements IGrassRewardsService { | @@ -52,6 +52,7 @@ public class GrassRewardsServiceImpl implements IGrassRewardsService { | ||
52 | checkParams(req); | 52 | checkParams(req); |
53 | GrassRewardsConfig rewardsConfig = YHBeanUtils.copyBeans(GrassRewardsConfig.class, req); | 53 | GrassRewardsConfig rewardsConfig = YHBeanUtils.copyBeans(GrassRewardsConfig.class, req); |
54 | rewardsConfig.setCreateTime(DateUtil.getCurrentTimeSeconds()); | 54 | rewardsConfig.setCreateTime(DateUtil.getCurrentTimeSeconds()); |
55 | + rewardsConfig.setStatus(2); //新建的默认不启用 | ||
55 | grassRewardsConfigDAO.insertRewardSeletive(rewardsConfig); | 56 | grassRewardsConfigDAO.insertRewardSeletive(rewardsConfig); |
56 | 57 | ||
57 | String includTopics = req.getIncludeTopics(); | 58 | String includTopics = req.getIncludeTopics(); |
-
Please register or login to post a comment