From 567096dae7f467d04883f11b17f667b6cef5f536 Mon Sep 17 00:00:00 2001
From: baoshiwei <baoshiwei@shlanbao.cn>
Date: 星期五, 28 十一月 2025 10:35:18 +0800
Subject: [PATCH] feat(dry): 新增干燥配方上传功能
---
jeecg-module-dry/jeecg-module-dry-api/src/main/java/org/jeecg/modules/dry/entity/DryHerbFormula.java | 20 ++++++++++++++++++++
1 files changed, 20 insertions(+), 0 deletions(-)
diff --git a/jeecg-module-dry/jeecg-module-dry-api/src/main/java/org/jeecg/modules/dry/entity/DryHerbFormula.java b/jeecg-module-dry/jeecg-module-dry-api/src/main/java/org/jeecg/modules/dry/entity/DryHerbFormula.java
index 14ebc66..b0483e9 100755
--- a/jeecg-module-dry/jeecg-module-dry-api/src/main/java/org/jeecg/modules/dry/entity/DryHerbFormula.java
+++ b/jeecg-module-dry/jeecg-module-dry-api/src/main/java/org/jeecg/modules/dry/entity/DryHerbFormula.java
@@ -8,6 +8,8 @@
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
+import org.jeecg.modules.dry.Bo.HerbFormulaBo;
+import org.jeecg.modules.dry.vo.HerbFormulaVo;
import org.jeecg.modules.dry.vo.RealTimeDataVo;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
@@ -167,4 +169,22 @@
this.et = realTimeDataVo.getTime1();
this.tenantId = realTimeDataVo.getTenantid();
}
+
+ public DryHerbFormula(HerbFormulaBo formulaBo) {
+ this.eqpType = formulaBo.getEqpType();
+ this.name = formulaBo.getName();
+ this.abbr = formulaBo.getAbbr();
+ this.special = formulaBo.getSpecial();
+ this.light = formulaBo.getLight();
+ this.initial = formulaBo.getInitial();
+ this.target = formulaBo.getTarget();
+ this.feed = formulaBo.getFeed();
+ this.et = formulaBo.getEt();
+ this.windTemp = formulaBo.getWindTemp();
+ this.fanSpeed = formulaBo.getFanSpeed();
+ this.strategy = formulaBo.getStrategy();
+ this.coolingDuration = formulaBo.getCoolingDuration();
+ this.enabled = formulaBo.getEnabled();
+
+ }
}
--
Gitblit v1.9.3