【代码评审】IoT:评审 thinkmodel 的实现
This commit is contained in:
parent
0ce665ea27
commit
0245aac530
|
@ -6,6 +6,7 @@ import lombok.Getter;
|
||||||
|
|
||||||
import java.util.Arrays;
|
import java.util.Arrays;
|
||||||
|
|
||||||
|
// TODO @芋艿:纠结下,到底叫 thinkmodel 好,还是 function 好
|
||||||
/**
|
/**
|
||||||
* IOT 产品功能(物模型)类型枚举类
|
* IOT 产品功能(物模型)类型枚举类
|
||||||
*
|
*
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
// TODO @puhui999:productthingmodel 是不是不要这层包了
|
||||||
package cn.iocoder.yudao.module.iot.controller.admin.productthingmodel.thingmodel.dataType;
|
package cn.iocoder.yudao.module.iot.controller.admin.productthingmodel.thingmodel.dataType;
|
||||||
|
|
||||||
import lombok.Data;
|
import lombok.Data;
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
package cn.iocoder.yudao.module.iot.controller.admin.productthingmodel.thingmodel.dataType;
|
package cn.iocoder.yudao.module.iot.controller.admin.productthingmodel.thingmodel.dataType;
|
||||||
|
|
||||||
import cn.iocoder.yudao.module.iot.controller.admin.productthingmodel.thingmodel.ThingModelProperty;
|
|
||||||
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
|
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
|
||||||
import lombok.Data;
|
import lombok.Data;
|
||||||
import lombok.EqualsAndHashCode;
|
import lombok.EqualsAndHashCode;
|
||||||
|
|
|
@ -3,6 +3,7 @@ package cn.iocoder.yudao.module.iot.convert.device;
|
||||||
import org.mapstruct.Mapper;
|
import org.mapstruct.Mapper;
|
||||||
import org.mapstruct.factory.Mappers;
|
import org.mapstruct.factory.Mappers;
|
||||||
|
|
||||||
|
// TODO 是否要删除?
|
||||||
@Mapper
|
@Mapper
|
||||||
public interface IotDeviceDataConvert {
|
public interface IotDeviceDataConvert {
|
||||||
|
|
||||||
|
|
|
@ -23,7 +23,6 @@ public interface IotProductThingModelService {
|
||||||
*/
|
*/
|
||||||
Long createProductThingModel(@Valid IotProductThingModelSaveReqVO createReqVO);
|
Long createProductThingModel(@Valid IotProductThingModelSaveReqVO createReqVO);
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 更新产品物模型
|
* 更新产品物模型
|
||||||
*
|
*
|
||||||
|
|
Loading…
Reference in New Issue