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/Api1209.java | 120 +++++++++++++++++++++++++++++++++++++---------------------- 1 files changed, 75 insertions(+), 45 deletions(-) diff --git a/src/main/java/com/fzzy/api/entity/Api1209.java b/src/main/java/com/fzzy/api/entity/Api1209.java index 8b6e965..4319be7 100644 --- a/src/main/java/com/fzzy/api/entity/Api1209.java +++ b/src/main/java/com/fzzy/api/entity/Api1209.java @@ -12,6 +12,7 @@ import javax.persistence.Table; import java.io.Serializable; +import java.math.BigDecimal; import java.util.Date; /** @@ -24,111 +25,140 @@ public class Api1209 extends ApiParent implements Serializable { /** - * - */ - private static final long serialVersionUID = -8920645721282111145L; - - - public static String SORT_PROP = "sydh"; - + * + */ + private static final long serialVersionUID = -8920645721282111145L; - @Id - @PropertyDef(label = "鎹熸孩鍗曞彿" ) + + public static String SORT_PROP = "sydh"; + + + @Id + @PropertyDef(label = "鎹熸孩鍗曞彿") @Column(name = "sydh", length = 60) private String sydh; - @PropertyDef(label = "璐т綅浠g爜" ) + @PropertyDef(label = "璐т綅浠g爜") @Column(name = "hwdm", length = 30) private String hwdm; + @PropertyDef(label = "缁熶竴璐т綅缂栫爜") + @Column(name = "tyhwbm", length = 28) + private String tyhwbm; + @JSONField(format = "yyyy-MM-dd") - @PropertyDef(label = "涓氬姟鏃ユ湡" ) + @PropertyDef(label = "涓氬姟鏃ユ湡") @Column(name = "ywrq") private Date ywrq; - @PropertyDef(label = "鍏ュ簱鍑�閲�(鍏枻)" ) - @Column(name = "rkjz", precision = 20, scale = 6) + @PropertyDef(label = "鎹熸孩绫诲瀷", description = "1:鎹熷け锛�2锛氭崯鑰楋紝3锛氭孩浣欙紝4锛氬叾浠�") + @Column(name = "sylx", length = 1) + private String sylx; + + @PropertyDef(label = "鎹熸孩鐜妭", description = "1:鍏ュ簱鎹熸孩锛�2锛氬嚭搴撴崯婧紝3.鍏朵粬") + @Column(name = "syhj", length = 1) + private String syhj; + + @PropertyDef(label = "鍏ュ簱鍑�閲�(鍏枻)") + @Column(name = "rkjz", precision = 20, scale = 3) private double rkjz; + @PropertyDef(label = "鍏ュ簱鏁伴噺(鍏枻)") + @Column(name = "rksl",precision = 20,scale = 3) + private double rksl; + @JSONField(format = "yyyy-MM-dd HH:mm:ss") - @PropertyDef(label = "鍏ュ簱鏃堕棿" ) + @PropertyDef(label = "鍏ュ簱鏃堕棿") @Column(name = "rksj") private Date rksj; - @PropertyDef(label = "鍏ュ簱姘村垎(%)" ) - @Column(name = "rksf", precision = 20, scale = 6) + @PropertyDef(label = "鍏ュ簱姘村垎(%)") + @Column(name = "rksf", precision = 6, scale = 2) private double rksf; - @PropertyDef(label = "鍏ュ簱鏉傝川(%)" ) - @Column(name = "rkzz", precision = 20, scale = 6) + @PropertyDef(label = "鍏ュ簱鏉傝川(%)") + @Column(name = "rkzz", precision = 6, scale = 2) private double rkzz; @JSONField(format = "yyyy-MM-dd HH:mm:ss") - @PropertyDef(label = "鍑哄簱鏃堕棿" ) + @PropertyDef(label = "鍑哄簱鏃堕棿") @Column(name = "cksj") private Date cksj; - @PropertyDef(label = "鍑哄簱鍑�閲�(鍏枻)" ) - @Column(name = "ckjz", precision = 20, scale = 6) + @PropertyDef(label = "鍑哄簱鍑�閲�(鍏枻)") + @Column(name = "ckjz", precision = 20, scale = 3) private double ckjz; - @PropertyDef(label = "鍑哄簱姘村垎(%)" ) - @Column(name = "cksf", precision = 20, scale = 6) + @PropertyDef(label = "鍑哄簱姘村垎(%)") + @Column(name = "cksf", precision = 20, scale = 3) private double cksf; - @PropertyDef(label = "鍑哄簱鏉傝川(%)" ) - @Column(name = "ckzz", precision = 20, scale = 6) + @PropertyDef(label = "鍑哄簱鏉傝川(%)") + @Column(name = "ckzz", precision = 6, scale = 2) private double ckzz; - @PropertyDef(label = "鍑�閲嶆崯婧㈡暟閲�(鍏枻)" ) - @Column(name = "jzsysl", precision = 20, scale = 6) + @PropertyDef(label = "鍌ㄥ鏃堕暱") + @Column(name = "ccsc") + private Integer ccsc; + + @PropertyDef(label = "瀹為檯鎹熸孩鏁伴噺(鍏枻)") + @Column(name = "jzsysl", precision = 20, scale = 3) private double jzsysl; - @PropertyDef(label = "鍏朵腑锛氭垚璐т綅鍓嶆崯鑰�(鍏枻)" ) - @Column(name = "qzchwqsh", precision = 20, scale = 6) - private double qzchwqsh; - - @PropertyDef(label = "鍏朵腑姘存潅鍑忛噺(鍏枻)" ) - @Column(name = "qzszkl", precision = 20, scale = 6) + @PropertyDef(label = "姘存潅鍑忛噺(鍏枻)") + @Column(name = "qzszkl", precision = 20, scale = 3) private double qzszkl; - @PropertyDef(label = "鍏朵腑锛氳嚜鐒舵崯鑰楀畾棰�(鍏枻)" ) - @Column(name = "qzzrshde", precision = 20, scale = 6) + @PropertyDef(label = "鑷劧鎹熻�楀畾棰�(鍏枻)") + @Column(name = "qzzrshde", precision = 20, scale = 3) private double qzzrshde; - @PropertyDef(label = "瓒呰�楁暟閲�(鍏枻)" ) - @Column(name = "chsl", precision = 20, scale = 6) + @PropertyDef(label = "鏄惁瓒呰��", description = "1:鏄紝2锛氬惁") + @Column(name = "sfch") + private Integer sfch; + + @PropertyDef(label = "瓒呰�楁暟閲�(鍏枻)") + @Column(name = "chsl", precision = 20, scale = 3) private double chsl; - @PropertyDef(label = "鎹熺泭鏄惁姝e父" ) + @PropertyDef(label = "鎹熺泭鏄惁姝e父",description = "0:姝e父锛�1锛氫笉姝e父") @Column(name = "sysfzc", length = 1) private String sysfzc; - @PropertyDef(label = "鎹熸孩鍘熷洜" ) + @PropertyDef(label = "鎹熸孩鍘熷洜") @Column(name = "syyy", length = 400) private String syyy; - @PropertyDef(label = "浠撳偍瀹℃牳浜�" ) + @PropertyDef(label = "鍑烘竻纭鏍囪瘑",description = "0锛氭湭瀹屾垚鍑烘竻纭锛�1锛氬凡瀹屾垚鍑烘竻纭") + @Column(name = "cqqrbs") + private Integer cqqrbs; + + @PropertyDef(label = "鍑烘竻纭鏃堕棿") + @JSONField(format = "yyyy-MM-dd HH:mm:ss") + @Column(name = "cqqrsj") + private Date cqqrsj; + + @PropertyDef(label = "浠撳偍瀹℃牳浜�") @Column(name = "ccshr", length = 64) private String ccshr; - @PropertyDef(label = "璐ㄦ瀹℃牳浜�" ) + @PropertyDef(label = "璐ㄦ瀹℃牳浜�") @Column(name = "zjshr", length = 64) private String zjshr; - @PropertyDef(label = "缁熻瀹℃牳浜�" ) + @PropertyDef(label = "缁熻瀹℃牳浜�") @Column(name = "tjshr", length = 64) private String tjshr; - @PropertyDef(label = "浼氳瀹℃牳浜�" ) + @PropertyDef(label = "浼氳瀹℃牳浜�") @Column(name = "kjshr", length = 64) private String kjshr; - @PropertyDef(label = "棰嗗瀹℃牳浜�" ) + @PropertyDef(label = "棰嗗瀹℃牳浜�") @Column(name = "ldshr", length = 64) private String ldshr; - @PropertyDef(label = "澶囨敞" ) + @PropertyDef(label = "澶囨敞") @Column(name = "bz", length = 400) private String bz; -- Gitblit v1.9.3