src/main/java/com/fzzy/api/Constant.java
@@ -136,9 +136,9 @@ */ public static String API_CODE_1212 = "1212"; /** * æ¥å£ç¼ç -1214 åºå ¥åºè®°å½ä¿¡æ¯æ°æ®æ¥å£ * æ¥å£ç¼ç -1213 å°ä»ç¡®è®¤å */ public static String API_CODE_1214 = "1214"; public static String API_CODE_1213 = "1213"; /** * æ¥å£ç¼ç -1301 å®å ¨ç®¡çæ°æ®æ¥å£ src/main/java/com/fzzy/api/entity/Api1101.java
@@ -112,6 +112,10 @@ @Column(name = "sjdwdm", length = 18) private String sjdwdm; @PropertyDef(label = "ä¸çº§åä½ç»ä¸ç¼ç ") @Column(name = "sjdwtybm", length = 20) private String sjdwtybm; @PropertyDef(label = "åºåºæ°") @Column(name = "kqs") private Integer kqs; src/main/java/com/fzzy/api/entity/Api1201.java
@@ -54,7 +54,7 @@ @Column(name = "ywlx", length = 1) private String ywlx; @PropertyDef(label = "ååç§ç±»") @PropertyDef(label = "ååç§ç±»" ,description = "1:éå®åå,2:éè´åå,3ï¼å§ææ¶å¨åå,4ï¼å§ææ¶è´åå") @Column(name = "htzl", length = 1) private String htzl; src/main/java/com/fzzy/api/entity/Api1202.java
@@ -97,6 +97,26 @@ @Column(name = "gch", length = 32) private String gch; @PropertyDef(label = "å®ç²®äºº") @Column(name = "slr", length = 200) private String slr; @PropertyDef(label = "å®ç²®äººèç³»æ¹å¼") @Column(name = "slrlxfs", length = 32) private String slrlxfs; @PropertyDef(label = "å®ç²®äººèº«ä»½è¯å·") @Column(name = "slrsfzh", length = 32) private String slrsfzh; @PropertyDef(label = "å®ç²®äººè´¦å·ï¼é¶è¡å¡æè´¦æ·ï¼") @Column(name = "slrzh", length = 32) private String slrzh; @PropertyDef(label = "å®ç²®äººå°å") @Column(name = "slrdz", length = 32) private String slrdz; @PropertyDef(label = "è£ ç²®å°ç¹") @Column(name = "ldd", length = 256) private String ldd; @@ -269,6 +289,14 @@ @Column(name = "rkjsdh", length = 33) private String rkjsdh; @PropertyDef(label = "çææ¹å¼") @Column(name = "scfs") private Integer scfs = 1; @PropertyDef(label = "æå¨è¡¥å½åå ") @Column(name = "sdblyy", length = 400) private String sdblyy; @PropertyDef(label = "夿³¨") @Column(name = "bz", length = 400) private String bz; src/main/java/com/fzzy/api/entity/Api1205.java
@@ -213,7 +213,7 @@ @PropertyDef(label = "çææ¹å¼") @Column(name = "scfs", length = 1) private String scfs; private Integer scfs; @PropertyDef(label = "æå¨è¡¥å½åå ") @Column(name = "sdblyy", length = 400) src/main/java/com/fzzy/api/entity/Api1207.java
@@ -35,7 +35,7 @@ @Column(name = "dcdh", length = 33) private String dcdh; @PropertyDef(label = "åä»ç±»å" ) @PropertyDef(label = "åä»ç±»å",description = "0-åä»ï¼1-ç§»åºï¼2-临æ¶è´§ä½å ¥ä»") @Column(name = "dclx", length = 1) private String dclx; src/main/java/com/fzzy/api/entity/Api1209.java
@@ -51,9 +51,21 @@ @Column(name = "ywrq") private Date ywrq; @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 = 6) private double rkjz; @PropertyDef(label = "å ¥åºæ°é(å ¬æ¤)") @Column(name = "rksl") private double rksl; @JSONField(format = "yyyy-MM-dd HH:mm:ss") @PropertyDef(label = "å ¥åºæ¶é´") @@ -85,50 +97,47 @@ @Column(name = "ckzz", precision = 20, scale = 6) private double ckzz; @PropertyDef(label = "åéææº¢æ°é(å ¬æ¤)") @PropertyDef(label = "å¨å¤æ¶é¿") @Column(name = "ccsc",precision = 3) private BigDecimal ccsc; @PropertyDef(label = "å®é ææº¢æ°é(å ¬æ¤)") @Column(name = "jzsysl", precision = 20, scale = 6) private double jzsysl; @PropertyDef(label = "å ¶ä¸ï¼æè´§ä½åæè(å ¬æ¤)") @Column(name = "qzchwqsh", precision = 20, scale = 6) private double qzchwqsh; @PropertyDef(label = "å ¶ä¸æ°´æåé(å ¬æ¤)") @PropertyDef(label = "æ°´æåé(å ¬æ¤)") @Column(name = "qzszkl", precision = 20, scale = 6) private double qzszkl; @PropertyDef(label = "å ¶ä¸ï¼èªç¶æèå®é¢(å ¬æ¤)") @PropertyDef(label = "èªç¶æèå®é¢(å ¬æ¤)") @Column(name = "qzzrshde", precision = 20, scale = 6) private double qzzrshde; @PropertyDef(label = "æ¯å¦è¶ è", description = "1:æ¯ï¼2ï¼å¦") @Column(name = "sfch") private Integer sfch; @PropertyDef(label = "è¶ èæ°é(å ¬æ¤)") @Column(name = "chsl", precision = 20, scale = 6) private double chsl; @PropertyDef(label = "æçæ¯å¦æ£å¸¸") @PropertyDef(label = "æçæ¯å¦æ£å¸¸",description = "0:æ£å¸¸ï¼1ï¼ä¸æ£å¸¸") @Column(name = "sysfzc", length = 1) private String sysfzc; @PropertyDef(label = "ææº¢ç±»å", description = "1:æèï¼2ï¼æå¤±ï¼3.å ¶ä»") @Column(name = "sylx", length = 1) private String sylx; @PropertyDef(label = "å¨å¤æ¶é¿") @Column(name = "ccsc",precision = 3) private BigDecimal ccsc; @PropertyDef(label = "æ¯å¦è¶ è", description = "1:æ¯ï¼2ï¼å¦") @Column(name = "sfch", length = 1) private String sfch; @PropertyDef(label = "ææº¢ç¯è", description = "1:å ¥åºææº¢ï¼2ï¼åºåºææº¢ï¼3.å ¶ä»") @Column(name = "syhj", length = 1) private String syhj; @PropertyDef(label = "ææº¢åå ") @Column(name = "syyy", length = 400) private String syyy; @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; src/main/java/com/fzzy/api/entity/Api1212.java
@@ -4,15 +4,10 @@ import com.bstek.dorado.annotation.PropertyDef; import lombok.Data; import lombok.EqualsAndHashCode; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; import javax.persistence.Table; import java.io.Serializable; import java.util.Date; @@ -22,7 +17,6 @@ @Data @Entity @Table(name = "API_1212") @EqualsAndHashCode(callSuper = false) public class Api1212 implements Serializable { src/main/java/com/fzzy/api/entity/Api1213.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 javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.Id; import javax.persistence.Table; import java.io.Serializable; import java.util.Date; /** * @Description æ¥å£è¡¨-å°ä»ç¡®è®¤å * @Author CZT * @Date 2024/11/1 10:26 */ @Data @Entity @Table(name = "API_1213") public class Api1213 implements Serializable { public static String SORT_PROP = "fcrq"; @Id @PropertyDef(label = "å°ä»ç¡®è®¤åå·", description = "2ä½ä¸å¡ç¼ç (21代表å°ä»)+yyMMdd+4ä½é¡ºåºç ï¼212405040001") @Column(name = "fcqrdh", length = 14) private String fcqrdh; @PropertyDef(label = "è´§ä½ä»£ç " ) @Column(name = "hwdm", length = 30) private String hwdm; @PropertyDef(label = "ç»ä¸è´§ä½ç¼ç ") @Column(name = "tyhwbm", length = 28) private String tyhwbm; @PropertyDef(label = "å°ä»æ¥æ") @JSONField(format = "yyyy-MM-dd") @Column(name = "fcrq") private Date fcrq; @PropertyDef(label = "ç²®é£åç§ä»£ç ") @Column(name = "lspzdm", length = 7) private String lspzdm; @PropertyDef(label = "ç²®é£æ§è´¨ä»£ç ") @Column(name = "lsxzdm", length = 3) private String lsxzdm; @PropertyDef(label = "ç²®é£ç级代ç ") @Column(name = "lsdjdm", length = 2) private String lsdjdm; @PropertyDef(label = "æ¶è·å¹´åº¦") @Column(name = "shnd", length = 4) private String shnd; @PropertyDef(label = "å½å«") @Column(name = "gb", length = 10) private String gb; @PropertyDef(label = "产å°") @Column(name = "cd", length = 6) private String cd; @PropertyDef(label = "ä¿ç®¡å") @Column(name = "bgy", length = 20) private String bgy; @PropertyDef(label = "å°ä»æ°é") @Column(name = "fcsl") private Double fcsl; @PropertyDef(label = "å°ä»ç³è¯·äºº") @Column(name = "fcsrq", length = 40) private String fcsrq; @PropertyDef(label = "é¨é¨å®¡æ ¸äºº") @Column(name = "bmshr", length = 40) private String bmshr; @PropertyDef(label = "é¢å¯¼å®¡æ ¸äºº") @Column(name = "ldshr", length = 40) private String ldshr; @PropertyDef(label = "夿³¨") @Column(name = "bz", length = 200) private String bz; @PropertyDef(label = "æä½æ å¿") @Column(name = "czbz", length = 1) private String czbz; @PropertyDef(label = "æåæ´æ°æ¶é´") @JSONField(format = "yyyy-MM-dd HH:mm:ss") @Column(name = "zhgxsj") private Date zhgxsj; @JSONField(serialize = false) @PropertyDef(label = "ä¸å¡id") @Column(name = "bizId", length = 40) private String bizId; @JSONField(serialize = false) @PropertyDef(label = "åºåºä»£ç ") @Column(name = "kqdm", length = 21) private String kqdm; @JSONField(serialize = false) @PropertyDef(label = "忥æ¶é´", description = "ä»ç²®åºç³»ç»åæ¥å°æ¥å£ç®¡çä¸å¿çæ¶é´") @Column(name = "syncTime") private Date syncTime; } src/main/java/com/fzzy/api/view/Api1101.view.xml
@@ -103,6 +103,10 @@ <Property></Property> <Property name="label">ä¸çº§åä½ä»£ç </Property> </PropertyDef> <PropertyDef name="sjdwtybm"> <Property></Property> <Property name="label">ä¸çº§åä½ç»ä¸ç¼ç </Property> </PropertyDef> <PropertyDef name="kqs"> <Property name="dataType">Integer</Property> <Property name="label">åºåºæ°</Property> @@ -630,6 +634,11 @@ <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">sjdwtybm</Property> <Property name="property">sjdwtybm</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">kqs</Property> <Property name="property">kqs</Property> <Editor/> src/main/java/com/fzzy/api/view/Api1201.view.xml
@@ -42,6 +42,34 @@ <Property name="valueProperty">name</Property> </Property> </PropertyDef> <PropertyDef name="htzl"> <Property></Property> <Property name="label">ååç§ç±»</Property> <Property name="mapping"> <Property name="keyProperty">key</Property> <Property name="valueProperty">value</Property> <Property name="mapValues"> <Collection> <Entity> <Property name="key">1</Property> <Property name="value">1:éå®åå</Property> </Entity> <Entity> <Property name="key">2</Property> <Property name="value">2:éè´åå</Property> </Entity> <Entity> <Property name="key">3</Property> <Property name="value">3ï¼å§ææ¶å¨åå</Property> </Entity> <Entity> <Property name="key">4</Property> <Property name="value">4ï¼å§ææ¶è´åå</Property> </Entity> </Collection> </Property> </Property> </PropertyDef> <PropertyDef name="khlx"> <Property></Property> <Property name="label">客æ·ç±»å</Property> @@ -211,6 +239,38 @@ <PropertyDef name="wcrq"> <Property name="dataType">Date</Property> <Property name="label">å®ææ¥æ</Property> </PropertyDef> <PropertyDef name="ysfs"> <Property></Property> <Property name="label">éªæ¶æ¹å¼</Property> </PropertyDef> <PropertyDef name="fkfs"> <Property></Property> <Property name="label">仿¬¾æ¹å¼</Property> <Property name="mapping"> <Property name="keyProperty">key</Property> <Property name="valueProperty">value</Property> <Property name="mapValues"> <Collection> <Entity> <Property name="key">1</Property> <Property name="value">1ï¼å ¨é¢å 款åè´§</Property> </Entity> <Entity> <Property name="key">2</Property> <Property name="value">2ï¼æå°æ¬¾è¿åº¦éæ¹åè´§</Property> </Entity> <Entity> <Property name="key">3</Property> <Property name="value">3ï¼è´§å°å¹¶ç¡®è®¤å䏿¬¡æ§ä»æ¬¾</Property> </Entity> <Entity> <Property name="key">4</Property> <Property name="value">4ï¼æå°è´§æ¹æ¬¡éæ¹ç¡®è®¤ã鿹仿¬¾</Property> </Entity> </Collection> </Property> </Property> </PropertyDef> <PropertyDef name="zhgxsj"> <Property></Property> @@ -503,6 +563,11 @@ <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">htzl</Property> <Property name="property">htzl</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">khlx</Property> <Property name="property">khlx</Property> <Editor/> @@ -678,6 +743,16 @@ <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">ysfs</Property> <Property name="property">ysfs</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">fkfs</Property> <Property name="property">fkfs</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">zhgxsj</Property> <Property name="property">zhgxsj</Property> <Editor/> src/main/java/com/fzzy/api/view/Api1202.view.xml
@@ -84,6 +84,26 @@ <Property></Property> <Property name="label">æè½¦å·</Property> </PropertyDef> <PropertyDef name="slr"> <Property></Property> <Property name="label">å®ç²®äºº</Property> </PropertyDef> <PropertyDef name="slrlxfs"> <Property></Property> <Property name="label">å®ç²®äººèç³»æ¹å¼</Property> </PropertyDef> <PropertyDef name="slrsfzh"> <Property></Property> <Property name="label">å®ç²®äººèº«ä»½è¯å·</Property> </PropertyDef> <PropertyDef name="slrzh"> <Property></Property> <Property name="label">å®ç²®äººè´¦å·</Property> </PropertyDef> <PropertyDef name="slrdz"> <Property></Property> <Property name="label">å®ç²®äººå°å</Property> </PropertyDef> <PropertyDef name="ldd"> <Property></Property> <Property name="label">è£ ç²®å°ç¹</Property> @@ -267,6 +287,30 @@ <PropertyDef name="rkjsdh"> <Property></Property> <Property name="label">å ¥åºç»ç®åå·</Property> </PropertyDef> <PropertyDef name="scfs"> <Property name="dataType">Integer</Property> <Property name="label">çææ¹å¼</Property> <Property name="mapping"> <Property name="keyProperty">key</Property> <Property name="valueProperty">value</Property> <Property name="mapValues"> <Collection> <Entity> <Property name="key">1</Property> <Property name="value">1ï¼æµç¨çæ</Property> </Entity> <Entity> <Property name="key">2</Property> <Property name="value">2ï¼æå¨è¡¥å½</Property> </Entity> </Collection> </Property> </Property> </PropertyDef> <PropertyDef name="sdblyy"> <Property></Property> <Property name="label">æå¨è¡¥å½åå </Property> </PropertyDef> <PropertyDef name="bz"> <Property></Property> @@ -642,6 +686,31 @@ <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">slr</Property> <Property name="property">slr</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">slrlxfs</Property> <Property name="property">slrlxfs</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">slrsfzh</Property> <Property name="property">slrsfzh</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">slrzh</Property> <Property name="property">slrzh</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">slrdz</Property> <Property name="property">slrdz</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">ldd</Property> <Property name="property">ldd</Property> <Editor/> @@ -853,6 +922,16 @@ <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">scfs</Property> <Property name="property">scfs</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">sdblyy</Property> <Property name="property">sdblyy</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">bz</Property> <Property name="property">bz</Property> <Editor/> src/main/java/com/fzzy/api/view/Api1205.view.xml
@@ -202,6 +202,34 @@ <Property></Property> <Property name="label">åºåºç»ç®åå·</Property> </PropertyDef> <PropertyDef name="zjbgdh"> <Property></Property> <Property name="label">è´¨æ£æ¥ååå·</Property> </PropertyDef> <PropertyDef name="scfs"> <Property name="dataType">Integer</Property> <Property name="label">çææ¹å¼</Property> <Property name="mapping"> <Property name="keyProperty">key</Property> <Property name="valueProperty">value</Property> <Property name="mapValues"> <Collection> <Entity> <Property name="key">1</Property> <Property name="value">1ï¼æµç¨çæ</Property> </Entity> <Entity> <Property name="key">2</Property> <Property name="value">2ï¼æå¨è¡¥å½</Property> </Entity> </Collection> </Property> </Property> </PropertyDef> <PropertyDef name="sdblyy"> <Property></Property> <Property name="label">æå¨è¡¥å½åå </Property> </PropertyDef> <PropertyDef name="bz"> <Property></Property> <Property name="label">夿³¨</Property> @@ -676,6 +704,21 @@ <Property name="property">ckjsdh</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">zjbgdh</Property> <Property name="property">zjbgdh</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">scfs</Property> <Property name="property">scfs</Property> <Editor/> </AutoFormElement> <AutoFormElement layoutConstraint="colSpan:3"> <Property name="name">sdblyy</Property> <Property name="property">sdblyy</Property> <Editor/> </AutoFormElement> <AutoFormElement layoutConstraint="colSpan:3"> <Property name="name">bz</Property> <Property name="property">bz</Property> src/main/java/com/fzzy/api/view/Api1209.view.xml
@@ -46,6 +46,10 @@ <Property name="dataType">double</Property> <Property name="label">å ¥åºåé(å ¬æ¤)</Property> </PropertyDef> <PropertyDef name="rksl"> <Property name="dataType">double</Property> <Property name="label">å ¥åºæ°é(å ¬æ¤)</Property> </PropertyDef> <PropertyDef name="rksj"> <Property></Property> <Property name="label">å ¥åºæ¶é´</Property> @@ -78,19 +82,15 @@ </PropertyDef> <PropertyDef name="jzsysl"> <Property name="dataType">double</Property> <Property name="label">åéææº¢æ°é(å ¬æ¤)</Property> </PropertyDef> <PropertyDef name="qzchwqsh"> <Property name="dataType">double</Property> <Property name="label">å ¶ä¸ï¼æè´§ä½åæè(å ¬æ¤)</Property> <Property name="label">å®é ææº¢æ°é(å ¬æ¤)</Property> </PropertyDef> <PropertyDef name="qzszkl"> <Property name="dataType">double</Property> <Property name="label">å ¶ä¸æ°´æåé(å ¬æ¤)</Property> <Property name="label">æ°´æåé(å ¬æ¤)</Property> </PropertyDef> <PropertyDef name="qzzrshde"> <Property name="dataType">double</Property> <Property name="label">å ¶ä¸ï¼èªç¶æèå®é¢(å ¬æ¤)</Property> <Property name="label">èªç¶æèå®é¢(å ¬æ¤)</Property> </PropertyDef> <PropertyDef name="chsl"> <Property name="dataType">double</Property> @@ -143,15 +143,19 @@ <Collection> <Entity> <Property name="key">1</Property> <Property name="value">1:æè</Property> <Property name="value">1:æå¤±</Property> </Entity> <Entity> <Property name="key">2</Property> <Property name="value">2:æå¤±</Property> <Property name="value">2:æè</Property> </Entity> <Entity> <Property name="key">3</Property> <Property name="value">3:溢ä½</Property> </Entity> <Entity> <Property name="key">4</Property> <Property name="value">4:å ¶ä»</Property> </Entity> </Collection> </Property> @@ -190,8 +194,48 @@ <Property name="label">å¨å¤æ¶é¿</Property> </PropertyDef> <PropertyDef name="sfch"> <Property/> <Property name="dataType">Integer</Property> <Property name="label">æ¯å¦è¶ è</Property> <Property name="mapping"> <Property name="keyProperty">key</Property> <Property name="valueProperty">value</Property> <Property name="mapValues"> <Collection> <Entity> <Property name="key">1</Property> <Property name="value">1:æ¯</Property> </Entity> <Entity> <Property name="key">2</Property> <Property name="value">2:å¦</Property> </Entity> </Collection> </Property> </Property> </PropertyDef> <PropertyDef name="cqqrbs"> <Property name="dataType">Integer</Property> <Property name="label">åºæ¸ 确认æ è¯</Property> <Property name="mapping"> <Property name="keyProperty">key</Property> <Property name="valueProperty">value</Property> <Property name="mapValues"> <Collection> <Entity> <Property name="key">0</Property> <Property name="value">0:æªå®æåºæ¸ 确认</Property> </Entity> <Entity> <Property name="key">1</Property> <Property name="value">1:å·²å®æåºæ¸ 确认</Property> </Entity> </Collection> </Property> </Property> </PropertyDef> <PropertyDef name="cqqrsj"> <Property name="dataType">DateTime</Property> <Property name="label">åºæ¸ 确认æ¶é´</Property> </PropertyDef> </DataType> <DataType name="dtParam"> @@ -473,6 +517,11 @@ <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">rksl</Property> <Property name="property">rksl</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">rksj</Property> <Property name="property">rksj</Property> <Editor/> @@ -513,11 +562,6 @@ <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">qzchwqsh</Property> <Property name="property">qzchwqsh</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">qzszkl</Property> <Property name="property">qzszkl</Property> <Editor/> @@ -525,6 +569,11 @@ <AutoFormElement> <Property name="name">qzzrshde</Property> <Property name="property">qzzrshde</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">sfch</Property> <Property name="property">sfch</Property> <Editor/> </AutoFormElement> <AutoFormElement> @@ -598,8 +647,13 @@ <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">sfch</Property> <Property name="property">sfch</Property> <Property name="name">cqqrbs</Property> <Property name="property">cqqrbs</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">cqqrsj</Property> <Property name="property">cqqrsj</Property> <Editor/> </AutoFormElement> </AutoForm> src/main/java/com/fzzy/api/view/Api1213.view.xml
ÎļþÃû´Ó src/main/java/com/fzzy/otherview/gd2022/GdApi2001.view.xml ÐÞ¸Ä @@ -4,26 +4,18 @@ <Context/> <Model> <DataType name="dtMain"> <Property name="creationType">com.fzzy.push.gd2022.dto.Gd2022Api2001</Property> <Property name="creationType">com.fzzy.api.entity.Api1213</Property> <PropertyDef name="fcqrdh"> <Property></Property> <Property name="label">å°ä»ç¡®è®¤åå·</Property> </PropertyDef> <PropertyDef name="cfdm"> <PropertyDef name="hwdm"> <Property></Property> <Property name="label">仿¿ä»£ç </Property> <Property name="label">è´§ä½ä»£ç </Property> </PropertyDef> <PropertyDef name="tycfbm"> <PropertyDef name="tyhwbm"> <Property></Property> <Property name="label">ç»ä¸ä»æ¿ç¼ç </Property> </PropertyDef> <PropertyDef name="ajdm"> <Property></Property> <Property name="label">å»é´ä»£ç </Property> </PropertyDef> <PropertyDef name="tyajbm"> <Property></Property> <Property name="label">ç»ä¸å»é´ç¼ç </Property> <Property name="label">ç»ä¸è´§ä½ç¼ç </Property> </PropertyDef> <PropertyDef name="fcrq"> <Property name="dataType">Date</Property> @@ -109,6 +101,14 @@ <Property name="dataType">DateTime</Property> <Property name="label">æåæ´æ°æ¶é´</Property> </PropertyDef> <PropertyDef name="kqdm"> <Property></Property> <Property name="label">åºåºä»£ç </Property> </PropertyDef> <PropertyDef name="bizId"> <Property></Property> <Property name="label">ä¸å¡id</Property> </PropertyDef> </DataType> <DataType name="dtParam"> <Property name="creationType">com.fzzy.api.data.ApiParam</Property> @@ -139,7 +139,7 @@ <Property name="packages">font-awesome,css-common</Property> <DataSet id="dsMain"> <Property name="dataType">[dtMain]</Property> <Property name="dataProvider">gDApi2001PR#listData</Property> <Property name="dataProvider">api1213PR#pageList</Property> <Property name="pageSize">15</Property> </DataSet> <DataSet id="dsQuery"> @@ -278,13 +278,18 @@ <Property name="width">180</Property> <Property name="align">center</Property> </DataColumn> <DataColumn name="cfdm"> <Property name="property">cfdm</Property> <DataColumn name="kqdm"> <Property name="property">kqdm</Property> <Property name="width">210</Property> <Property name="align">center</Property> </DataColumn> <DataColumn name="ajdm"> <Property name="property">ajdm</Property> <DataColumn name="hwdm"> <Property name="property">hwdm</Property> <Property name="width">210</Property> <Property name="align">center</Property> </DataColumn> <DataColumn name="tyhwbm"> <Property name="property">tyhwbm</Property> <Property name="width">230</Property> <Property name="align">center</Property> </DataColumn> @@ -369,23 +374,13 @@ <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">cfdm</Property> <Property name="property">cfdm</Property> <Property name="name">hwdm</Property> <Property name="property">hwdm</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">tycfbm</Property> <Property name="property">tycfbm</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">ajdm</Property> <Property name="property">ajdm</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">tyajbm</Property> <Property name="property">tyajbm</Property> <Property name="name">tyhwbm</Property> <Property name="property">tyhwbm</Property> <Editor/> </AutoFormElement> <AutoFormElement> @@ -463,6 +458,16 @@ <Property name="property">zhgxsj</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">kqdm</Property> <Property name="property">kqdm</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">bizId</Property> <Property name="property">bizId</Property> <Editor/> </AutoFormElement> </AutoForm> </Children> </FieldSet> @@ -470,22 +475,22 @@ <Tools/> </Dialog> <UpdateAction id="updateSave"> <Property name="dataResolver">gDApi2001PR#saveData</Property> <Property name="dataResolver">api1213PR#updateSave</Property> <UpdateItem> <Property name="dataPath">[#current]</Property> <Property name="dataSet">dsMain</Property> </UpdateItem> </UpdateAction> <AjaxAction id="ajaxPush"> <Property name="service">gDApi2001PR#pushData</Property> <Property name="service">api1213PR#pushData</Property> <Property name="confirmMessage">ç¡®å®è¦ä¸æ¥ä¹ï¼</Property> </AjaxAction> <AjaxAction id="ajaxDel"> <Property name="service">gDApi2001PR#delData</Property> <Property name="service">api1213PR#delData</Property> <Property name="confirmMessage">å½åæ°æ®å é¤åæ æ³æ¢å¤ï¼è¯·ç¡®è®¤è¦å é¤ä¹ï¼</Property> </AjaxAction> <AjaxAction id="ajaxDelUpdate"> <Property name="service">gDApi2001PR#delUpdate</Property> <Property name="service">api1213PR#delUpdate</Property> <Property name="confirmMessage">ç¡®å®è¦å°æ°æ®æ 记为å é¤ä¹ï¼</Property> </AjaxAction> </View> src/main/java/com/fzzy/api/view/pr/Api1213PR.java
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,236 @@ package com.fzzy.api.view.pr; import com.bstek.dorado.annotation.DataProvider; import com.bstek.dorado.annotation.DataResolver; import com.bstek.dorado.annotation.Expose; import com.bstek.dorado.data.provider.Page; import com.fzzy.api.Constant; import com.fzzy.api.data.ApiParam; import com.fzzy.api.dto.ResponseDto; import com.fzzy.api.entity.Api1213; import com.fzzy.api.entity.ApiConfs; import com.fzzy.api.service.ApiCommonService; import com.fzzy.api.service.ApiPushManager; import com.fzzy.api.service.ApiRemoteService; import com.fzzy.api.utils.ContextUtil; import com.fzzy.api.view.repository.Api1213Rep; import lombok.extern.slf4j.Slf4j; import org.apache.commons.lang.StringUtils; import org.springframework.beans.BeanUtils; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.data.domain.PageRequest; import org.springframework.data.domain.Pageable; import org.springframework.data.domain.Sort; import org.springframework.data.jpa.domain.Specification; import org.springframework.stereotype.Component; import javax.persistence.criteria.CriteriaBuilder; import javax.persistence.criteria.CriteriaQuery; import javax.persistence.criteria.Predicate; import javax.persistence.criteria.Root; import java.util.ArrayList; import java.util.List; /** * @Description å°ä»ç¡®è®¤å * @Author CZT * @Date 2024/11/1 10:40 */ @Slf4j @Component public class Api1213PR { @Autowired private Api1213Rep apiRepository; @Autowired private ApiCommonService apiCommonService; @Autowired private ApiPushManager apiPushManager; /** * api1213PR#pageList * * @return */ @DataProvider public void pageList(Page<Api1213> page, ApiParam param) { //å¤åæ°å页æ¥è¯¢ Pageable pageable = PageRequest.of(page.getPageNo() - 1, page.getPageSize(), Sort.Direction.DESC, Api1213.SORT_PROP); if (null == param) { org.springframework.data.domain.Page<Api1213> japPage = apiRepository.findAll(pageable); page.setEntityCount((int) japPage.getTotalElements()); page.setEntities(japPage.getContent()); return; } Specification<Api1213> specification = new Specification<Api1213>() { private static final long serialVersionUID = 1L; public Predicate toPredicate(Root<Api1213> root, CriteriaQuery<?> query, CriteriaBuilder cb) { List<Predicate> predicates = new ArrayList<>(); //ææçæè¨ if (StringUtils.isNotBlank(param.getKqdm())) { Predicate predicate1 = cb.equal(root.get("kqdm"), param.getKqdm()); predicates.add(predicate1); } if (StringUtils.isNotBlank(param.getCzbz())) { Predicate predicate2 = cb.equal(root.get("czbz"), param.getCzbz()); predicates.add(predicate2); } if (null != param.getStart()) { Predicate predicate3 = cb.greaterThan(root.get("zhgxsj"), ContextUtil.getCurZero(param.getStart())); predicates.add(predicate3); } if (null != param.getEnd()) { Predicate predicate4 = cb.lessThan(root.get("zhgxsj"), ContextUtil.getNextZero(param.getEnd())); predicates.add(predicate4); } return cb.and(predicates.toArray(new Predicate[0])); } }; log.debug("---------å页忰æ¥è¯¢----------{}", param.toString()); org.springframework.data.domain.Page<Api1213> japPage = apiRepository.findAll(specification, pageable); page.setEntityCount((int) japPage.getTotalElements()); page.setEntities(japPage.getContent()); } /** * Api1213PR#updateSave * * @param entity */ @DataResolver public void updateSave(Api1213 entity) { if (StringUtils.isEmpty(entity.getCzbz())) { entity.setCzbz(Constant.CZBZ_I); } //æå¨å°doradoEntity对象转æ¢ä¸ºæ åBean对象 Api1213 data = new Api1213(); BeanUtils.copyProperties(entity, data); if(StringUtils.isEmpty(data.getFcqrdh())){ data.setFcqrdh(ContextUtil.getUUID()); } apiRepository.save(data); } /** * Api1213PR#delData * * @param data */ @Expose public String delData(Api1213 data) { if(null == data) return "æ æ°æ®æ§è¡"; apiRepository.deleteById(data.getFcqrdh()); return null; } /** * æ´æ°å 餿 è®° Api1213PR#delUpdate * * @param entity */ @Expose public String delUpdate(Api1213 entity) { if(null == entity) return "æ æ°æ®æ§è¡"; entity.setCzbz(Constant.CZBZ_D); Api1213 data = new Api1213(); BeanUtils.copyProperties(entity, data); apiRepository.save(data); return null; } /** * Api1213PR#pushData * * @param items */ @Expose public String pushData(List<Api1213> items) { String kqdm = items.get(0).getKqdm(); ApiConfs apiConf = apiCommonService.getConf(kqdm); if (null == apiConf) return "ç³»ç»æ²¡æè·åå°å½ååºåºé 置信æ¯ï¼æ§è¡å¤±è´¥"; //è·åå®ç°æ¥å£ ApiRemoteService apiService = apiPushManager.getApiRemoteService(apiConf.getPushProtocol()); if (null == apiService) return "ç³»ç»æ²¡æå½åæ¨éåè®®é ç½®ï¼æ§è¡å¤±è´¥"; return pushDataSingle(items, apiService, apiConf); } /** * åæ¡æ°æ®jsonæ¨é * * @param items * @param apiService * @param apiConf * @return */ private String pushDataSingle(List<Api1213> items, ApiRemoteService apiService, ApiConfs apiConf) { ResponseDto responseDto; String result = ""; //å°è£ åæ° ApiParam param = new ApiParam(apiConf, Constant.API_CATEGORY_12, Constant.API_CODE_1212); Api1213 d; for (Api1213 data : items) { d = new Api1213(); BeanUtils.copyProperties(data, d); responseDto = apiService.pushData(param, apiConf, d); result += responseDto.toString(); if (responseDto.getSuccess() == 0) { //todo 代表ä¸ä¼ æå ,åæéè¦ä¿åæ¥å¿ if ("i".equals(d.getCzbz())) { apiRepository.updateStatus(d.getFcqrdh(), Constant.CZBZ_U); } } } return result; } /** * 夿¡æ°æ®jsonæ¨é * * @param items * @param apiRemoteService * @param apiConf * @return */ private String pushDataList(List<Api1213> items, ApiRemoteService apiRemoteService, ApiConfs apiConf) { //å°è£ åæ° ApiParam param = new ApiParam(apiConf, Constant.API_CATEGORY_12, Constant.API_CODE_1212); //æ¨éï¼æ°æ®ä¸ºéåå½¢å¼ ResponseDto responseDto = apiRemoteService.pushData(param, apiConf, items); if (responseDto.getSuccess() == 0) { //æ¨éæåï¼æ´æ°æ°æ®ä¸ä¼ ç¶æ for (Api1213 data : items) { if (Constant.CZBZ_I.equals(data.getCzbz())) { //æ´æ°ç¶æ apiRepository.updateStatus(data.getFcqrdh(), Constant.CZBZ_U); } } } return responseDto.toString(); } } src/main/java/com/fzzy/api/view/repository/Api1213Rep.java
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,32 @@ package com.fzzy.api.view.repository; import com.fzzy.api.entity.Api1213; import org.springframework.data.jpa.repository.JpaRepository; import org.springframework.data.jpa.repository.JpaSpecificationExecutor; import org.springframework.data.jpa.repository.Modifying; import org.springframework.data.jpa.repository.Query; import org.springframework.data.repository.query.Param; import org.springframework.transaction.annotation.Transactional; import java.util.Date; import java.util.List; /** * @Description å°ä»ç¡®è®¤å * @Author CZT * @Date 2024/11/1 10:42 */ public interface Api1213Rep extends JpaRepository<Api1213, String>, JpaSpecificationExecutor<Api1213> { @Transactional @Modifying @Query("update Api1213 set czbz =:czbz where fcqrdh=:fcqrdh") void updateStatus(@Param("fcqrdh") String fcqrdh, @Param("czbz") String czbz); @Query("from Api1213 where kqdm=:kqdm and zhgxsj >=:start and zhgxsj <:end order by zhgxsj ") List<Api1213> findPushDataByTime(@Param("kqdm") String kqdm, @Param("start") Date start, @Param("end") Date end); @Query("from Api1213 where fcqrdh=:fcqrdh ") List<Api1213> getDataById(@Param("fcqrdh") String fcqrdh); } src/main/java/com/fzzy/async/fzzy40/impl/Fzzy40Sync1202.java
@@ -160,6 +160,13 @@ apiData.setDjsj(sysData.getRegisterTime()); //çææ¹å¼ apiData.setScfs(1); if(StringUtils.isNotEmpty(sysData.getRecordStatus()) && sysData.getRecordStatus().equals("ADD")){ apiData.setScfs(2); apiData.setSdblyy("åºåºåçµå¯¼è´æ æ³ææµç¨è¿è¡åºåº"); } //ç²®é£åç§ String mappingCode = apiTriggerService.getMappingCode(Constant.TRIGGER_P_LSPZ, sysData.getFoodVariety().substring(0, 3)); apiData.setLspzdm(mappingCode); src/main/java/com/fzzy/async/fzzy40/impl/Fzzy40Sync1205.java
@@ -164,11 +164,11 @@ apiData.setZjbgdh(dataByHwdm.get(0).getZjbgdh()); //çææ¹å¼ apiData.setScfs(sysData.getRecordStatus().equals("ADD") ? "2" : "1"); //æå¨è¡¥å½åå apiData.setSdblyy("åºåºåçµï¼æ æ³ä¸ä¼ "); apiData.setScfs(1); if(StringUtils.isNotEmpty(sysData.getRecordStatus()) && sysData.getRecordStatus().equals("ADD")){ apiData.setScfs(2); apiData.setSdblyy("åºåºåçµå¯¼è´æ æ³ææµç¨è¿è¡åºåº"); } //ç²®é£æ§è´¨ mappingCode = apiTriggerService.getMappingCode(Constant.TRIGGER_P_LSXZ, sysData.getFoodType()); src/main/java/com/fzzy/async/fzzy40/impl/Fzzy40Sync1209.java
@@ -110,12 +110,14 @@ apiData.setRkzz(sysData.getRkzz()); apiData.setCksf(sysData.getCksf()); apiData.setCkzz(sysData.getCkzz()); apiData.setQzchwqsh(0); apiData.setQzszkl(0); apiData.setQzzrshde(0); apiData.setChsl(0); apiData.setQzszkl(sysData.getQzszkl()); apiData.setQzzrshde(sysData.getQzzrshde()); apiData.setChsl(sysData.getChsl()); apiData.setSysfzc(StringUtils.isEmpty(sysData.getSysfzc()) ? "0" : sysData.getSysfzc()); apiData.setSfch("0".equals(apiData.getSysfzc()) ? "2" : "1"); apiData.setSfch(2); if(apiData.getJzsysl() > apiData.getQzszkl()){ apiData.setSfch(1); } apiData.setSyyy(sysData.getSyyy()); apiData.setCcshr(StringUtils.isEmpty(sysData.getCcshr()) ? "å®¡æ ¸äºº" : sysData.getCcshr()); apiData.setZjshr(StringUtils.isEmpty(sysData.getZjshr()) ? "å®¡æ ¸äºº" : sysData.getZjshr()); src/main/java/com/fzzy/async/whhpjl/impl/Fz40ToWhjlSync1214.java
@@ -50,7 +50,7 @@ apiLog.setType(ApiLog.TYPE_SYNC); apiLog.setKqdm(deptId); apiLog.setUploadTime(new Date()); apiLog.setInteId(Constant.API_CODE_1214); apiLog.setInteId("1214"); apiLog.setStatus(99); apiLog.setId(ContextUtil.getUUID()); try { src/main/java/com/fzzy/otherview/gd2022/GdApi2002.view.xml
ÎļþÒÑɾ³ý src/main/java/com/fzzy/otherview/gd2022/pr/GDApi2001PR.java
ÎļþÒÑɾ³ý src/main/java/com/fzzy/otherview/gd2022/pr/GDApi2002PR.java
ÎļþÒÑɾ³ý src/main/java/com/fzzy/otherview/sh2023/pr/SHApi1311PR.java
@@ -119,6 +119,7 @@ if (apiInfoList.size() != 0) { infoData = apiInfoList.get(0); infoData.setData(JSON.toJSONString(data)); infoData.setCzbz(data.getCzbz()); } else { infoData = new ApiInfoData(); infoData.setId(ContextUtil.getUUID()); src/main/java/com/fzzy/push/gd2023/dto/Gd2023Api1209.java
@@ -85,7 +85,7 @@ private Double qzzrshde; @PropertyDef(label = "æ¯å¦è¶ è" ) private String sfch; private Integer sfch; @PropertyDef(label = "è¶ èæ°é(å ¬æ¤)" ) private Double chsl; @@ -97,10 +97,11 @@ private String syyy; @PropertyDef(label = "åºæ¸ 确认æ è¯" ) private String cqqrbs; private Integer cqqrbs; @PropertyDef(label = "åºæ¸ 确认æ¶é´" ) private String cqqrsj; @JSONField(format = "yyyy-MM-dd HH:mm:ss") private Date cqqrsj; @PropertyDef(label = "ä»å¨å®¡æ ¸äºº" ) private String ccshr; src/main/java/com/fzzy/push/impl/ComPushService12.java
@@ -46,7 +46,8 @@ private Api1211Rep api1211Rep; @Autowired private Api1212Rep api1212Rep; @Autowired private Api1213Rep api1213Rep; /** * 1109 æä»¶ä¿¡æ¯åæ¥ */ @@ -427,4 +428,32 @@ } } } /** * 1213 å°ä»ç¡®è®¤å */ public void pushData1213(ApiRemoteService apiRemoteService, ApiParam param) { //è·å客æ·ä¿¡æ¯ List<Api1213> list = api1213Rep.findPushDataByTime(param.getKqdm(), param.getStart(), param.getEnd()); if (null == list || list.isEmpty()) { log.error("-----æªè·åå°å®¢æ·ä¿¡æ¯ï¼ä¸æ¨é-----"); return; } param.setInteCategory(Constant.API_CATEGORY_12); param.setInteId(Constant.API_CODE_1213); ResponseDto responseDto; for (Api1213 data : list) { param.setBizId(data.getBizId()); responseDto = apiRemoteService.pushData(param, data); if (responseDto.getSuccess() == 0) { if (Constant.CZBZ_I.equals(data.getCzbz())) { data.setCzbz(Constant.CZBZ_U); //æ´æ°ç¶æ api1213Rep.save(data); } } } } } src/main/resources/application.yml
@@ -1,7 +1,7 @@ ########################## Server ########################## spring: profiles: active: pro active: dev application: name: igds-api main: src/main/resources/templates/home/home.html
@@ -211,6 +211,9 @@ <dd> <a lay-href="com.fzzy.api.view.Api1212.d">客æ·ä¿¡æ¯</a> </dd> <dd> <a lay-href="com.fzzy.api.view.Api1213.d">å°ä»ç¡®è®¤å</a> </dd> </dl> </li>