提交实物代码

dev-discount
袁野 2 years ago
parent 302736a0c9
commit c1880b58af
  1. 6
      hai-service/src/main/java/com/hai/service/impl/HighActivityUserLotteryNumServiceImpl.java

@ -146,11 +146,11 @@ public class HighActivityUserLotteryNumServiceImpl implements HighActivityUserLo
if (secConfig != null) {
// 判断是否活动为空
if (detail == null) {
addLotteryNum(activityId , userId , 3);
return 3;
addLotteryNum(activityId , userId , Integer.valueOf(secConfig.getCodeValue()));
return 1;
} else {
if (!DateUtil.isNow(detail.getUpdateTime())) {
detail.setLotteryNum(3);
detail.setLotteryNum(Integer.valueOf(secConfig.getCodeValue()));
detail.setUpdateTime(new Date());
highActivityUserLotteryNumMapper.updateByPrimaryKey(detail);
}

Loading…
Cancel
Save