#厂家模块init
This commit is contained in:
@@ -13,9 +13,10 @@ import lombok.EqualsAndHashCode;
|
||||
import java.util.Map;
|
||||
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@JsonInclude(JsonInclude.Include.NON_NULL)
|
||||
//@JsonInclude(JsonInclude.Include.NON_NULL)
|
||||
@Data
|
||||
@TableName("iot_device_action")
|
||||
@TableName(value = "iot_device_action", autoResultMap = true)
|
||||
@JsonInclude(JsonInclude.Include.ALWAYS) // 加这一行
|
||||
public class DeviceAction extends BaseDO {
|
||||
|
||||
@TableId(type = IdType.AUTO)
|
||||
|
||||
@@ -11,6 +11,10 @@ public enum ConnectType {
|
||||
|
||||
MQTT,
|
||||
|
||||
ONVIF,
|
||||
|
||||
RTSP,
|
||||
|
||||
HTTP;
|
||||
|
||||
}
|
||||
|
||||
@@ -0,0 +1,17 @@
|
||||
package com.maibu.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.maibu.core.business.ProductInterface;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
/**
|
||||
* @author jsmbz
|
||||
* @description 针对表【device_product_interface(产品接口表)】的数据库操作Mapper
|
||||
* @createDate 2026-05-08 15:37:53
|
||||
* @Entity abbc.domain.DeviceProductInterface
|
||||
*/
|
||||
@Mapper
|
||||
public interface DeviceProductInterfaceMapper extends BaseMapper<ProductInterface> {
|
||||
|
||||
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
package com.maibu.service;
|
||||
|
||||
import com.baomidou.mybatisplus.extension.service.IService;
|
||||
import com.maibu.core.business.ProductInterface;
|
||||
|
||||
/**
|
||||
* @author jsmbz
|
||||
* @description 针对表【device_product_interface(产品接口表)】的数据库操作Service
|
||||
* @createDate 2026-05-08 15:37:53
|
||||
*/
|
||||
public interface DeviceProductInterfaceService extends IService<ProductInterface> {
|
||||
|
||||
}
|
||||
@@ -21,4 +21,6 @@ public interface DeviceProductService extends IService<Product> {
|
||||
* 根据编码查询产品
|
||||
*/
|
||||
Product selectByCode(String code);
|
||||
|
||||
|
||||
}
|
||||
|
||||
@@ -0,0 +1,18 @@
|
||||
package com.maibu.service.impl;
|
||||
|
||||
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
||||
import com.maibu.core.business.ProductInterface;
|
||||
import com.maibu.mapper.DeviceProductInterfaceMapper;
|
||||
import com.maibu.service.DeviceProductInterfaceService;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
/**
|
||||
* @author jsmbz
|
||||
* @description 针对表【device_product_interface(产品接口表)】的数据库操作Service实现
|
||||
* @createDate 2026-05-08 15:37:53
|
||||
*/
|
||||
@Service
|
||||
public class DeviceProductInterfaceServiceImpl extends ServiceImpl<DeviceProductInterfaceMapper, ProductInterface>
|
||||
implements DeviceProductInterfaceService {
|
||||
|
||||
}
|
||||
@@ -1 +1 @@
|
||||
package com.maibu.service.impl;
|
||||
package com.maibu.service.impl;
|
||||
File diff suppressed because one or more lines are too long
@@ -0,0 +1 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
Reference in New Issue
Block a user