干燥机配套车间生产管理系统/云平台服务端
baoshiwei
2023-03-27 88880cf067bf4d3aacdf9ba70353b731888cf9fe
jeecg-module-dry/jeecg-module-dry-api/src/main/java/org/jeecg/modules/dry/entity/DryEquipment.java
@@ -10,6 +10,7 @@
import com.baomidou.mybatisplus.annotation.TableLogic;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.jeecg.modules.dry.vo.RealTimeDataVo;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
@@ -82,4 +83,11 @@
   @Excel(name = "租户id", width = 15)
    @ApiModelProperty(value = "租户id")
    private Integer tenantId;
    public DryEquipment() {
    }
    public DryEquipment(RealTimeDataVo realTimeDataVo) {
        this.code = realTimeDataVo.getMachineid();
        this.tenantId = realTimeDataVo.getTenantid();
    }
}