Browse Source

计算积分上限的时间区间修改

master
wangchao 5 years ago
parent
commit
f75181d299
  1. 4
      epmet-module/epmet-point/epmet-point-server/src/main/java/com/epmet/service/impl/UserPointActionLogServiceImpl.java

4
epmet-module/epmet-point/epmet-point-server/src/main/java/com/epmet/service/impl/UserPointActionLogServiceImpl.java

@ -242,7 +242,7 @@ public class UserPointActionLogServiceImpl extends BaseServiceImpl<UserPointActi
calendar.add(Calendar.DAY_OF_YEAR, -dayOfYear + 1);
calendar.set(Calendar.DAY_OF_YEAR,1);
dateCheck = calendar.getTime();
calendar.add(Calendar.DAY_OF_YEAR,1);
calendar.add(Calendar.YEAR,1);
right = calendar.getTime();
break;
default:
@ -402,6 +402,4 @@ public class UserPointActionLogServiceImpl extends BaseServiceImpl<UserPointActi
point.setUpdatedBy(grantPoint.getOperatorId());
userPointTotalService.insertOrUpdate(point);
}
}
Loading…
Cancel
Save