#创建物联网设备模块的三层架构代码+库表的创建(新增几个了)
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
package com.maibu.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.maibu.core.business.IoTCommonDevice;
|
||||
|
||||
/**
|
||||
* @author jsmbz
|
||||
* @description 针对表【iot_device_common(通用设备表)】的数据库操作Mapper
|
||||
* @createDate 2026-05-09 14:38:50
|
||||
* @Entity abbc.domain.IotDeviceCommon
|
||||
*/
|
||||
public interface IotDeviceCommonMapper extends BaseMapper<IoTCommonDevice> {
|
||||
|
||||
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
package com.maibu.service;
|
||||
|
||||
import com.baomidou.mybatisplus.extension.service.IService;
|
||||
import com.maibu.core.business.IoTCommonDevice;
|
||||
|
||||
/**
|
||||
* @author jsmbz
|
||||
* @description 针对表【iot_device_common(通用设备表)】的数据库操作Service
|
||||
* @createDate 2026-05-09 14:38:50
|
||||
*/
|
||||
public interface IotDeviceCommonService extends IService<IoTCommonDevice> {
|
||||
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
package com.maibu.service.impl;
|
||||
|
||||
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
||||
import com.maibu.core.business.IoTCommonDevice;
|
||||
import com.maibu.mapper.IotDeviceCommonMapper;
|
||||
import com.maibu.service.IotDeviceCommonService;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
/**
|
||||
* @author jsmbz
|
||||
* @description 针对表【iot_device_common(通用设备表)】的数据库操作Service实现
|
||||
* @createDate 2026-05-09 14:38:50
|
||||
*/
|
||||
@Service
|
||||
public class IotDeviceCommonServiceImpl extends ServiceImpl<IotDeviceCommonMapper, IoTCommonDevice>
|
||||
implements IotDeviceCommonService {
|
||||
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
Reference in New Issue
Block a user