From 88880cf067bf4d3aacdf9ba70353b731888cf9fe Mon Sep 17 00:00:00 2001 From: baoshiwei <baoshiwei@shlanbao.cn> Date: 星期一, 27 三月 2023 10:57:30 +0800 Subject: [PATCH] 实时数据接口与移动端接口 --- jeecg-module-dry/jeecg-module-dry-api/src/main/java/org/jeecg/modules/dry/entity/DryOrder.java | 41 ++++++++++++++++++++++++++++++++++++----- 1 files changed, 36 insertions(+), 5 deletions(-) diff --git a/jeecg-module-dry/jeecg-module-dry-api/src/main/java/org/jeecg/modules/dry/entity/DryOrder.java b/jeecg-module-dry/jeecg-module-dry-api/src/main/java/org/jeecg/modules/dry/entity/DryOrder.java index 527fc59..29c3e0b 100644 --- a/jeecg-module-dry/jeecg-module-dry-api/src/main/java/org/jeecg/modules/dry/entity/DryOrder.java +++ b/jeecg-module-dry/jeecg-module-dry-api/src/main/java/org/jeecg/modules/dry/entity/DryOrder.java @@ -8,6 +8,7 @@ import com.baomidou.mybatisplus.annotation.TableName; import lombok.Data; import com.fasterxml.jackson.annotation.JsonFormat; +import lombok.ToString; import org.springframework.format.annotation.DateTimeFormat; import org.jeecgframework.poi.excel.annotation.Excel; import org.jeecg.common.aspect.annotation.Dict; @@ -23,6 +24,7 @@ * @Version: V1.0 */ @Data +@ToString @TableName("dry_order") @Accessors(chain = true) @EqualsAndHashCode(callSuper = false) @@ -35,9 +37,9 @@ @ApiModelProperty(value = "id") private String id; /**宸ュ崟鏃堕棿*/ - @Excel(name = "宸ュ崟鏃堕棿", width = 15, format = "yyyy-MM-dd") - @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd") - @DateTimeFormat(pattern="yyyy-MM-dd") + @Excel(name = "宸ュ崟鏃堕棿", width = 15, format = "yyyy-MM-dd HH:mm:ss") + @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss") + @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss") @ApiModelProperty(value = "宸ュ崟鏃堕棿") private Date orderTime; /**宸ュ崟鍙�*/ @@ -49,6 +51,9 @@ @Dict(dictTable = "dry_herb", dicText = "name", dicCode = "id") @ApiModelProperty(value = "鑽潗") private String herbId; + /**鑽潗*/ + @ApiModelProperty(value = "鑽潗鍚嶇О") + private String herbName; /**鍒濆鍚按鐜�*/ @Excel(name = "鍒濆鍚按鐜�", width = 15) @ApiModelProperty(value = "鍒濆鍚按鐜�") @@ -60,7 +65,11 @@ /**鎶曟枡閲�*/ @Excel(name = "鎶曟枡閲�", width = 15) @ApiModelProperty(value = "鎶曟枡閲�") - private Double feed; + private Integer feed; + /**鍒濆閲嶉噺*/ + @Excel(name = "鍒濆閲嶉噺", width = 15) + @ApiModelProperty(value = "鍒濆閲嶉噺") + private Double originWeight; /**棰勮骞茬嚗鏃堕棿*/ @Excel(name = "棰勮骞茬嚗鏃堕棿", width = 15) @ApiModelProperty(value = "棰勮骞茬嚗鏃堕棿") @@ -72,7 +81,27 @@ /**骞茬嚗鏃堕棿*/ @Excel(name = "骞茬嚗鏃堕棿", width = 15) @ApiModelProperty(value = "骞茬嚗鏃堕棿") - private Integer drying; + private Integer dryTime; + /**鐑娓╁害*/ + @Excel(name = "鐑娓╁害", width = 15) + @ApiModelProperty(value = "鐑娓╁害") + private Double windTemp; + /**鐜娓╁害*/ + @Excel(name = "鐜娓╁害", width = 15) + @ApiModelProperty(value = "鐜娓╁害") + private Double envTemp; + /**鐜婀垮害*/ + @Excel(name = "鐜婀垮害", width = 15) + @ApiModelProperty(value = "鐜婀垮害") + private Double envHum; + /**鑽℃枡寤舵椂ms*/ + @Excel(name = "鑽℃枡寤舵椂ms", width = 15) + @ApiModelProperty(value = "鑽℃枡寤舵椂ms") + private Integer delay; + /**缈绘枡娆℃暟*/ + @Excel(name = "缈绘枡娆℃暟", width = 15) + @ApiModelProperty(value = "缈绘枡娆℃暟") + private Integer turn; /**棰勮鍓╀綑鏃堕棿*/ @Excel(name = "棰勮鍓╀綑鏃堕棿", width = 15) @ApiModelProperty(value = "棰勮鍓╀綑鏃堕棿") @@ -116,4 +145,6 @@ @Dict(dictTable = "sys_user", dicText = "realname", dicCode = "id") @ApiModelProperty(value = "鎿嶄綔浜�") private String operator; + + private String temps; } -- Gitblit v1.9.3