| | |
| | | package com.yeshi.fanli.service.impl.user;
|
| | |
|
| | | import java.util.List;
|
| | |
|
| | | import javax.annotation.Resource;
|
| | |
|
| | | import org.springframework.stereotype.Service;
|
| | |
|
| | | import com.yeshi.fanli.dao.mybatis.user.DeviceLotteryRecordMapper;
|
| | | import com.yeshi.fanli.entity.bus.user.DeviceLotteryRecord;
|
| | | import com.yeshi.fanli.service.inter.user.DeviceLotteryRecordService;
|
| | |
|
| | | @Service
|
| | | public class DeviceLotteryRecordServiceImpl implements DeviceLotteryRecordService {
|
| | | |
| | | @Resource
|
| | | private DeviceLotteryRecordMapper reviceLotteryRecordMapper;
|
| | |
|
| | | |
| | | @Override
|
| | | public int deleteByPrimaryKey(Long id) {
|
| | | return reviceLotteryRecordMapper.deleteByPrimaryKey(id);
|
| | | }
|
| | | |
| | | @Override
|
| | | public int insertSelective(DeviceLotteryRecord record) {
|
| | | return reviceLotteryRecordMapper.insertSelective(record);
|
| | | }
|
| | |
|
| | | @Override
|
| | | public DeviceLotteryRecord selectByPrimaryKey(Long id) {
|
| | | return reviceLotteryRecordMapper.selectByPrimaryKey(id);
|
| | | }
|
| | |
|
| | | @Override
|
| | | public int updateByPrimaryKeySelective(DeviceLotteryRecord record) {
|
| | | return reviceLotteryRecordMapper.updateByPrimaryKeySelective(record);
|
| | | }
|
| | |
|
| | | @Override
|
| | | public int updateByPrimaryKey(DeviceLotteryRecord record) {
|
| | | return reviceLotteryRecordMapper.updateByPrimaryKey(record);
|
| | | }
|
| | |
|
| | | @Override
|
| | | public List<DeviceLotteryRecord> listByPlatformAndDevice(int platform, String device) {
|
| | | return reviceLotteryRecordMapper.listByPlatformAndDevice(platform, device);
|
| | | }
|
| | |
|
| | | }
|
| | | package com.yeshi.fanli.service.impl.user; |
| | | |
| | | import java.util.List; |
| | | |
| | | import javax.annotation.Resource; |
| | | |
| | | import org.springframework.stereotype.Service; |
| | | |
| | | import com.yeshi.fanli.dao.mybatis.user.DeviceLotteryRecordMapper; |
| | | import com.yeshi.fanli.entity.bus.user.DeviceLotteryRecord; |
| | | import com.yeshi.fanli.service.inter.user.DeviceLotteryRecordService; |
| | | |
| | | @Service |
| | | public class DeviceLotteryRecordServiceImpl implements DeviceLotteryRecordService { |
| | | |
| | | @Resource |
| | | private DeviceLotteryRecordMapper reviceLotteryRecordMapper; |
| | | |
| | | |
| | | @Override |
| | | public int deleteByPrimaryKey(Long id) { |
| | | return reviceLotteryRecordMapper.deleteByPrimaryKey(id); |
| | | } |
| | | |
| | | @Override |
| | | public int insertSelective(DeviceLotteryRecord record) { |
| | | return reviceLotteryRecordMapper.insertSelective(record); |
| | | } |
| | | |
| | | @Override |
| | | public DeviceLotteryRecord selectByPrimaryKey(Long id) { |
| | | return reviceLotteryRecordMapper.selectByPrimaryKey(id); |
| | | } |
| | | |
| | | @Override |
| | | public int updateByPrimaryKeySelective(DeviceLotteryRecord record) { |
| | | return reviceLotteryRecordMapper.updateByPrimaryKeySelective(record); |
| | | } |
| | | |
| | | @Override |
| | | public int updateByPrimaryKey(DeviceLotteryRecord record) { |
| | | return reviceLotteryRecordMapper.updateByPrimaryKey(record); |
| | | } |
| | | |
| | | @Override |
| | | public List<DeviceLotteryRecord> listByPlatformAndDevice(int platform, String device) { |
| | | return reviceLotteryRecordMapper.listByPlatformAndDevice(platform, device); |
| | | } |
| | | |
| | | } |