From 029de836702607a95ccb0a69a74efcea52ddc451 Mon Sep 17 00:00:00 2001 From: czt <czt18638530771@163.com> Date: 星期四, 25 九月 2025 19:35:38 +0800 Subject: [PATCH] 上海对农数据接口调整2 --- src/main/java/com/fzzy/async/fzzy61/entity/Fz61DrugLogDtl.java | 129 +++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 129 insertions(+), 0 deletions(-) diff --git a/src/main/java/com/fzzy/async/fzzy61/entity/Fz61DrugLogDtl.java b/src/main/java/com/fzzy/async/fzzy61/entity/Fz61DrugLogDtl.java new file mode 100644 index 0000000..10043bd --- /dev/null +++ b/src/main/java/com/fzzy/async/fzzy61/entity/Fz61DrugLogDtl.java @@ -0,0 +1,129 @@ +package com.fzzy.async.fzzy61.entity; + +import com.bstek.dorado.annotation.PropertyDef; +import com.fasterxml.jackson.annotation.JsonFormat; +import lombok.Data; + +import javax.persistence.Column; +import javax.persistence.Entity; +import javax.persistence.Id; +import javax.persistence.Table; +import java.io.Serializable; +import java.util.Date; + +/** + * 瀹炴柦鐔忚捀浣滀笟鐨勫偍绮伯鎯呮槑缁嗚〃 + * + * @Author:YAN + */ +@Entity +@Data +@Table(name = "D_DRUG_LOG_DTL") +public class Fz61DrugLogDtl implements Serializable { + + @Id + @Column(name = "DTL_ID_", length = 40) + @PropertyDef(label = "dtlId") + private String dtlId; + + @Column(name = "DRUG_LOG_ID_", length = 12) + @PropertyDef(label = "鐔忚捀澶囨缂栧彿", description = "濉姤鏃ユ湡yyyyMMdd+4浣嶉『搴忓彿") + private String drugLogId; + + @Column(name = "DEPOT_ID_", length = 50) + @PropertyDef(label = "浠撴埧/娌圭綈浠g爜") + private String depotId; + + @Column(name = "FOOD_VARIETY_", length = 20) + @PropertyDef(label = "绮鍝佺") + private String foodVariety; + + @Column(name = "FOOD_TYPE_", length = 20) + @PropertyDef(label = "绮鎬ц川") + private String foodType; + + @Column(name = "FOOD_LEVEL_", length = 10) + @PropertyDef(label = "绮绛夌骇") + private String foodLevel; + + @Column(name = "NUMBER_", precision = 20, scale = 3) + @PropertyDef(label = "绮鏁伴噺", description = "鍗曚綅锛氬惃") + private Double number = 0.0; + + @Column(name = "PER_WET_", precision = 20, scale = 3) + @PropertyDef(label = "姘村垎", description = "鍗曚綅锛�%") + private Double perWet; + + @Column(name = "PER_IMPURITY_", precision = 20, scale = 3) + @PropertyDef(label = "鏉傝川", description = "鍗曚綅锛�%") + private Double perImpurity; + + @Column(name = "lw", precision = 20, scale = 3) + @PropertyDef(label = "绮俯") + private Double lw; + + @Column(name = "cw", precision = 20, scale = 3) + @PropertyDef(label = "浠撴俯") + private Double cw; + + @Column(name = "cnsd", precision = 20, scale = 3) + @PropertyDef(label = "浠撳唴婀垮害") + private Double cnsd; + + @Column(name = "clfs", length = 1) + @PropertyDef(label = "瀛樼伯鏂瑰紡", description = "1锛氭暎瑁呭偍绮�;2锛氬寘瑁�;3锛氬洿鍖呮暎瀛�;9锛氬叾浠�") + private String clfs; + + @Column(name = "rkrq") + @PropertyDef(label = "鍏ュ簱鏃ユ湡") + @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd", timezone = "GMT+8") + private Date rkrq; + + @Column(name = "hc", length = 30) + @PropertyDef(label = "瀹宠櫕") + private String hc; + + @Column(name = "cldjpd", length = 3) + @PropertyDef(label = "铏伯绛夌骇鍒ゅ畾") + private String cldjpd; + + @Column(name = "ldtj", precision = 20, scale = 3) + @PropertyDef(label = "绮爢浣撶Н", description = "m鲁") + private Double ldtj; + + @Column(name = "kjtj", precision = 20, scale = 3) + @PropertyDef(label = "绌洪棿浣撶Н", description = "m鲁") + private Double kjtj; + + @Column(name = "lddwyyl", precision = 20, scale = 3) + @PropertyDef(label = "绮爢鍗曚綅鐢ㄨ嵂閲�") + private Double lddwyyl; + + @Column(name = "kjdwyyl", precision = 20, scale = 3) + @PropertyDef(label = "绌洪棿鍗曚綅鐢ㄨ嵂閲�") + private Double kjdwyyl; + + @Column(name = "zyyl", precision = 20, scale = 3) + @PropertyDef(label = "鎬荤敤鑽噺") + private Double zyyl; + /** + * 浠撴埧姘斿瘑鎬т互 500 Pa 鐨勫帇鍔涘崐琛� 鏈� t 鍒嗕负鍥涗釜绛夌骇銆� + * 1锛� 鈪犵骇锛宼鈮�300s銆� + * 2锛� 鈪$骇锛�120s鈮<300s銆� + * 3锛氣參绾э紝40s鈮<120s (骞虫埧浠�) 锛� 60s鈮� t<120s (绔嬬瓛浠撱�佹祬鍦嗕粨) 銆� 4锛氣叄绾э紝t<40s (骞虫埧浠�) 锛宼<60s (绔嬬瓛浠撱�佹祬鍦嗕粨) 銆� + */ + @Column(name = "qmx", length = 1) + @PropertyDef(label = "姘斿瘑鎬�") + private String qmx; + + @Column(name = "jhxzksrq") + @PropertyDef(label = "璁″垝鐔忚捀寮�濮嬫棩鏈�") + @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd", timezone = "GMT+8") + private Date jhxzksrq; + + @Column(name = "jhxzjsrq") + @PropertyDef(label = "璁″垝鐔忚捀缁撴潫鏃ユ湡") + @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd", timezone = "GMT+8") + private Date jhxzjsrq; + +} -- Gitblit v1.9.3