From 8c2632ab67cef38baa88dd365683610c17e08313 Mon Sep 17 00:00:00 2001 From: YYC <1833023622@qq.com> Date: 星期一, 28 十月 2024 23:36:35 +0800 Subject: [PATCH] 新增实体类 --- src/main/java/com/fzzy/api/service/ApiTriggerService.java | 1 src/main/java/com/fzzy/api/data/PushProtocol.java | 1 src/main/java/com/fzzy/api/entity/Api1505.java | 115 +++++++ src/main/java/com/fzzy/api/entity/Api1507.java | 147 +++++++++ src/main/java/com/fzzy/api/entity/Api1509.java | 187 ++++++++++++ src/main/java/com/fzzy/api/entity/Api1506.java | 111 +++++++ src/main/java/com/fzzy/api/entity/Api1510.java | 124 ++++++++ src/main/resources/application-pro5329.yml | 8 src/main/resources/application-pro5354.yml | 2 src/main/java/com/fzzy/api/entity/Api1504.java | 102 ++++++ src/main/java/com/fzzy/api/entity/Api1508.java | 93 ++++++ 11 files changed, 886 insertions(+), 5 deletions(-) diff --git a/src/main/java/com/fzzy/api/data/PushProtocol.java b/src/main/java/com/fzzy/api/data/PushProtocol.java index b9dcd9c..a0801b9 100644 --- a/src/main/java/com/fzzy/api/data/PushProtocol.java +++ b/src/main/java/com/fzzy/api/data/PushProtocol.java @@ -13,6 +13,7 @@ SB_SH_2021("SB_SH_2021", "涓婃捣甯傚钩鍙�2022鐗�"), SB_SC_2021("SB_SC_2021", "鍥涘窛鐪佸钩鍙�2022鐗�"), SB_GD_2022("SB_GD_2022", "骞夸笢鐪佸钩鍙�2022鐗�"), + SB_GD_2023("SB_GD_2023", "骞夸笢鐪佸钩鍙�2023鐗�"), SB_GD_2020("SB_GD_2020", "骞夸笢鐪佸钩鍙�2020鐗�"), SB_HN_2022("SB_HN_2022", "娌冲崡鐪佸钩鍙�2022鐗�"), SB_WHJL_2023("SB_WHJL_2023", "姝︽眽鍐涚伯骞冲彴2023鐗�"), diff --git a/src/main/java/com/fzzy/api/entity/Api1504.java b/src/main/java/com/fzzy/api/entity/Api1504.java new file mode 100644 index 0000000..b1311e0 --- /dev/null +++ b/src/main/java/com/fzzy/api/entity/Api1504.java @@ -0,0 +1,102 @@ +package com.fzzy.api.entity; + +import com.alibaba.fastjson.annotation.JSONField; +import com.bstek.dorado.annotation.PropertyDef; +import lombok.Data; +import lombok.EqualsAndHashCode; + +import javax.persistence.Column; +import javax.persistence.Entity; +import javax.persistence.Id; +import javax.persistence.Table; +import java.io.Serializable; +import java.util.Date; + +/** + * 璐﹀淇℃伅 + * + * @author czt + */ +@Data +@Entity +@Table(name = "API_1504") +@EqualsAndHashCode(callSuper = false) +public class Api1504 extends ApiParent implements Serializable { + /** + * + */ + private static final long serialVersionUID = 1L; + + /** + * 閫氳繃鎺ュ彛鑾峰彇鐨勫崟浣嶈处濂楀悗锛屽湪灞�绔嚜鍔ㄤ骇鐢熻处濂楀彿 + */ + @Id + @JSONField(serialize = false) + @PropertyDef(label = "璐﹀鍙�") + @Column(name = "nAcctId", precision = 9) + private Double nAcctId; + + @PropertyDef(label = "璐﹀鍚嶇О") + @Column(name = "cAcctName", length = 256) + private String cAcctName; + + @PropertyDef(label = "鏈綅甯�") + @Column(name = "cCurrency", length = 3) + private String cCurrency; + + @PropertyDef(label = "浼氳涓荤") + @Column(name = "cAcctChief", length = 20) + private String cAcctChief; + + @JSONField(format = "yyyy-MM-dd") + @PropertyDef(label = "鍚敤鏈熼棿") + @Column(name = "cPeriodStart", length = 10) + private String cPeriodStart; + + @JSONField(format = "yyyy-MM-dd") + @PropertyDef(label = "鍚敤鏃ユ湡") + @Column(name = "cYearBmd", length = 10) + private String cYearBmd; + + @PropertyDef(label = "鏈熼棿鏁�") + @Column(name = "nAcctPeriodNum") + private Double nAcctPeriodNum; + + @PropertyDef(label = "浼氳鍒跺害浠g爜", description = "11:浼佷笟浼氳鍑嗗垯鍒跺害(绮2013鐗�)(榛樿浠g爜鍊�)") + @Column(name = "cAccClassCode", length = 8) + private String cAccClassCode; + + @PropertyDef(label = "绉戠洰绾ф", description = "4-8:榛樿鏈�灏忓�间负4") + @Column(name = "nAccGrade") + private Double nAccGrade; + + @PropertyDef(label = "绉戠洰缂栫爜瑙勫垯", description = "4222XXXX:榛樿鍓嶅洓绾х骇闀胯鍒欎负4222") + @Column(name = "cAccCodeStr", length = 40) + private String cAccCodeStr; + + @PropertyDef(label = "鍗曚綅鍚嶇О") + @Column(name = "cCropName", length = 256) + private String cCropName; + + @PropertyDef(label = "鍗曚綅浠g爜") + @Column(name = "cOrgCode", length = 18) + private String cOrgCode; + + @PropertyDef(label = "缁熶竴鍗曚綅缂栫爜") + @Column(name = "xqydm", length = 20) + private String xqydm; + + @PropertyDef(label = "缁熶竴搴撳尯缂栫爜") + @Column(name = "xkqdm",length = 22) + private String xkqdm; + + @PropertyDef(label = "鎿嶄綔鏍囧織") + @Column(name = "czbz", length = 1) + private String czbz; + + @JSONField(format = "yyyy-MM-dd HH:mm:ss") + @PropertyDef(label = "鏈�鍚庢洿鏂版椂闂�") + @Column(name = "zhgxsj") + private Date zhgxsj; + +} diff --git a/src/main/java/com/fzzy/api/entity/Api1505.java b/src/main/java/com/fzzy/api/entity/Api1505.java new file mode 100644 index 0000000..0f9869f --- /dev/null +++ b/src/main/java/com/fzzy/api/entity/Api1505.java @@ -0,0 +1,115 @@ +package com.fzzy.api.entity; + +import com.alibaba.fastjson.annotation.JSONField; +import com.bstek.dorado.annotation.PropertyDef; +import lombok.Data; +import lombok.EqualsAndHashCode; + +import javax.persistence.Column; +import javax.persistence.Entity; +import javax.persistence.Id; +import javax.persistence.Table; +import java.io.Serializable; +import java.util.Date; + +/** + * 绉戠洰淇℃伅 + * + * @author czt + */ +@Data +@Entity +@Table(name = "API_1505") +@EqualsAndHashCode(callSuper = false) +public class Api1505 extends ApiParent implements Serializable { + /** + * + */ + private static final long serialVersionUID = 1L; + + /** + * 閫氳繃鎺ュ彛鑾峰彇鐨勫崟浣嶈处濂楀悗锛屽湪灞�绔嚜鍔ㄤ骇鐢熻处濂楀彿 + */ + @Id + @JSONField(serialize = false) + @PropertyDef(label = "璐﹀鍙�") + @Column(name = "nAcctId", length = 9) + private Double nAcctId; + + @JSONField(serialize = false) + @PropertyDef(label = "骞村害") + @Column(name = "cYear", length = 4) + private Double cYear; + + @PropertyDef(label = "绉戠洰缂栫爜") + @Column(name = "cCode", length = 80) + private String cCode; + + @PropertyDef(label = "绉戠洰鍚嶇О") + @Column(name = "cName", length = 256) + private String cName; + + @PropertyDef(label = "绉戠洰鍏ㄧО") + @Column(name = "cAllName", length = 65536) + private String cAllName; + + /** + * 1:璧勪骇绫� + * 2:璐熷�虹被 + * 3:鍏卞悓绫� + * 4:鎵�鏈夎�呮潈鐩婄被 + * 5:鎴愭湰璐圭敤绫� + * 6:鎹熺泭绫� + */ + @PropertyDef(label = "绉戠洰绫诲埆") + @Column(name = "nClass", length = 9) + private String nClass; + /** + * (-1)-璐锋柟锛�1-鍊熸柟 + */ + @PropertyDef(label = "浣欓鏂瑰悜") + @Column(name = "cDc", length = 3) + private Double cDc; + + @PropertyDef(label = "鏈骇绉戠洰") + @Column(name = "bL") + private Double bL; + + @PropertyDef(label = "绉戠洰绾ф") + @Column(name = "nGrade", length = 8) + private Double nGrade; + + @PropertyDef(label = "鏁伴噺绉戠洰") + @Column(name = "bQ") + private Double bQ; + + @PropertyDef(label = "鏁伴噺鍗曚綅") + @Column(name = "cQUnit") + private Double cQUnit; + + @PropertyDef(label = "鐜伴噾绫荤鐩�") + @Column(name = "bCash") + private Double bCash; + + @PropertyDef(label = "閾惰绫荤鐩�") + @Column(name = "bBank") + private Double bBank; + + @PropertyDef(label = "鐜伴噾娴侀噺绫荤鐩�") + @Column(name = "bXjll") + private Double bXjll; + + @PropertyDef(label = "鍐荤粨") + @Column(name = "bF") + private String bF; + + @PropertyDef(label = "鎿嶄綔鏍囧織") + @Column(name = "czbz", length = 1) + private String czbz; + + @JSONField(format = "yyyy-MM-dd HH:mm:ss") + @PropertyDef(label = "鏈�鍚庢洿鏂版椂闂�") + @Column(name = "zhgxsj") + private Date zhgxsj; + +} diff --git a/src/main/java/com/fzzy/api/entity/Api1506.java b/src/main/java/com/fzzy/api/entity/Api1506.java new file mode 100644 index 0000000..267c90b --- /dev/null +++ b/src/main/java/com/fzzy/api/entity/Api1506.java @@ -0,0 +1,111 @@ +package com.fzzy.api.entity; + +import com.alibaba.fastjson.annotation.JSONField; +import com.bstek.dorado.annotation.PropertyDef; +import lombok.Data; +import lombok.EqualsAndHashCode; + +import javax.persistence.Column; +import javax.persistence.Entity; +import javax.persistence.Id; +import javax.persistence.Table; +import java.io.Serializable; +import java.util.Date; + +/** + * 绉戠洰浣欓琛� + * + * @author czt + */ +@Data +@Entity +@Table(name = "API_1506") +@EqualsAndHashCode(callSuper = false) +public class Api1506 extends ApiParent implements Serializable { + /** + * + */ + private static final long serialVersionUID = 1L; + + /** + * 閫氳繃鎺ュ彛鑾峰彇鐨勫崟浣嶈处濂楀悗锛屽湪灞�绔嚜鍔ㄤ骇鐢熻处濂楀彿 + */ + @Id + @JSONField(serialize = false) + @PropertyDef(label = "璐﹀鍙�") + @Column(name = "nAcctId", length = 9) + private Double nAcctId; + + @PropertyDef(label = "鏈熼棿") + @Column(name = "cYear", length = 3) + private Double cYear; + + @PropertyDef(label = "骞村害") + @Column(name = "nNo", length = 4) + private Double nNo; + + @PropertyDef(label = "鏈熷垵鏈綅甯佷綑棰�") + @Column(name = "bM", precision = 20, scale = 4) + private Double bM; + + @PropertyDef(label = "鏈熸湯鏈綅甯佷綑棰�") + @Column(name = "eM", precision = 20, scale = 4) + private Double eM; + + @PropertyDef(label = "鏈熷垵鏁伴噺") + @Column(name = "bQty", precision = 20, scale = 4) + private Double bQty; + + @PropertyDef(label = "鏈熸湯鏁伴噺") + @Column(name = "eQty", precision = 20, scale = 4) + private Double eQty; + /** + * 1:鍊熸柟 + * -1:璐锋柟 + */ + @PropertyDef(label = "浣欓鏂瑰悜") + @Column(name = "cDc", length = 3) + private Double cDc; + + @PropertyDef(label = "鍊熸柟鏈綅甯佸彂鐢熼") + @Column(name = "dM", precision = 20, scale = 4) + private Double dM; + + @PropertyDef(label = "璐锋柟鏈綅甯佸彂鐢熼") + @Column(name = "cM", precision = 20, scale = 4) + private Double cM; + + @PropertyDef(label = "鍊熸柟鍙戠敓鏁伴噺") + @Column(name = "dQ", precision = 20, scale = 4) + private Double dQ; + + @PropertyDef(label = "璐锋柟鍙戠敓鏁伴噺") + @Column(name = "cQ", precision = 20, scale = 4) + private Double cQ; + + @PropertyDef(label = "鏈熷垵澶栧竵浣欓") + @Column(name = "bFm", precision = 20, scale = 4) + private Double bFm; + + @PropertyDef(label = "鏈熸湯澶栧竵浣欓") + @Column(name = "eFm", precision = 20, scale = 4) + private Double eFm; + + @PropertyDef(label = "鍊熸柟澶栧竵鍙戠敓棰�") + @Column(name = "dFm", precision = 20, scale = 4) + private Double dFm; + + @PropertyDef(label = "璐锋柟澶栧竵鍙戠敓棰�") + @Column(name = "cFm", precision = 20, scale = 4) + private Double cFm; + + @PropertyDef(label = "鎿嶄綔鏍囧織") + @Column(name = "czbz", length = 1) + private String czbz; + + @JSONField(format = "yyyy-MM-dd HH:mm:ss") + @PropertyDef(label = "鏈�鍚庢洿鏂版椂闂�") + @Column(name = "zhgxsj") + private Date zhgxsj; + +} diff --git a/src/main/java/com/fzzy/api/entity/Api1507.java b/src/main/java/com/fzzy/api/entity/Api1507.java new file mode 100644 index 0000000..98c9d02 --- /dev/null +++ b/src/main/java/com/fzzy/api/entity/Api1507.java @@ -0,0 +1,147 @@ +package com.fzzy.api.entity; + +import com.alibaba.fastjson.annotation.JSONField; +import com.bstek.dorado.annotation.PropertyDef; +import lombok.Data; +import lombok.EqualsAndHashCode; + +import javax.persistence.Column; +import javax.persistence.Entity; +import javax.persistence.Id; +import javax.persistence.Table; +import java.io.Serializable; +import java.util.Date; + +/** + * 浼氳鍑瘉淇℃伅 + * + * @author czt + */ +@Data +@Entity +@Table(name = "API_1507") +@EqualsAndHashCode(callSuper = false) +public class Api1507 extends ApiParent implements Serializable { + /** + * + */ + private static final long serialVersionUID = 1L; + + /** + * 閫氳繃鎺ュ彛鑾峰彇鐨勫崟浣嶈处濂楀悗锛屽湪灞�绔嚜鍔ㄤ骇鐢熻处濂楀彿 + */ + @Id + @JSONField(serialize = false) + @PropertyDef(label = "璐﹀鍙�") + @Column(name = "nAcctId", length = 9) + private Double nAcctId; + + @PropertyDef(label = "鍑瘉绫诲瀷") + @Column(name = "cVKind", length = 9) + private String cVKind; + + @PropertyDef(label = "鏈熼棿") + @Column(name = "cMon", length = 3) + private Double cMon; + + @PropertyDef(label = "骞村害") + @Column(name = "cYear", length = 4) + private Double cYear; + + @PropertyDef(label = "鍑瘉鍙�") + @Column(name = "nVNo", length = 9) + private Double nVNo; + + @PropertyDef(label = "鍒嗗綍搴忓彿") + @Column(name = "nNo", precision = 9) + private Double nNo; + + @PropertyDef(label = "鍑瘉鍒嗙被") + @Column(name = "bTmp", precision = 3) + private Double bTmp; + + @PropertyDef(label = "鎽樿") + @Column(name = "Digest", length = 256) + private String Digest; + + @PropertyDef(label = "绉戠洰缂栫爜") + @Column(name = "cCode", length = 80) + private Double cCode; + + @JSONField(format = "yyyy-MM-dd") + @PropertyDef(label = "鍑瘉鏃ユ湡") + @Column(name = "cVSmallDatetime", length = 10) + private String cVSmallDatetime; + + @PropertyDef(label = "鍒跺崟浜�") + @Column(name = "cMaker", length = 32) + private String cMaker; + /** + * 1:鍊熸柟 + * -1:璐锋柟 + */ + @PropertyDef(label = "鏂瑰悜") + @Column(name = "cDc", precision = 3) + private Double cDc; + + @PropertyDef(label = "瀹℃牳浜�") + @Column(name = "cCkEr", length = 32) + private String cCkEr; + + @PropertyDef(label = "璁拌处浜�") + @Column(name = "cPtEr", length = 32) + private String cPtEr; + /** + * 0:鍚� + * 1:鏄� + */ + @PropertyDef(label = "璁拌处鏍囧織") + @Column(name = "bPt", precision = 3) + private Double bPt; + + @PropertyDef(label = "闄勪欢寮犳暟") + @Column(name = "nANum", precision = 9) + private Double nANum; + + @PropertyDef(label = "閲戦") + @Column(name = "nM", precision = 20, scale = 4) + private Double nM; + + @PropertyDef(label = "鏁伴噺") + @Column(name = "nQty", precision = 20, scale = 4) + private Double nQty; + + @PropertyDef(label = "鍗曚环") + @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; + + @PropertyDef(label = "姹囩巼") + @Column(name = "rate", precision = 20, scale = 4) + private Double rate; + + @PropertyDef(label = "澶栧竵閲戦") + @Column(name = "nFm", precision = 20, scale = 4) + private Double nFm; + + @PropertyDef(label = "璁¢噺鍗曚綅",description = "璁¢噺鍗曚綅姹夊瓧") + @Column(name = "meterUnitId", length = 32) + private String meterUnitId; + + @PropertyDef(label = "鎿嶄綔鏍囧織") + @Column(name = "czbz", length = 1) + private String czbz; + + @JSONField(format = "yyyy-MM-dd HH:mm:ss") + @PropertyDef(label = "鏈�鍚庢洿鏂版椂闂�") + @Column(name = "zhgxsj") + private Date zhgxsj; + +} diff --git a/src/main/java/com/fzzy/api/entity/Api1508.java b/src/main/java/com/fzzy/api/entity/Api1508.java new file mode 100644 index 0000000..a181c7d --- /dev/null +++ b/src/main/java/com/fzzy/api/entity/Api1508.java @@ -0,0 +1,93 @@ +package com.fzzy.api.entity; + +import com.alibaba.fastjson.annotation.JSONField; +import com.bstek.dorado.annotation.PropertyDef; +import lombok.Data; +import lombok.EqualsAndHashCode; + +import javax.persistence.Column; +import javax.persistence.Entity; +import javax.persistence.Id; +import javax.persistence.Table; +import java.io.Serializable; +import java.util.Date; + +/** + * 鐜伴噾娴侀噺鍒嗛厤淇℃伅 + * + * @author czt + */ +@Data +@Entity +@Table(name = "API_1508") +@EqualsAndHashCode(callSuper = false) +public class Api1508 extends ApiParent implements Serializable { + /** + * + */ + private static final long serialVersionUID = 1L; + + /** + * 閫氳繃鎺ュ彛鑾峰彇鐨勫崟浣嶈处濂楀悗锛屽湪灞�绔嚜鍔ㄤ骇鐢熻处濂楀彿 + */ + @Id + @JSONField(serialize = false) + @PropertyDef(label = "璐﹀鍙�") + @Column(name = "nAcctId", length = 9) + private Double nAcctId; + + @PropertyDef(label = "鍑瘉绫诲瀷") + @Column(name = "cVKind", length = 10) + private String cVKind; + + @PropertyDef(label = "鏈熼棿") + @Column(name = "cMon", length = 3) + private Double cMon; + + @PropertyDef(label = "骞村害") + @Column(name = "cYear", length = 4) + private Double cYear; + + @PropertyDef(label = "鍑瘉鍙�") + @Column(name = "nVNo", length = 9) + private Double nVNo; + + @PropertyDef(label = "绉戠洰缂栫爜") + @Column(name = "cCode", length = 80) + private String cCode; + + @PropertyDef(label = "瀵规柟绉戠洰缂栫爜") + @Column(name = "cDFCode", length = 80) + private String cDFCode; + + @PropertyDef(label = "鐜伴噾娴侀噺椤圭洰浠g爜") + @Column(name = "cCashCode", length = 80) + private String cCashCode; + + @PropertyDef(label = "鍒嗗綍搴忓彿") + @Column(name = "nNo", precision = 9) + private Double nNo; + + @PropertyDef(label = "閲戦") + @Column(name = "nM", precision = 20,scale = 4) + private Double nM; + + /** + * 1:娴佸叆 + * -1:娴佸嚭 + */ + @PropertyDef(label = "鏂瑰悜") + @Column(name = "cDc", length = 3) + private String cDc; + + + @PropertyDef(label = "鎿嶄綔鏍囧織") + @Column(name = "czbz", length = 1) + private String czbz; + + @JSONField(format = "yyyy-MM-dd HH:mm:ss") + @PropertyDef(label = "鏈�鍚庢洿鏂版椂闂�") + @Column(name = "zhgxsj") + private Date zhgxsj; + +} diff --git a/src/main/java/com/fzzy/api/entity/Api1509.java b/src/main/java/com/fzzy/api/entity/Api1509.java new file mode 100644 index 0000000..7105e4a --- /dev/null +++ b/src/main/java/com/fzzy/api/entity/Api1509.java @@ -0,0 +1,187 @@ +package com.fzzy.api.entity; + +import com.alibaba.fastjson.annotation.JSONField; +import com.bstek.dorado.annotation.PropertyDef; +import lombok.Data; +import lombok.EqualsAndHashCode; + +import javax.persistence.Column; +import javax.persistence.Entity; +import javax.persistence.Id; +import javax.persistence.Table; +import java.io.Serializable; +import java.util.Date; + +/** + * 鍥哄畾璧勪骇鍗$墖淇℃伅 + * + * @author czt + */ +@Data +@Entity +@Table(name = "API_1509") +@EqualsAndHashCode(callSuper = false) +public class Api1509 extends ApiParent implements Serializable { + /** + * + */ + private static final long serialVersionUID = 1L; + + /** + * 閫氳繃鎺ュ彛鑾峰彇鐨勫崟浣嶈处濂楀悗锛屽湪灞�绔嚜鍔ㄤ骇鐢熻处濂楀彿 + */ + @Id + @JSONField(serialize = false) + @PropertyDef(label = "璐﹀鍙�") + @Column(name = "nAcctId", length = 9) + private Double nAcctId; + + @PropertyDef(label = "鍥哄畾璧勪骇缂栫爜") + @Column(name = "fixAssetCode", length = 20) + private String fixAssetCode; + + @PropertyDef(label = "鍥哄畾璧勪骇鑷紪鐮�") + @Column(name = "origFixAssetCode", length = 20) + private String origFixAssetCode; + + @PropertyDef(label = "璧勪骇绫诲埆缂栫爜") + @Column(name = "groupCode", length = 20) + private String groupCode; + + @PropertyDef(label = "鍥哄畾璧勪骇鍚嶇О") + @Column(name = "fixAssetName", length = 80) + private String fixAssetName; + + @PropertyDef(label = "璁¢噺鍗曚綅鍚嶇О") + @Column(name = "unitName", length = 20) + private String unitName; + + @PropertyDef(label = "鍘熷��") + @Column(name = "valueOrg", length = 20, scale = 4) + private Double valueOrg; + + @PropertyDef(label = "褰撳墠鍘熷��") + @Column(name = "dresentValueOrg", length = 20, scale = 4) + private Double dresentValueOrg; + /** + * 1:涓嶆彁鎶樻棫娉� + * 2:骞冲潎骞撮檺娉� + * 3:鍔ㄦ�佸钩鍧囧勾闄愭硶 + * 4:宸ヤ綔閲忔硶 + * 5:骞存暟鎬诲拰娉� + * 6:鍙屽�嶄綑棰濋�掑噺娉� + */ + @PropertyDef(label = "鎶樻棫鏂规硶") + @Column(name = "deprMethodId", length = 20, scale = 4) + private Double deprMethodId; + + @PropertyDef(label = "鍥哄畾璧勪骇鏉ユ簮") + @Column(name = "sourceid", length = 12) + private Double sourceid; + /** + * 1:鎶曡祫 + * 2:鑷缓 + * 3:璐拱 + * 4:铻嶈祫绉熻祦 + * 5:缁忚惀绉熷叆 + * 6:鏃犲伩璋冨叆 + * 7:鎹愯禒 + * 8:鎹㈠叆 + */ + @PropertyDef(label = "瀵规柟绉戠洰缂栫爜") + @Column(name = "cDFCode", length = 80) + private String cDFCode; + + @PropertyDef(label = "鍨嬪彿") + @Column(name = "model", length = 40) + private String model; + + @PropertyDef(label = "瑙勬牸") + @Column(name = "specs", length = 40) + private String specs; + + @PropertyDef(label = "鍒堕�犲晢") + @Column(name = "manufacturer", length = 60) + private String manufacturer; + + @PropertyDef(label = "浜у湴") + @Column(name = "makingPlace", length = 40) + private String makingPlace; + + @JSONField(format = "yyyy-MM-dd") + @PropertyDef(label = "杩涘崟浣嶆棩鏈�") + @Column(name = "enterDay", length = 10) + private String enterDay; + + @JSONField(format = "yyyy-MM-dd") + @PropertyDef(label = "寮�濮嬩娇鐢ㄦ棩鏈�") + @Column(name = "beginUseDay", length = 10) + private String beginUseDay; + + @JSONField(format = "yyyy-MM-dd") + @PropertyDef(label = "寤哄崱鏃ユ湡") + @Column(name = "makinDay", length = 10) + private String makinDay; + + @PropertyDef(label = "绠$悊浜�") + @Column(name = "keeper", length = 20) + private String keeper; + + @PropertyDef(label = "寤哄崱浜�") + @Column(name = "maker", length = 20) + private String maker; + + @PropertyDef(label = "棰勮浣跨敤鏈熼棿鏁�") + @Column(name = "usingPeriods", precision = 12) + private Double usingPeriods; + + @PropertyDef(label = "棰勮鍑�娈嬪��") + @Column(name = "expecRemain", precision = 20, scale = 4) + private Double expecRemain; + + @PropertyDef(label = "鍥哄畾璧勪骇瀵瑰簲绉戠洰缂栫爜") + @Column(name = "assetAcctCode", length = 20) + private String assetAcctCode; + + @PropertyDef(label = "绱鎶樻棫瀵瑰簲绉戠洰缂栫爜") + @Column(name = "deprAcctCode", length = 20) + private String deprAcctCode; + + + @PropertyDef(label = "绱鎶樻棫") + @Column(name = "accumulateDepr", precision = 20, scale = 4) + private Double accumulateDepr; + /** + * 0:鍚� + * 1:鏄� + */ + @PropertyDef(label = "鏄惁鎶ュ簾娓呯悊") + @Column(name = "abadoned", length = 20) + private String abadoned; + + /** + * 1:鍦ㄤ娇鐢� + * 2:鏈娇鐢� + * 3:鍋滅敤 + * 4:鍑哄敭 + * 5:鎶ユ崯 + * 6:鐩樹簭 + */ + @PropertyDef(label = "褰撳墠浣跨敤鐘舵�佸悕绉�") + @Column(name = "presentStatus", length = 20) + private String presentStatus; + + @PropertyDef(label = "澶囨敞") + @Column(name = "notes", length = 512) + private String notes; + + @PropertyDef(label = "鎿嶄綔鏍囧織") + @Column(name = "czbz", length = 1) + private String czbz; + + @JSONField(format = "yyyy-MM-dd HH:mm:ss") + @PropertyDef(label = "鏈�鍚庢洿鏂版椂闂�") + @Column(name = "zhgxsj") + private Date zhgxsj; + +} diff --git a/src/main/java/com/fzzy/api/entity/Api1510.java b/src/main/java/com/fzzy/api/entity/Api1510.java new file mode 100644 index 0000000..0e4f3ee --- /dev/null +++ b/src/main/java/com/fzzy/api/entity/Api1510.java @@ -0,0 +1,124 @@ +package com.fzzy.api.entity; + +import com.alibaba.fastjson.annotation.JSONField; +import com.bstek.dorado.annotation.PropertyDef; +import lombok.Data; +import lombok.EqualsAndHashCode; + +import javax.persistence.Column; +import javax.persistence.Entity; +import javax.persistence.Id; +import javax.persistence.Table; +import java.io.Serializable; +import java.util.Date; + +/** + * 璧勪骇鎶樻棫淇℃伅 + * + * @author czt + */ +@Data +@Entity +@Table(name = "API_1510") +@EqualsAndHashCode(callSuper = false) +public class Api1510 extends ApiParent implements Serializable { + /** + * + */ + private static final long serialVersionUID = 1L; + + /** + * 閫氳繃鎺ュ彛鑾峰彇鐨勫崟浣嶈处濂楀悗锛屽湪灞�绔嚜鍔ㄤ骇鐢熻处濂楀彿 + */ + @Id + @JSONField(serialize = false) + @PropertyDef(label = "璐﹀鍙�") + @Column(name = "nAcctId", length = 9) + private Double nAcctId; + + @PropertyDef(label = "鍥哄畾璧勪骇缂栫爜") + @Column(name = "fixAssetCode", length = 20) + private String fixAssetCode; + + @PropertyDef(label = "鏈熼棿") + @Column(name = "period", precision = 4) + private Double period; + + @PropertyDef(label = "骞村害") + @Column(name = "AcctYear", precision = 4) + private Double AcctYear; + + @PropertyDef(label = "鏈熷垵鍘熷��") + @Column(name = "bValueOrg", precision = 20, scale = 4) + private Double bValueOrg; + + @PropertyDef(label = "绱鎶樻棫") + @Column(name = "bAccumDepr", precision = 20, scale = 4) + private Double bAccumDepr; + + @PropertyDef(label = "鏈湡璁℃彁鎶樻棫") + @Column(name = "deprAmmount", precision = 20, scale = 4) + private Double deprAmmount; + + @PropertyDef(label = "鏈勾绱璁℃彁鎶樻棫") + @Column(name = "yAccumDepr", precision = 20, scale = 4) + private Double yAccumDepr; + + @PropertyDef(label = "鏈湡鏁伴噺澧炲姞") + @Column(name = "qtyAdd", precision = 20, scale = 4) + private Double qtyAdd; + + @PropertyDef(label = "鏈湡鏁伴噺鍑忓皯") + @Column(name = "qtyDecrease", precision = 20, scale = 4) + private Double qtyDecrease; + + @PropertyDef(label = "鏈湡鍘熷�煎鍔�") + @Column(name = "valueOrgAdd", precision = 20, scale = 4) + private Double valueOrgAdd; + + @PropertyDef(label = "鏈湡鍘熷�煎噺灏�") + @Column(name = "valueOrgDerease", precision = 20, scale = 4) + private Double valueOrgDerease; + + @PropertyDef(label = "鏈湡绱鎶樻棫璋冨") + @Column(name = "accuDeprAdjustAdd", precision = 20, scale = 4) + private Double accuDeprAdjustAdd; + + @PropertyDef(label = "鏈湡绱鎶樻棫璋冨噺") + @Column(name = "accuDeprAdjustDec", precision = 20, scale = 4) + private Double accuDeprAdjustDec; + + @PropertyDef(label = "鏈勾绱鏁伴噺澧炲姞") + @Column(name = "yQtyIncrease", precision = 20, scale = 4) + private Double yQtyIncrease; + + @PropertyDef(label = "鏈勾绱鏁伴噺鍑忓皯") + @Column(name = "yQtyDecrease", precision = 20, scale = 4) + private Double yQtyDecrease; + + @PropertyDef(label = "鏈勾鍘熷�肩疮璁″鍔�") + @Column(name = "yValueIncrease", precision = 20, scale = 4) + private Double yValueIncrease; + + @PropertyDef(label = "鏈勾鍘熷�肩疮璁″噺灏�") + @Column(name = "yValueDecrease", precision = 20, scale = 4) + private Double yValueDecrease; + + @PropertyDef(label = "鏈勾绱鎶樻棫璋冨") + @Column(name = "yAccuDeprIncrease", precision = 20, scale = 4) + private Double yAccuDeprIncrease; + + @PropertyDef(label = "鏈勾绱鎶樻棫璋冨噺") + @Column(name = "YAccuDeprDecrease", precision = 20, scale = 4) + private Double YAccuDeprDecrease; + + @PropertyDef(label = "鎿嶄綔鏍囧織") + @Column(name = "czbz", length = 1) + private String czbz; + + @JSONField(format = "yyyy-MM-dd HH:mm:ss") + @PropertyDef(label = "鏈�鍚庢洿鏂版椂闂�") + @Column(name = "zhgxsj") + private Date zhgxsj; + +} diff --git a/src/main/java/com/fzzy/api/service/ApiTriggerService.java b/src/main/java/com/fzzy/api/service/ApiTriggerService.java index 1ac7857..6dc7075 100644 --- a/src/main/java/com/fzzy/api/service/ApiTriggerService.java +++ b/src/main/java/com/fzzy/api/service/ApiTriggerService.java @@ -183,6 +183,7 @@ list.add(new ApiTrigger(PushProtocol.SB_SH_2021.getCode(), PushProtocol.SB_SH_2021.getName())); list.add(new ApiTrigger(PushProtocol.SB_SC_2021.getCode(), PushProtocol.SB_SC_2021.getName())); list.add(new ApiTrigger(PushProtocol.SB_GD_2022.getCode(), PushProtocol.SB_GD_2022.getName())); + list.add(new ApiTrigger(PushProtocol.SB_GD_2023.getCode(), PushProtocol.SB_GD_2023.getName())); list.add(new ApiTrigger(PushProtocol.SB_GD_2020.getCode(), PushProtocol.SB_GD_2020.getName())); list.add(new ApiTrigger(PushProtocol.SB_HN_2022.getCode(), PushProtocol.SB_HN_2022.getName())); list.add(new ApiTrigger(PushProtocol.SB_WHJL_2023.getCode(), PushProtocol.SB_WHJL_2023.getName())); diff --git a/src/main/resources/application-pro5329.yml b/src/main/resources/application-pro5329.yml index 40a7227..ebddec2 100644 --- a/src/main/resources/application-pro5329.yml +++ b/src/main/resources/application-pro5329.yml @@ -1,6 +1,6 @@ ########################## 骞夸笢浣涘北绂呭煄鍖� ########################## server: - port: 8095 + port: 8208 jetty: max-http-post-size: 209715200 tomcat: @@ -51,7 +51,7 @@ timeout: 6000 igds: default: - companyId: 5317 + companyId: 5329 - file-path: D:/IGDS-API/FILE/ - img-path: D:/IGDS/FILE/ \ No newline at end of file + file-path: C:/IGDS-API/FILE/ + img-path: C:/IGDS/FILE/ \ No newline at end of file diff --git a/src/main/resources/application-pro5354.yml b/src/main/resources/application-pro5354.yml index 238e04d..9e94d39 100644 --- a/src/main/resources/application-pro5354.yml +++ b/src/main/resources/application-pro5354.yml @@ -51,7 +51,7 @@ timeout: 6000 igds: default: - companyId: 5352 + companyId: 5354 file-path: D:/IGDS-API/FILE/ img-path: D:/IGDS/FILE/ \ No newline at end of file -- Gitblit v1.9.3