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/Api1508.java | 57 +++++++++++++++++++++++++++++++-------------------------- 1 files changed, 31 insertions(+), 26 deletions(-) diff --git a/src/main/java/com/fzzy/api/entity/Api1508.java b/src/main/java/com/fzzy/api/entity/Api1508.java index a181c7d..cef5fd2 100644 --- a/src/main/java/com/fzzy/api/entity/Api1508.java +++ b/src/main/java/com/fzzy/api/entity/Api1508.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,54 +29,61 @@ * 閫氳繃鎺ュ彛鑾峰彇鐨勫崟浣嶈处濂楀悗锛屽湪灞�绔嚜鍔ㄤ骇鐢熻处濂楀彿 */ @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 = 10) - private String cVKind; + @Column(name = "cvkind",length = 10) + 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 = "cCode", length = 80) - private String cCode; + @Column(name = "ccode", length = 80) + private String ccode; @PropertyDef(label = "瀵规柟绉戠洰缂栫爜") - @Column(name = "cDFCode", length = 80) - private String cDFCode; + @Column(name = "cdfcode", length = 80) + private String cdfcode; @PropertyDef(label = "鐜伴噾娴侀噺椤圭洰浠g爜") - @Column(name = "cCashCode", length = 80) - private String cCashCode; + @Column(name = "ccashcode", length = 80) + private String ccashcode; @PropertyDef(label = "鍒嗗綍搴忓彿") - @Column(name = "nNo", precision = 9) - private Double nNo; + @Column(name = "nrowno") + private Integer nrowno; @PropertyDef(label = "閲戦") - @Column(name = "nM", precision = 20,scale = 4) - private Double nM; + @Column(name = "nm", precision = 20,scale = 4) + private Double nm; /** * 1:娴佸叆 * -1:娴佸嚭 */ @PropertyDef(label = "鏂瑰悜") - @Column(name = "cDc", length = 3) - private String cDc; + @Column(name = "cdc") + private Integer cdc; + + @PropertyDef(label = "缁熶竴搴撳尯缂栫爜") + @Column(name = "tykqbm", length = 22) + private String tykqbm; @PropertyDef(label = "鎿嶄綔鏍囧織") -- Gitblit v1.9.3