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/Api1505.java | 77 ++++++++++++++++++++------------------ 1 files changed, 41 insertions(+), 36 deletions(-) diff --git a/src/main/java/com/fzzy/api/entity/Api1505.java b/src/main/java/com/fzzy/api/entity/Api1505.java index cad095d..7852191 100644 --- a/src/main/java/com/fzzy/api/entity/Api1505.java +++ b/src/main/java/com/fzzy/api/entity/Api1505.java @@ -2,13 +2,11 @@ import com.alibaba.fastjson.annotation.JSONField; import com.bstek.dorado.annotation.PropertyDef; +import com.fasterxml.jackson.annotation.JsonProperty; import lombok.Data; import lombok.EqualsAndHashCode; -import javax.persistence.Column; -import javax.persistence.Entity; -import javax.persistence.Id; -import javax.persistence.Table; +import javax.persistence.*; import java.io.Serializable; import java.util.Date; @@ -31,27 +29,30 @@ * 閫氳繃鎺ュ彛鑾峰彇鐨勫崟浣嶈处濂楀悗锛屽湪灞�绔嚜鍔ㄤ骇鐢熻处濂楀彿 */ @Id + @Column(name = "ID_", precision = 110) @JSONField(serialize = false) - @PropertyDef(label = "璐﹀鍙�") - @Column(name = "nAcctId", length = 9) - private Double nAcctId; + private String id; - @JSONField(serialize = false) + @PropertyDef(label = "璐﹀鍙�") + @Column(name = "nacctid", length = 23) + private String nacctid; + + @PropertyDef(label = "骞村害") - @Column(name = "cYear", length = 4) - private String cYear; + @Column(name = "cyear") + private Integer cyear; @PropertyDef(label = "绉戠洰缂栫爜") - @Column(name = "cCode", length = 80) - private String cCode; + @Column(name = "ccode", length = 80) + private String ccode; @PropertyDef(label = "绉戠洰鍚嶇О") - @Column(name = "cName", length = 256) - private String cName; + @Column(name = "cname", length = 256) + private String cname; @PropertyDef(label = "绉戠洰鍏ㄧО") - @Column(name = "cAllName", length = 65536) - private String cAllName; + @Column(name = "callname", length = 65536) + private String callname; /** * 1:璧勪骇绫� @@ -62,46 +63,50 @@ * 6:鎹熺泭绫� */ @PropertyDef(label = "绉戠洰绫诲埆") - @Column(name = "nClass", length = 9) - private String nClass; + @Column(name = "nclass", length = 9) + private String nclass; /** * (-1)-璐锋柟锛�1-鍊熸柟 */ @PropertyDef(label = "浣欓鏂瑰悜") - @Column(name = "cDc", length = 3) - private String cDc; + @Column(name = "cdc") + private Integer cdc; @PropertyDef(label = "鏈骇绉戠洰") - @Column(name = "bL") - private String bL; + @Column(name = "bl") + private Integer bl; @PropertyDef(label = "绉戠洰绾ф") - @Column(name = "nGrade", length = 8) - private Double nGrade; + @Column(name = "ngrade") + private Integer ngrade; @PropertyDef(label = "鏁伴噺绉戠洰") - @Column(name = "bQ") - private String bQ; + @Column(name = "bq") + private Integer bq; @PropertyDef(label = "鏁伴噺鍗曚綅") - @Column(name = "cQUnit") - private String cQUnit; + @Column(name = "cqunit") + private Integer cqunit; @PropertyDef(label = "鐜伴噾绫荤鐩�") - @Column(name = "bCash") - private String bCash; + @Column(name = "bcash") + private Integer bcash; @PropertyDef(label = "閾惰绫荤鐩�") - @Column(name = "bBank") - private String bBank; + @Column(name = "bbank") + private Integer bbank; @PropertyDef(label = "鐜伴噾娴侀噺绫荤鐩�") - @Column(name = "bXjll") - private String bXjll; + @Column(name = "bxjll") + private Integer bxjll; @PropertyDef(label = "鍐荤粨") - @Column(name = "bF") - private String bF; + @Column(name = "bf") + private Integer bf; + + @PropertyDef(label = "缁熶竴搴撳尯缂栫爜") + @Column(name = "tykqbm", length = 22) + private String tykqbm; @PropertyDef(label = "鎿嶄綔鏍囧織") @Column(name = "czbz", length = 1) -- Gitblit v1.9.3