From 9f6dacf7b39e5aeba37d8faf575c9e56d8cbe51a Mon Sep 17 00:00:00 2001 From: czt <czt18638530771@163.com> Date: 星期六, 11 十月 2025 13:35:42 +0800 Subject: [PATCH] 武汉黄陂军粮-质检报告共享接口同步及推送 --- src/main/java/com/fzzy/api/entity/Api1108.java | 23 +++++++++++++---------- 1 files changed, 13 insertions(+), 10 deletions(-) diff --git a/src/main/java/com/fzzy/api/entity/Api1108.java b/src/main/java/com/fzzy/api/entity/Api1108.java index 9b7d610..2a9fb26 100644 --- a/src/main/java/com/fzzy/api/entity/Api1108.java +++ b/src/main/java/com/fzzy/api/entity/Api1108.java @@ -2,13 +2,9 @@ import com.alibaba.fastjson.annotation.JSONField; import com.bstek.dorado.annotation.PropertyDef; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; - import lombok.Data; - import javax.persistence.*; - import java.io.Serializable; import java.util.Date; @@ -39,9 +35,17 @@ @Column(name = "kqdm", length = 21) private String kqdm; + @PropertyDef(label = "缁熶竴搴撳尯缂栫爜") + @Column(name = "tykqbm", length = 22) + private String tykqbm; + @PropertyDef(label = "鍗曚綅浠g爜") @Column(name = "dwdm", length = 18) private String dwdm; + + @PropertyDef(label = "缁熶竴鍗曚綅浠g爜") + @Column(name = "tydwbm", length = 20) + private String tydwbm; @PropertyDef(label = "搴撳尯鍚嶇О") @Column(name = "kqmc", length = 256) @@ -91,14 +95,13 @@ @Column(name = "czclfs", length = 1000) private String czclfs; - @PropertyDef(label = "淇濊川鏈�") - @Column(name = "bzq", length = 20) - @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd", timezone = "GMT+8") - private Date bzq; + @PropertyDef(label = "淇濊川鏈�", description = "鍑犲勾銆佸嚑涓湀绛�") + @Column(name = "bzq", length = 50) + private String bzq; @PropertyDef(label = "閲囪喘鏃ユ湡") @JSONField(format = "yyyy-MM-dd") - @Column(name = "cgrq", nullable = false) + @Column(name = "cgrq") private Date cgrq; @PropertyDef(label = "搴撳瓨鏁伴噺") @@ -115,7 +118,7 @@ @PropertyDef(label = "鏈�鍚庢洿鏂版椂闂�") @JSONField(format = "yyyy-MM-dd HH:mm:ss") - @Column(name = "zhgxsj", nullable = false) + @Column(name = "zhgxsj") private Date zhgxsj; } -- Gitblit v1.9.3