| | |
| | |
|
| | | for (UserSystemCoupon userSystemCoupon: list) {
|
| | | // 激活
|
| | | userSystemCoupon.setStateActivated(1);
|
| | | userSystemCoupon.setUpdateTime(new Date());
|
| | | userSystemCouponMapper.updateByPrimaryKeySelective(userSystemCoupon);
|
| | | UserSystemCoupon update=new UserSystemCoupon();
|
| | | update.setId(userSystemCoupon.getId());
|
| | | update.setStateActivated(1);
|
| | | update.setUpdateTime(new Date());
|
| | | userSystemCouponMapper.updateByPrimaryKeySelective(update);
|
| | |
|
| | | Integer state = userSystemCoupon.getState();
|
| | | if (UserSystemCoupon.STATE_OVERDUE == state) {
|