admin
2025-02-25 30d8e227e8d823b6c38c3b9c90ac2df03b63befe
fanli/src/main/java/com/yeshi/fanli/service/impl/user/DeviceLotteryRecordServiceImpl.java
@@ -1,50 +1,50 @@
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);
   }
}