干燥机配套车间生产管理系统/云平台服务端
baoshiwei
2025-11-28 567096dae7f467d04883f11b17f667b6cef5f536
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();
    }
}