diff --git a/smart-switch-service/src/main/java/com/ruoyi/ss/device/domain/vo/DeviceVO.java b/smart-switch-service/src/main/java/com/ruoyi/ss/device/domain/vo/DeviceVO.java index ac69cd0c..7417af20 100644 --- a/smart-switch-service/src/main/java/com/ruoyi/ss/device/domain/vo/DeviceVO.java +++ b/smart-switch-service/src/main/java/com/ruoyi/ss/device/domain/vo/DeviceVO.java @@ -34,6 +34,10 @@ public class DeviceVO extends Device implements IotDevice { @ApiModelProperty("型号") private String model; + @ApiModelProperty("型号芯片厂商") + @JsonView({DeviceView.SuitList.class, JsonViewProfile.App.class}) + private String modelChip; + @ApiModelProperty("所属用户名称") @JsonView(DeviceView.SuitList.class) private String userName; diff --git a/smart-switch-service/src/main/java/com/ruoyi/ss/device/mapper/DeviceMapper.xml b/smart-switch-service/src/main/java/com/ruoyi/ss/device/mapper/DeviceMapper.xml index 60393ae0..4bacf109 100644 --- a/smart-switch-service/src/main/java/com/ruoyi/ss/device/mapper/DeviceMapper.xml +++ b/smart-switch-service/src/main/java/com/ruoyi/ss/device/mapper/DeviceMapper.xml @@ -80,6 +80,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" sm.tags as model_tags, sm.product_id as model_product_id, sm.app_ids as model_app_ids, + sm.chip as model_chip, ss.name as store_name, ss.contact_name as store_contact_name, ss.contact_mobile as store_contact_mobile, @@ -764,7 +765,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" - +