MqttsDeviceActionServiceImpl.java 3.0 KB
Newer Older
1 2
package net.mqtts.link.service.device.impl;

很久是多久's avatar
很久是多久 已提交
3
import net.mqtts.link.api.domain.MqttsDeviceAction;
4 5 6 7 8 9 10 11
import net.mqtts.link.mapper.device.MqttsDeviceActionMapper;
import net.mqtts.link.service.device.MqttsDeviceActionService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
很久是多久's avatar
很久是多久 已提交
12 13 14 15 16 17 18 19 20 21
 * @Description: java类作用描述
 * @Author: ShiHuan Sun
 * @E-mail: 13733918655@163.com
 * @Website: http://mqtts.net
 * @CreateDate: 2021/11/18$ 9:41$
 * @UpdateUser: ShiHuan Sun
 * @UpdateDate: 2021/11/18$ 9:41$
 * @UpdateRemark: 修改内容
 * @Version: 1.0
 */
22
@Service
很久是多久's avatar
很久是多久 已提交
23
public class MqttsDeviceActionServiceImpl implements MqttsDeviceActionService {
24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57

    @Resource
    private MqttsDeviceActionMapper mqttsDeviceActionMapper;

    @Override
    public int deleteByPrimaryKey(Long id) {
        return mqttsDeviceActionMapper.deleteByPrimaryKey(id);
    }

    @Override
    public int insert(MqttsDeviceAction record) {
        return mqttsDeviceActionMapper.insert(record);
    }

    @Override
    public int insertOrUpdate(MqttsDeviceAction record) {
        return mqttsDeviceActionMapper.insertOrUpdate(record);
    }

    @Override
    public int insertOrUpdateSelective(MqttsDeviceAction record) {
        return mqttsDeviceActionMapper.insertOrUpdateSelective(record);
    }

    @Override
    public int insertOrUpdateWithBLOBs(MqttsDeviceAction record) {
        return mqttsDeviceActionMapper.insertOrUpdateWithBLOBs(record);
    }

    @Override
    public int insertSelective(MqttsDeviceAction record) {
        return mqttsDeviceActionMapper.insertSelective(record);
    }

很久是多久's avatar
很久是多久 已提交
58 59 60 61 62
    @Override
    public List<MqttsDeviceAction> selectMqttsDeviceActionList(MqttsDeviceAction record) {
        return mqttsDeviceActionMapper.selectMqttsDeviceActionList(record);
    }

63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97
    @Override
    public MqttsDeviceAction selectByPrimaryKey(Long id) {
        return mqttsDeviceActionMapper.selectByPrimaryKey(id);
    }

    @Override
    public int updateByPrimaryKeySelective(MqttsDeviceAction record) {
        return mqttsDeviceActionMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateByPrimaryKeyWithBLOBs(MqttsDeviceAction record) {
        return mqttsDeviceActionMapper.updateByPrimaryKeyWithBLOBs(record);
    }

    @Override
    public int updateByPrimaryKey(MqttsDeviceAction record) {
        return mqttsDeviceActionMapper.updateByPrimaryKey(record);
    }

    @Override
    public int updateBatch(List<MqttsDeviceAction> list) {
        return mqttsDeviceActionMapper.updateBatch(list);
    }

    @Override
    public int updateBatchSelective(List<MqttsDeviceAction> list) {
        return mqttsDeviceActionMapper.updateBatchSelective(list);
    }

    @Override
    public int batchInsert(List<MqttsDeviceAction> list) {
        return mqttsDeviceActionMapper.batchInsert(list);
    }

很久是多久's avatar
很久是多久 已提交
98 99 100 101 102
    @Override
    public int deleteMqttsDeviceActionByIds(Long[] ids) {
        return mqttsDeviceActionMapper.deleteMqttsDeviceActionByIds(ids);
    }

103
}