| | |
| | | package com.yeshi.fanli.service.impl.user;
|
| | |
|
| | | import java.util.Date;
|
| | |
|
| | | import javax.annotation.Resource;
|
| | |
|
| | | import org.springframework.stereotype.Service;
|
| | |
| | | }
|
| | |
|
| | | @Override
|
| | | public void addActivateRecord(Long id) {
|
| | | UserSystemCouponActivate record = new UserSystemCouponActivate();
|
| | | record.setId(id);
|
| | | record.setCount(0);
|
| | | record.setState(UserSystemCouponActivate.STATE_INIT);
|
| | | record.setCreateTime(new Date());
|
| | | record.setUpdateTime(new Date());
|
| | | userSystemCouponActivateMapper.insertSelective(record);
|
| | | }
|
| | | |
| | | @Override
|
| | | public void updateByPrimaryKeySelective(UserSystemCouponActivate record) {
|
| | | userSystemCouponActivateMapper.updateByPrimaryKeySelective(record);
|
| | | }
|