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/Api1507.java | 108 +++++++++++++++++++++++++++-------------------------- 1 files changed, 55 insertions(+), 53 deletions(-) diff --git a/src/main/java/com/fzzy/api/entity/Api1507.java b/src/main/java/com/fzzy/api/entity/Api1507.java index 03b166e..633bbd3 100644 --- a/src/main/java/com/fzzy/api/entity/Api1507.java +++ b/src/main/java/com/fzzy/api/entity/Api1507.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,109 +29,113 @@ * 閫氳繃鎺ュ彛鑾峰彇鐨勫崟浣嶈处濂楀悗锛屽湪灞�绔嚜鍔ㄤ骇鐢熻处濂楀彿 */ @Id + @Column(name = "ID_", precision = 18) @JSONField(serialize = false) + private String id; + @PropertyDef(label = "璐﹀鍙�") - @Column(name = "nAcctId", length = 9) - private Double nAcctId; + @Column(name = "nacctid", length = 23) + private String nacctid; @PropertyDef(label = "鍑瘉绫诲瀷") - @Column(name = "cVKind", length = 9) - private String cVKind; + @Column(name = "cvkind", length = 9) + private String cvkind; @PropertyDef(label = "鏈熼棿") - @Column(name = "cMon", length = 3) - private Double cMon; + @Column(name = "cmon") + private Integer cmon; @PropertyDef(label = "骞村害") - @Column(name = "cYear", length = 4) - private Double cYear; + @Column(name = "cyear") + private Integer cyear; @PropertyDef(label = "鍑瘉鍙�") - @Column(name = "nVNo", length = 9) - private Double nVNo; + @Column(name = "nvno") + private Integer nvno; @PropertyDef(label = "鍒嗗綍搴忓彿") - @Column(name = "nNo", precision = 9) - private Double nNo; + @Column(name = "nno") + private Integer nno; @PropertyDef(label = "鍑瘉鍒嗙被") - @Column(name = "bTmp", precision = 3) - private Double bTmp; + @Column(name = "btmp") + private Integer btmp; @PropertyDef(label = "鎽樿") - @Column(name = "Digest", length = 256) - private String Digest; + @Column(name = "digest", length = 512) + private String digest; @PropertyDef(label = "绉戠洰缂栫爜") - @Column(name = "cCode", length = 80) - private Double cCode; + @Column(name = "ccode", length = 80) + private String ccode; @JSONField(format = "yyyy-MM-dd") @PropertyDef(label = "鍑瘉鏃ユ湡") - @Column(name = "cVSmallDatetime", length = 10) - private String cVSmallDatetime; + @Column(name = "ccsmalldatetime", length = 10) + private Date ccsmalldatetime; @PropertyDef(label = "鍒跺崟浜�") - @Column(name = "cMaker", length = 32) - private String cMaker; + @Column(name = "cmaker", length = 32) + private String cmaker; /** * 1:鍊熸柟 * -1:璐锋柟 */ @PropertyDef(label = "鏂瑰悜") - @Column(name = "cDc", precision = 3) - private String cDc; + @Column(name = "cdc") + private Integer cdc; @PropertyDef(label = "瀹℃牳浜�") - @Column(name = "cCkEr", length = 32) - private String cCkEr; + @Column(name = "ccker", length = 32) + private String ccker; @PropertyDef(label = "璁拌处浜�") - @Column(name = "cPtEr", length = 32) - private String cPtEr; + @Column(name = "cpter", length = 32) + private String cpter; /** * 0:鍚� * 1:鏄� */ @PropertyDef(label = "璁拌处鏍囧織") - @Column(name = "bPt", precision = 3) - private Double bPt; + @Column(name = "bpt") + private Integer bpt; @PropertyDef(label = "闄勪欢寮犳暟") - @Column(name = "nANum", precision = 9) - private Double nANum; + @Column(name = "nanum") + private Integer nanum; @PropertyDef(label = "閲戦") - @Column(name = "nM", precision = 20, scale = 4) - private Double nM; + @Column(name = "nm", precision = 20, scale = 4) + private Double nm; @PropertyDef(label = "鏁伴噺") - @Column(name = "nQty", precision = 20, scale = 4) - private Double nQty; + @Column(name = "nqty", precision = 20, scale = 4) + private Double nqty; @PropertyDef(label = "鍗曚环") - @Column(name = "nPrice", precision = 20, scale = 4) - private Double nPrice; + @Column(name = "nprice", precision = 20, scale = 4) + private Double nprice; - @PropertyDef(label = "缁撶畻鍙�") - @Column(name = "cSettleNo", length = 40) - private String cSettleNo; @PropertyDef(label = "鍑虹撼") - @Column(name = "cCashier", length = 32) - private String cCashier; + @Column(name = "ccashier", length = 32) + private String ccashier; @PropertyDef(label = "姹囩巼") - @Column(name = "rate", precision = 20, scale = 4) + @Column(name = "rate", precision = 20, scale = 4) private Double rate; @PropertyDef(label = "澶栧竵閲戦") - @Column(name = "nFm", precision = 20, scale = 4) - private Double nFm; + @Column(name = "nfm", precision = 20, scale = 4) + private Double nfm; - @PropertyDef(label = "璁¢噺鍗曚綅",description = "璁¢噺鍗曚綅姹夊瓧") - @Column(name = "meterUnitId", length = 32) - private String meterUnitId; + @PropertyDef(label = "璁¢噺鍗曚綅", description = "璁¢噺鍗曚綅姹夊瓧") + @Column(name = "meterunitid", length = 32) + private String meterunitid; + + @PropertyDef(label = "缁熶竴搴撳尯缂栫爜") + @Column(name = "tykqbm", length = 22) + private String tykqbm; @PropertyDef(label = "鎿嶄綔鏍囧織") @Column(name = "czbz", length = 1) -- Gitblit v1.9.3