package com.template.services.impl;

import com.template.mapper.SmartQrcodeMapper;
import com.template.model.pojo.SmartQrcode;
import com.template.mapper.SmartQrcodeMapper;
import com.template.services.SmartQrcodeService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 * 楼栋表 服务实现类
 * </p>
 *
 * @author ceshi
 * @since 2024-01-18
 */
@Service
public class SmartQrcodeServiceImpl extends ServiceImpl<SmartQrcodeMapper, SmartQrcode> implements SmartQrcodeService {

    @Autowired
    private SmartQrcodeMapper smartQrcodeMapper;

    @Override
    public int insertSmartQrcode(SmartQrcode sq) {
        int result = smartQrcodeMapper.insert(sq);
        return result;
    }
}
