From b4b962e1ca05abd8bfc63c80f1adc3df5cfa1a24 Mon Sep 17 00:00:00 2001 From: bsw215583320 <baoshiwei121@163.com> Date: 星期一, 26 六月 2023 13:00:06 +0800 Subject: [PATCH] 增加电能和蒸汽消耗,完善工单机器状态 --- jeecg-module-dry/jeecg-module-dry-api/src/main/java/org/jeecg/modules/dry/entity/DryEquipment.java | 8 ++++++++ 1 files changed, 8 insertions(+), 0 deletions(-) diff --git a/jeecg-module-dry/jeecg-module-dry-api/src/main/java/org/jeecg/modules/dry/entity/DryEquipment.java b/jeecg-module-dry/jeecg-module-dry-api/src/main/java/org/jeecg/modules/dry/entity/DryEquipment.java index 7b318b9..3c1f6b6 100644 --- a/jeecg-module-dry/jeecg-module-dry-api/src/main/java/org/jeecg/modules/dry/entity/DryEquipment.java +++ b/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(); + } } -- Gitblit v1.9.3