| | |
| | | * æ¥å£ç¼ç -1213 å°ä»ç¡®è®¤å |
| | | */ |
| | | public static String API_CODE_1213 = "1213"; |
| | | |
| | | /** |
| | | * æ¥å£ç¼ç -1214 å¨å¤ç²®ç©ºä»éªæ¶è¡¨ |
| | | */ |
| | | public static String API_CODE_1214 = "1214"; |
| | | /** |
| | | * æ¥å£ç¼ç -1215 å¨å¤æ²¹ç©ºç½éªæ¶è¡¨ |
| | | */ |
| | | public static String API_CODE_1215 = "1215"; |
| | | /** |
| | | * æ¥å£ç¼ç -1216 å¨å¤ç²®åä»éªæ¶è¡¨ |
| | | */ |
| | | public static String API_CODE_1216 = "1216"; |
| | | /** |
| | | * æ¥å£ç¼ç -1217 è½®æ¢éªæ¶ä¿¡æ¯ |
| | | */ |
| | | public static String API_CODE_1217 = "1217"; |
| | | /** |
| | | * æ¥å£ç¼ç -1218 å
¥åºææ¬æ ¸å®è¡¨ |
| | | */ |
| | | public static String API_CODE_1218 = "1218"; |
| | | /** |
| | | * æ¥å£ç¼ç -1219 å
¥åºææ¬æ ¸å®æç»è¡¨ |
| | | */ |
| | | public static String API_CODE_1219 = "1219"; |
| | | /** |
| | | * æ¥å£ç¼ç -1301 å®å
¨ç®¡çæ°æ®æ¥å£ |
| | | */ |
| ¶Ô±ÈÐÂÎļþ |
| | |
| | | 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 2025/10/31 10:06 |
| | | */ |
| | | @Data |
| | | @Entity |
| | | @Table(name = "API_1214") |
| | | public class Api1214 extends ApiParent implements Serializable { |
| | | |
| | | public static String SORT_PROP = "kcysdh"; |
| | | |
| | | @Id |
| | | @PropertyDef(label = "空ä»éªæ¶åå·", description = "éªæ¶ç³è¯·æ¥æyyyyMMdd + 4ä½é¡ºåºå·") |
| | | @Column(name = "kcysdh", length = 14) |
| | | private String kcysdh; |
| | | |
| | | @PropertyDef(label = "è´§ä½ä»£ç " ) |
| | | @Column(name = "hwdm", length = 30) |
| | | private String hwdm; |
| | | |
| | | @PropertyDef(label = "æååç§ä»£ç ") |
| | | @Column(name = "lspzdm", length = 7) |
| | | private String lspzdm; |
| | | |
| | | @PropertyDef(label = "ç²®é£ç级代ç ") |
| | | @Column(name = "lsdjdm", length = 2) |
| | | private String lsdjdm; |
| | | |
| | | @PropertyDef(label = "设计ä»å®¹") |
| | | @Column(name = "sjcr", precision = 20, scale = 3) |
| | | private Double sjcr; |
| | | |
| | | @PropertyDef(label = "å®é
å¨ç²®åç§æå¤§ä»å®¹") |
| | | @Column(name = "sjclzdcr", precision = 20, scale = 3) |
| | | private Double sjclzdcr; |
| | | |
| | | @PropertyDef(label = "æå¨ç²®æ°é") |
| | | @Column(name = "jysj", precision = 20, scale = 3) |
| | | private Double jysj; |
| | | |
| | | @PropertyDef(label = "å¨åæ¹å¼", description = "1-å
è£
2-æ£è£
3-å
å´æ£å") |
| | | @Column(name = "jydw", length = 1) |
| | | private String jydw; |
| | | |
| | | @PropertyDef(label = "仿¿å°åªå®å¥½æ
åµ") |
| | | @Column(name = "dpwhqk", length = 128) |
| | | private String dpwhqk; |
| | | |
| | | @PropertyDef(label = "仿¿å¢ä½å®å¥½æ
åµ") |
| | | @Column(name = "qtwhqk", length = 128) |
| | | private String qtwhqk; |
| | | |
| | | @PropertyDef(label = "仿¿å±é¢å®å¥½æ
åµ") |
| | | @Column(name = "wmwhqk", length = 128) |
| | | private String wmwhqk; |
| | | |
| | | @PropertyDef(label = "仿¿é¨çªå®å¥½æ
åµ") |
| | | @Column(name = "mcwhqk", length = 128) |
| | | private String mcwhqk; |
| | | |
| | | @PropertyDef(label = "仿¿æ¯å¦æ
èªæ¹å仿¿ç»æ") |
| | | @Column(name = "sfszgd", length = 128) |
| | | private String sfszgd; |
| | | |
| | | @PropertyDef(label = "é²éç½å®å¥½æ
åµ") |
| | | @Column(name = "fqwwhqk", length = 128) |
| | | private String fqwwhqk; |
| | | |
| | | @PropertyDef(label = "é²è«çº¿å®å¥½æ
åµ") |
| | | @Column(name = "fcxwhqk", length = 128) |
| | | private String fcxwhqk; |
| | | |
| | | @PropertyDef(label = "é²é¼ æ¿å®å¥½æ
åµ") |
| | | @Column(name = "fsbwhqk", length = 128) |
| | | private String fsbwhqk; |
| | | |
| | | @PropertyDef(label = "éé£ææ¯ææ®µ") |
| | | @Column(name = "tfjssd", length = 128) |
| | | private String tfjssd; |
| | | |
| | | @PropertyDef(label = "éé£ç³»ç»æ¯å¦å®å¥½") |
| | | @Column(name = "tfxtsfwh", length = 128) |
| | | private String tfxtsfwh; |
| | | |
| | | @PropertyDef(label = "çè¸ææ¯ææ®µ") |
| | | @Column(name = "xzjssd", length = 128) |
| | | private String xzjssd; |
| | | |
| | | @PropertyDef(label = "ç²®æ
æ£æµææ®µ") |
| | | @Column(name = "lqjcsd", length = 128) |
| | | private String lqjcsd; |
| | | |
| | | @PropertyDef(label = "ç²®æ
æ£æµç³»ç»æ¯å¦å®å¥½") |
| | | @Column(name = "lqjcxtsfwh", length = 128) |
| | | private String lqjcxtsfwh; |
| | | |
| | | @PropertyDef(label = "ä»é¨æ¡£ç²®è®¾æ½æ¯å¦å®å¥½") |
| | | @Column(name = "cmdlsssfwh", length = 128) |
| | | private String cmdlsssfwh; |
| | | |
| | | @PropertyDef(label = "æ¯å¦æ¸
æ¶") |
| | | @Column(name = "sfqx", length = 128) |
| | | private String sfqx; |
| | | |
| | | @PropertyDef(label = "éªæ¶æ¶é´") |
| | | @Column(name = "yssj") |
| | | private Date yssj; |
| | | |
| | | @PropertyDef(label = "éªæ¶ç»è®º") |
| | | @Column(name = "ysjl", length = 128) |
| | | private String ysjl; |
| | | |
| | | @PropertyDef(label = "æ´æ¹æè§") |
| | | @Column(name = "zgyj", length = 128) |
| | | private String zgyj; |
| | | |
| | | @PropertyDef(label = "æ¿å¨åä½è´è´£äºº") |
| | | @Column(name = "ccdwfzr", length = 128) |
| | | private String ccdwfzr; |
| | | |
| | | @PropertyDef(label = "éªæ¶äºº") |
| | | @Column(name = "ysr", length = 128) |
| | | private String ysr; |
| | | |
| | | @PropertyDef(label = "夿³¨") |
| | | @Column(name = "bz", length = 200) |
| | | private String bz; |
| | | |
| | | @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; |
| | | |
| | | @PropertyDef(label = "éªæ¶è§é¢ç
§çæä»¶å°å") |
| | | @Column(name = "wjdz") |
| | | @JSONField(serialize = false) |
| | | private String wjdz; |
| | | |
| | | } |
| ¶Ô±ÈÐÂÎļþ |
| | |
| | | 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 2025/10/31 10:30 |
| | | */ |
| | | @Data |
| | | @Entity |
| | | @Table(name = "API_1215") |
| | | public class Api1215 extends ApiParent implements Serializable { |
| | | |
| | | public static String SORT_PROP = "kgysdh"; |
| | | |
| | | @Id |
| | | @PropertyDef(label = "空ç½éªæ¶åå·", description = "éªæ¶ç³è¯·æ¥æyyyyMMdd + 4ä½é¡ºåºå·") |
| | | @Column(name = "kgysdh", length = 14) |
| | | private String kgysdh; |
| | | |
| | | @PropertyDef(label = "æ²¹ç½è´§ä½ä»£ç " ) |
| | | @Column(name = "hwdm", length = 30) |
| | | private String hwdm; |
| | | |
| | | @PropertyDef(label = "æååç§ä»£ç ") |
| | | @Column(name = "ncpzdm", length = 7) |
| | | private String ncpzdm; |
| | | |
| | | @PropertyDef(label = "设计ç容") |
| | | @Column(name = "sjgr", precision = 20, scale = 3) |
| | | private Double sjgr; |
| | | |
| | | @PropertyDef(label = "å®é
卿²¹åç§æå¤§ç½å®¹") |
| | | @Column(name = "sjcyzdgr", precision = 20, scale = 3) |
| | | private Double sjcyzdgr; |
| | | |
| | | @PropertyDef(label = "æå¨æ²¹æ°é") |
| | | @Column(name = "jysj", precision = 20, scale = 3) |
| | | private Double jysj; |
| | | |
| | | @PropertyDef(label = "æ¯å¦æ
èªæ¹åæ²¹ç½ç»æ") |
| | | @Column(name = "sfszgdygjg", length = 128) |
| | | private String sfszgdygjg; |
| | | |
| | | @PropertyDef(label = "æ²¹ç½ææ æ¸æ¼éè") |
| | | @Column(name = "ygywslxs", length = 128) |
| | | private String ygywslxs; |
| | | |
| | | @PropertyDef(label = "ç½åºææ å¼è£ã䏿²ç°è±¡") |
| | | @Column(name = "gjywklxcxx", length = 128) |
| | | private String gjywklxcxx; |
| | | |
| | | @PropertyDef(label = "æ²¹ç½å°åªæ¯å¦å®å
¨ç¡¬å") |
| | | @Column(name = "ygdpsfwqyh", length = 128) |
| | | private String ygdpsfwqyh; |
| | | |
| | | @PropertyDef(label = "æ¤æ²¹å ¤æ¯å¦åå¨å¼è£ç¼ºå£çæ
åµ") |
| | | @Column(name = "hydsfzc", length = 128) |
| | | private String hydsfzc; |
| | | |
| | | @PropertyDef(label = "ç½åºå
ææ°´ææ é鍿§å¶") |
| | | @Column(name = "gtfmsfzc", length = 128) |
| | | private String gtfmsfzc; |
| | | |
| | | @PropertyDef(label = "ç½å
æ¯å¦æ¸
æ´") |
| | | @Column(name = "gnsfqj", length = 128) |
| | | private String gnsfqj; |
| | | |
| | | @PropertyDef(label = "ç¬æ¢¯æ¯å¦å®å
¨") |
| | | @Column(name = "ptsfaq", length = 128) |
| | | private String ptsfaq; |
| | | |
| | | @PropertyDef(label = "çé¡¶å®å
¨æ¤æ æ¯å¦å®å¥½") |
| | | @Column(name = "gdaqhlsfwh", length = 128) |
| | | private String gdaqhlsfwh; |
| | | |
| | | @PropertyDef(label = "æ²¹ç½åºæ¯å¦å¤äºä½æ´¼ç¹") |
| | | @Column(name = "gqsfcydwd", length = 128) |
| | | private String gqsfcydwd; |
| | | |
| | | @PropertyDef(label = "éªæ¶æ¶é´") |
| | | @Column(name = "yssj") |
| | | private Date yssj; |
| | | |
| | | @PropertyDef(label = "éªæ¶ç»è®º") |
| | | @Column(name = "ysjl", length = 128) |
| | | private String ysjl; |
| | | |
| | | @PropertyDef(label = "æ´æ¹æè§") |
| | | @Column(name = "zgyj", length = 128) |
| | | private String zgyj; |
| | | |
| | | @PropertyDef(label = "æ¿å¨åä½è´è´£äºº") |
| | | @Column(name = "ccdwfzr", length = 128) |
| | | private String ccdwfzr; |
| | | |
| | | @PropertyDef(label = "éªæ¶äºº") |
| | | @Column(name = "ysr", length = 128) |
| | | private String ysr; |
| | | |
| | | @PropertyDef(label = "夿³¨") |
| | | @Column(name = "bz", length = 200) |
| | | private String bz; |
| | | |
| | | @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; |
| | | |
| | | @PropertyDef(label = "éªæ¶è§é¢ç
§çæä»¶å°å") |
| | | @Column(name = "wjdz") |
| | | @JSONField(serialize = false) |
| | | private String wjdz; |
| | | |
| | | } |
| ¶Ô±ÈÐÂÎļþ |
| | |
| | | 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 2025/10/31 11:40 |
| | | */ |
| | | @Data |
| | | @Entity |
| | | @Table(name = "API_1216") |
| | | public class Api1216 extends ApiParent implements Serializable { |
| | | |
| | | public static String SORT_PROP = "dcysdh"; |
| | | |
| | | @Id |
| | | @PropertyDef(label = "åä»éªæ¶åå·", description = "éªæ¶ç³è¯·æ¥æyyyyMMdd + 4ä½é¡ºåºå·") |
| | | @Column(name = "dcysdh", length = 14) |
| | | private String dcysdh; |
| | | |
| | | @PropertyDef(label = "æ¿å¨åä½" ) |
| | | @Column(name = "ccdw", length = 256) |
| | | private String ccdw; |
| | | |
| | | @PropertyDef(label = "计åæå·") |
| | | @Column(name = "jhwh", length = 14) |
| | | private String jhwh; |
| | | |
| | | @PropertyDef(label = "ååºè´§ä½ä»£ç " ) |
| | | @Column(name = "dchwbm", length = 30) |
| | | private String dchwbm; |
| | | |
| | | @PropertyDef(label = "ååºç²®é£åç§ä»£ç " ) |
| | | @Column(name = "dclspzdm", length = 7) |
| | | private String dclspzdm; |
| | | |
| | | @PropertyDef(label = "ååºç²®é£ç级代ç " ) |
| | | @Column(name = "dclsdjdm", length = 2) |
| | | private String dclsdjdm; |
| | | |
| | | @PropertyDef(label = "ååºç²®é£ç产年度" ) |
| | | @Column(name = "dclsscnd", length = 4) |
| | | private String dclsscnd; |
| | | |
| | | @PropertyDef(label = "ååºç²®é£æ°é(å¨)" ) |
| | | @Column(name = "dclssl", precision = 20, scale = 3) |
| | | private Double dclssl; |
| | | |
| | | @PropertyDef(label = "åå
¥è´§ä½ä»£ç " ) |
| | | @Column(name = "drhwdm", length = 30) |
| | | private String drhwbm; |
| | | |
| | | @PropertyDef(label = "åå
¥ç²®é£åç§ä»£ç " ) |
| | | @Column(name = "drlspzdm", length = 7) |
| | | private String drlspzdm; |
| | | |
| | | @PropertyDef(label = "åå
¥ç²®é£ç级代ç " ) |
| | | @Column(name = "drlsdjdm", length = 2) |
| | | private String drlsdjdm; |
| | | |
| | | @PropertyDef(label = "åå
¥ç²®é£æ°é(å¨)" ) |
| | | @Column(name = "drlssl", precision = 20, scale = 3) |
| | | private Double drlssl; |
| | | |
| | | @PropertyDef(label = "åå
¥ç²®é£åºåææ¬(å
/å¨)" ) |
| | | @Column(name = "drlskccb", precision = 20, scale = 3) |
| | | private Double drlskccb; |
| | | |
| | | @PropertyDef(label = "åå
¥ç²®é£ç产年度" ) |
| | | @Column(name = "drlsscnd", length = 4) |
| | | private String drlsscnd; |
| | | |
| | | @JSONField(format = "yyyy-MM-dd HH:mm:ss") |
| | | @PropertyDef(label = "å
¥åºæ¶é´") |
| | | @Column(name = "rksj") |
| | | private Date rksj; |
| | | |
| | | @JSONField(format = "yyyy-MM-dd HH:mm:ss") |
| | | @PropertyDef(label = "åä»å®ææ¶é´") |
| | | @Column(name = "wcsj") |
| | | private Date wcsj; |
| | | |
| | | @PropertyDef(label = "éªæ¶ç»è®º") |
| | | @Column(name = "ysjl", length = 128) |
| | | private String ysjl; |
| | | |
| | | @JSONField(format = "yyyy-MM-dd") |
| | | @PropertyDef(label = "éªæ¶æ¶é´") |
| | | @Column(name = "yssj") |
| | | private Date yssj; |
| | | |
| | | @PropertyDef(label = "æ¿å¨åä½è´è´£äºº") |
| | | @Column(name = "ccdwfzr", length = 128) |
| | | private String ccdwfzr; |
| | | |
| | | @PropertyDef(label = "éªæ¶äºº") |
| | | @Column(name = "ysr", length = 128) |
| | | private String ysr; |
| | | |
| | | @PropertyDef(label = "夿³¨") |
| | | @Column(name = "bz", length = 200) |
| | | private String bz; |
| | | |
| | | @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; |
| | | |
| | | @PropertyDef(label = "éªæ¶è§é¢ç
§çæä»¶å°å") |
| | | @Column(name = "wjdz") |
| | | @JSONField(serialize = false) |
| | | private String wjdz; |
| | | |
| | | } |
| ¶Ô±ÈÐÂÎļþ |
| | |
| | | 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 2025/10/31 13:49 |
| | | */ |
| | | @Data |
| | | @Entity |
| | | @Table(name = "API_1217") |
| | | public class Api1217 extends ApiParent implements Serializable { |
| | | |
| | | public static String SORT_PROP = "dcysdh"; |
| | | |
| | | @Id |
| | | @PropertyDef(label = "è½®æ¢éªæ¶åå·", description = "éªæ¶ç³è¯·æ¥æyyyyMMdd + 4ä½é¡ºåºå·") |
| | | @Column(name = "dcysdh", length = 14) |
| | | private String dcysdh; |
| | | |
| | | @PropertyDef(label = "æ¿å¨åä½" ) |
| | | @Column(name = "ccdw", length = 256) |
| | | private String ccdw; |
| | | |
| | | @PropertyDef(label = "计åæå·") |
| | | @Column(name = "jhwh", length = 14) |
| | | private String jhwh; |
| | | |
| | | @PropertyDef(label = "计åå®æè´§ä½ç¼ç " ) |
| | | @Column(name = "dchwbm", length = 30) |
| | | private String dchwbm; |
| | | |
| | | @PropertyDef(label = "计åå®æç²®é£åç§ä»£ç " ) |
| | | @Column(name = "dclspzdm", length = 7) |
| | | private String dclspzdm; |
| | | |
| | | @PropertyDef(label = "计åå®æç²®é£ç级代ç " ) |
| | | @Column(name = "dclsdjdm", length = 2) |
| | | private String dclsdjdm; |
| | | |
| | | @PropertyDef(label = "计åå®æç²®é£ç产年度" ) |
| | | @Column(name = "dclsscnd", length = 4) |
| | | private String dclsscnd; |
| | | |
| | | @PropertyDef(label = "计åå®æç²®é£æ°é(å¨)" ) |
| | | @Column(name = "dclssl", precision = 20, scale = 3) |
| | | private Double dclssl; |
| | | |
| | | @PropertyDef(label = "å®é
æ§è¡è´§ä½ç¼ç " ) |
| | | @Column(name = "drhwbm", length = 30) |
| | | private String drhwbm; |
| | | |
| | | @PropertyDef(label = "å®é
æ§è¡ç²®é£åç§ä»£ç " ) |
| | | @Column(name = "drlspzdm", length = 7) |
| | | private String drlspzdm; |
| | | |
| | | @PropertyDef(label = "å®é
æ§è¡ç²®é£ç级代ç " ) |
| | | @Column(name = "drlsdjdm", length = 2) |
| | | private String drlsdjdm; |
| | | |
| | | @PropertyDef(label = "å®é
æ§è¡ç²®é£æ°é(å¨)" ) |
| | | @Column(name = "drlssl", precision = 20, scale = 3) |
| | | private Double drlssl; |
| | | |
| | | @PropertyDef(label = "å®é
æ§è¡ç²®é£åºåææ¬(å
/å¨)" ) |
| | | @Column(name = "drlskccb", precision = 20, scale = 3) |
| | | private Double drlskccb; |
| | | |
| | | @PropertyDef(label = "å®é
æ§è¡ç²®é£ç产年度" ) |
| | | @Column(name = "drlsscnd", length = 4) |
| | | private String drlsscnd; |
| | | |
| | | @JSONField(format = "yyyy-MM-dd HH:mm:ss") |
| | | @PropertyDef(label = "å®é
æ§è¡å
¥åºæ¶é´") |
| | | @Column(name = "rksj") |
| | | private Date rksj; |
| | | |
| | | @JSONField(format = "yyyy-MM-dd HH:mm:ss") |
| | | @PropertyDef(label = "å®é
æ§è¡å®ææ¶é´") |
| | | @Column(name = "wcsj") |
| | | private Date wcsj; |
| | | |
| | | @PropertyDef(label = "éªæ¶ç»è®º") |
| | | @Column(name = "ysjl", length = 128) |
| | | private String ysjl; |
| | | |
| | | @JSONField(format = "yyyy-MM-dd") |
| | | @PropertyDef(label = "éªæ¶æ¶é´") |
| | | @Column(name = "yssj") |
| | | private Date yssj; |
| | | |
| | | @PropertyDef(label = "æ¿å¨åä½è´è´£äºº") |
| | | @Column(name = "ccdwfzr", length = 128) |
| | | private String ccdwfzr; |
| | | |
| | | @PropertyDef(label = "éªæ¶äºº") |
| | | @Column(name = "ysr", length = 128) |
| | | private String ysr; |
| | | |
| | | @PropertyDef(label = "夿³¨") |
| | | @Column(name = "bz", length = 200) |
| | | private String bz; |
| | | |
| | | @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; |
| | | |
| | | @PropertyDef(label = "éªæ¶è§é¢ç
§çæä»¶å°å") |
| | | @Column(name = "wjdz") |
| | | @JSONField(serialize = false) |
| | | private String wjdz; |
| | | |
| | | } |
| ¶Ô±ÈÐÂÎļþ |
| | |
| | | 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 2025/10/31 14:02 |
| | | */ |
| | | @Data |
| | | @Entity |
| | | @Table(name = "API_1218") |
| | | public class Api1218 extends ApiParent implements Serializable { |
| | | |
| | | public static String SORT_PROP = "rkhddh"; |
| | | |
| | | @Id |
| | | @PropertyDef(label = "å
¥åºæ ¸å®åå·", description = "éªæ¶ç³è¯·æ¥æyyyyMMdd + 4ä½é¡ºåºå·") |
| | | @Column(name = "rkhddh", length = 14) |
| | | private String rkhddh; |
| | | |
| | | @PropertyDef(label = "è´§ä½ç¼ç " ) |
| | | @Column(name = "hwdm", length = 30) |
| | | private String hwdm; |
| | | |
| | | @PropertyDef(label = "å¨ç²®åç§ä»£ç " ) |
| | | @Column(name = "lspzdm", length = 7) |
| | | private String lspzdm; |
| | | |
| | | @PropertyDef(label = "æ ¸å®åä»·" ) |
| | | @Column(name = "hddj", precision = 20, scale = 3) |
| | | private Double hddj; |
| | | |
| | | @PropertyDef(label = "æ ¸å®æ°é" ) |
| | | @Column(name = "hdsl", precision = 20, scale = 3) |
| | | private Double hdsl; |
| | | |
| | | @PropertyDef(label = "ç²®é£æ§è´¨" ) |
| | | @Column(name = "lsxz", length = 3) |
| | | private String lsxz; |
| | | |
| | | @PropertyDef(label = "å¡«æ¥åä½" ) |
| | | @Column(name = "tbdw", length = 512) |
| | | private String tbdw; |
| | | |
| | | @JSONField(format = "yyyy-MM-dd HH:mm:ss") |
| | | @PropertyDef(label = "å¡«æ¥æ¶é´") |
| | | @Column(name = "tbsj") |
| | | private Date tbsj; |
| | | |
| | | @PropertyDef(label = "åä½è´è´£äºº") |
| | | @Column(name = "dwfzr", length = 512) |
| | | private String dwfzr; |
| | | |
| | | @PropertyDef(label = "å¡«æ¥äºº") |
| | | @Column(name = "tbr", length = 512) |
| | | private String tbr; |
| | | |
| | | @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; |
| | | |
| | | } |
| ¶Ô±ÈÐÂÎļþ |
| | |
| | | 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 2025/10/31 14:07 |
| | | */ |
| | | @Data |
| | | @Entity |
| | | @Table(name = "API_1219") |
| | | public class Api1219 extends ApiParent implements Serializable { |
| | | |
| | | public static String SORT_PROP = "rkhddh"; |
| | | |
| | | @Id |
| | | @PropertyDef(label = "å
¥åºæ ¸å®åå·", description = "éªæ¶ç³è¯·æ¥æyyyyMMdd + 4ä½é¡ºåºå·") |
| | | @Column(name = "rkhddh", length = 14) |
| | | private String rkhddh; |
| | | |
| | | @PropertyDef(label = "è´§ä½ç¼ç " ) |
| | | @Column(name = "hwdm", length = 30) |
| | | private String hwdm; |
| | | |
| | | @PropertyDef(label = "å¨ç²®åç§ä»£ç " ) |
| | | @Column(name = "lspzdm", length = 7) |
| | | private String lspzdm; |
| | | |
| | | @PropertyDef(label = "贷款éé¢" ) |
| | | @Column(name = "dkje", precision = 20, scale = 3) |
| | | private Double dkje; |
| | | |
| | | @PropertyDef(label = "æ¶è·å¹´åº¦" ) |
| | | @Column(name = "shnd", length = 3) |
| | | private String shnd; |
| | | |
| | | @JSONField(format = "yyyy-MM-dd HH:mm:ss") |
| | | @PropertyDef(label = "å
¥åºæ¶é´") |
| | | @Column(name = "rksj") |
| | | private Date rksj; |
| | | |
| | | @PropertyDef(label = "å¡«æ¥åä½" ) |
| | | @Column(name = "tbdw", length = 512) |
| | | private String tbdw; |
| | | |
| | | @JSONField(format = "yyyy-MM-dd HH:mm:ss") |
| | | @PropertyDef(label = "å¡«æ¥æ¶é´") |
| | | @Column(name = "tbsj") |
| | | private Date tbsj; |
| | | |
| | | @PropertyDef(label = "åä½è´è´£äºº") |
| | | @Column(name = "dwfzr", length = 512) |
| | | private String dwfzr; |
| | | |
| | | @PropertyDef(label = "å¡«æ¥äºº") |
| | | @Column(name = "tbr", length = 512) |
| | | private String tbr; |
| | | |
| | | @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; |
| | | |
| | | } |
| ¶Ô±ÈÐÂÎļþ |
| | |
| | | <?xml version="1.0" encoding="UTF-8"?> |
| | | <ViewConfig> |
| | | <Arguments/> |
| | | <Context/> |
| | | <Model> |
| | | <DataType name="dtMain"> |
| | | <Property name="creationType">com.fzzy.api.entity.Api1214</Property> |
| | | <PropertyDef name="kcysdh"> |
| | | <Property></Property> |
| | | <Property name="label">空ä»éªæ¶åå·</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="hwdm"> |
| | | <Property></Property> |
| | | <Property name="label">è´§ä½ä»£ç </Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="lspzdm"> |
| | | <Property></Property> |
| | | <Property name="label">æååç§ä»£ç </Property> |
| | | <Property name="mapping"> |
| | | <Property name="mapValues">${dorado.getDataProvider("apiTriggerService#trigger").getResult("LSPZ")}</Property> |
| | | <Property name="keyProperty">code</Property> |
| | | <Property name="valueProperty">name</Property> |
| | | </Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="lsdjdm"> |
| | | <Property></Property> |
| | | <Property name="label">ç²®é£ç级代ç </Property> |
| | | <Property name="mapping"> |
| | | <Property name="mapValues">${dorado.getDataProvider("apiTriggerService#trigger").getResult("LSDJ")}</Property> |
| | | <Property name="keyProperty">code</Property> |
| | | <Property name="valueProperty">name</Property> |
| | | </Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="sjcr"> |
| | | <Property name="dataType">Double</Property> |
| | | <Property name="label">设计ä»å®¹</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="sjclzdcr"> |
| | | <Property name="dataType">Double</Property> |
| | | <Property name="label">å®é
ä»å®¹</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="jysj"> |
| | | <Property name="dataType">Double</Property> |
| | | <Property name="label">æå¨ç²®æ°é</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="jydw"> |
| | | <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> |
| | | </Collection> |
| | | </Property> |
| | | </Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="dpwhqk"> |
| | | <Property></Property> |
| | | <Property name="label">仿¿å°åªå®å¥½æ
åµ</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="qtwhqk"> |
| | | <Property></Property> |
| | | <Property name="label">仿¿å¢ä½å®å¥½æ
åµ</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="wmwhqk"> |
| | | <Property></Property> |
| | | <Property name="label">仿¿å±é¢å®å¥½æ
åµ</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="mcwhqk"> |
| | | <Property></Property> |
| | | <Property name="label">仿¿é¨çªå®å¥½æ
åµ</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="sfszgd"> |
| | | <Property></Property> |
| | | <Property name="label">仿¿æ¯å¦æ
èªæ¹å仿¿ç»æ</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="fqwwhqk"> |
| | | <Property></Property> |
| | | <Property name="label">é²éç½å®å¥½æ
åµ</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="fcxwhqk"> |
| | | <Property></Property> |
| | | <Property name="label">é²è«çº¿å®å¥½æ
åµ</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="fsbwhqk"> |
| | | <Property></Property> |
| | | <Property name="label">é²é¼ æ¿å®å¥½æ
åµ</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="tfjssd"> |
| | | <Property></Property> |
| | | <Property name="label">éé£ææ¯ææ®µ</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="tfxtsfwh"> |
| | | <Property></Property> |
| | | <Property name="label">éé£ç³»ç»æ¯å¦å®å¥½</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="xzjssd"> |
| | | <Property></Property> |
| | | <Property name="label">çè¸ææ¯ææ®µ</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="lqjcsd"> |
| | | <Property></Property> |
| | | <Property name="label">ç²®æ
æ£æµææ®µ</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="lqjcxtsfwh"> |
| | | <Property></Property> |
| | | <Property name="label">ç²®æ
æ£æµç³»ç»æ¯å¦å®å¥½</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="cmdlsssfwh"> |
| | | <Property></Property> |
| | | <Property name="label">ä»é¨æ¡£ç²®è®¾æ½æ¯å¦å®å¥½</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="sfqx"> |
| | | <Property></Property> |
| | | <Property name="label">æ¯å¦æ¸
æ¶</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="yssj"> |
| | | <Property name="label">éªæ¶æ¶é´</Property> |
| | | <Property name="dataType">DateTime</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="ysjl"> |
| | | <Property></Property> |
| | | <Property name="label">éªæ¶ç»è®º</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="zgyj"> |
| | | <Property></Property> |
| | | <Property name="label">æ´æ¹æè§</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="ccdwfzr"> |
| | | <Property></Property> |
| | | <Property name="label">æ¿å¨åä½è´è´£äºº</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="ysr"> |
| | | <Property></Property> |
| | | <Property name="label">éªæ¶äºº</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="bz"> |
| | | <Property></Property> |
| | | <Property name="label">夿³¨</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="czbz"> |
| | | <Property></Property> |
| | | <Property name="label">æä½æ å¿</Property> |
| | | <Property name="mapping"> |
| | | <Property name="mapValues">${dorado.getDataProvider("apiTriggerService#trigger").getResult("CZBZ")}</Property> |
| | | <Property name="keyProperty">code</Property> |
| | | <Property name="valueProperty">name</Property> |
| | | </Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="zhgxsj"> |
| | | <Property name="label">æåæ´æ°æ¶é´</Property> |
| | | <Property name="dataType">DateTime</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="bizId"> |
| | | <Property></Property> |
| | | <Property name="label">ä¸å¡id</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="kqdm"> |
| | | <Property></Property> |
| | | <Property name="label">åºåºä»£ç </Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="wjdz"> |
| | | <Property></Property> |
| | | <Property name="label">æä»¶å°å</Property> |
| | | </PropertyDef> |
| | | </DataType> |
| | | <DataType name="dtParam"> |
| | | <Property name="creationType">com.fzzy.api.data.ApiParam</Property> |
| | | <PropertyDef name="kqdm"> |
| | | <Property></Property> |
| | | <Property name="label">æå±åºåº</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="start"> |
| | | <Property name="dataType">Date</Property> |
| | | <Property name="label">å¼å§æ¶é´</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="end"> |
| | | <Property name="dataType">Date</Property> |
| | | <Property name="label">æªæ¢æ¶é´</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="czbz"> |
| | | <Property></Property> |
| | | <Property name="label">æä½æ å¿</Property> |
| | | <Property name="mapping"> |
| | | <Property name="mapValues">${dorado.getDataProvider("apiTriggerService#trigger").getResult("CZBZ")}</Property> |
| | | <Property name="keyProperty">code</Property> |
| | | <Property name="valueProperty">name</Property> |
| | | </Property> |
| | | </PropertyDef> |
| | | </DataType> |
| | | </Model> |
| | | <View layout="regionPadding:10"> |
| | | <Property name="packages">font-awesome,css-common</Property> |
| | | <DataSet id="dsMain"> |
| | | <Property name="dataType">[dtMain]</Property> |
| | | <Property name="dataProvider">api1214PR#listAll</Property> |
| | | <Property name="pageSize">20</Property> |
| | | </DataSet> |
| | | <DataSet id="dsQuery"> |
| | | <ClientEvent name="onReady">self.insert();</ClientEvent> |
| | | <Property name="dataType">dtParam</Property> |
| | | </DataSet> |
| | | <ToolBar> |
| | | <ToolBarLabel> |
| | | <Property name="text">å·¥å
·æ ï¼</Property> |
| | | <Property name="style"> |
| | | <Property name="font-weight">bold</Property> |
| | | </Property> |
| | | </ToolBarLabel> |
| | | <ToolBarButton> |
| | | <ClientEvent name="onClick">var query = view.get("#dsQuery").getData();
 |
| | | view.get("#dsMain").set("parameter",query).flushAsync();</ClientEvent> |
| | | <Property name="caption">æ¥è¯¢</Property> |
| | | <Property name="iconClass">fa fa-search</Property> |
| | | <Property name="width">100</Property> |
| | | <Property name="exClassName">toolbar-button-push</Property> |
| | | </ToolBarButton> |
| | | <ToolBarButton> |
| | | <ClientEvent name="onClick">view.get("#dsMain").insert();
 |
| | | view.get("#dialogMain").show();</ClientEvent> |
| | | <Property name="caption">æ°å¢</Property> |
| | | <Property name="iconClass">fa fa-plus</Property> |
| | | <Property name="width">100</Property> |
| | | <Property name="exClassName">toolbar-button</Property> |
| | | </ToolBarButton> |
| | | <ToolBarButton> |
| | | <ClientEvent name="onClick">var cur = view.get("#dgMain").getCurrentItem();
 |
| | | if(cur){
 |
| | | view.get("#dialogMain").show();
 |
| | | }else{
 |
| | | $alert("请å¾ééè¦ä¿®æ¹çæ°æ®ï¼");
 |
| | | }</ClientEvent> |
| | | <Property name="caption">ä¿®æ¹</Property> |
| | | <Property name="iconClass">fa fa-pencil</Property> |
| | | <Property name="width">100</Property> |
| | | <Property name="exClassName">toolbar-button-warm</Property> |
| | | </ToolBarButton> |
| | | <Separator/> |
| | | <ToolBarButton> |
| | | <ClientEvent name="onClick">var cur = view.get("#dgMain").getCurrentItem();
 |
| | | if(cur){
 |
| | | view.get("#ajaxDelUpdate").set("parameter",cur).execute(function(result){
 |
| | | if(result){
 |
| | | $alert(result);
 |
| | | } else{
 |
| | | cur.set("czbz","d");
 |
| | | }
 |
| | | });
 |
| | | }else{
 |
| | | $alert("请å¾ééè¦æ è®°å é¤çæ°æ®ï¼");
 |
| | | }</ClientEvent> |
| | | <Property name="caption">æ è®°å é¤</Property> |
| | | <Property name="iconClass">fa fa-minus</Property> |
| | | <Property name="exClassName">toolbar-button-warn</Property> |
| | | <Property name="width">100</Property> |
| | | </ToolBarButton> |
| | | <ToolBarButton> |
| | | <ClientEvent name="onClick">var cur = view.get("#dgMain").getCurrentItem();
 |
| | | if(cur){
 |
| | | view.get("#ajaxDel").set("parameter",cur).execute(function(result){
 |
| | | if(result){
 |
| | | $alert(result);
 |
| | | } else{
 |
| | | cur.remove();
 |
| | | }
 |
| | | });
 |
| | | }else{
 |
| | | $alert("请å¾ééè¦å é¤çæ°æ®ï¼");
 |
| | | }
 |
| | | </ClientEvent> |
| | | <Property name="caption">ç´æ¥å é¤</Property> |
| | | <Property name="iconClass">fa fa-minus</Property> |
| | | <Property name="exClassName">toolbar-button-warn</Property> |
| | | <Property name="width">100</Property> |
| | | </ToolBarButton> |
| | | <Separator/> |
| | | <ToolBarButton> |
| | | <ClientEvent name="onClick">var select = view.get("#dgMain").get("selection");
 |
| | | if(select && select.length > 0){
 |
| | | view.get("#ajaxPush").set("parameter",select).execute(function(result){
 |
| | | view.get("#dsMain").flushAsync();
 |
| | | $notify(result);
 |
| | | });
 |
| | | }else{
 |
| | | $alert("请å¾ééè¦ä¸æ¥çæ°æ®ï¼");
 |
| | | }</ClientEvent> |
| | | <Property name="caption">æå¨ä¸ä¼ </Property> |
| | | <Property name="iconClass">fa fa-hand-o-up</Property> |
| | | <Property name="exClassName">toolbar-button-push</Property> |
| | | <Property name="width">100</Property> |
| | | </ToolBarButton> |
| | | <Fill/> |
| | | <ToolBarButton> |
| | | <Property name="caption">ä¸ä¼ è®°å½</Property> |
| | | <Property name="iconClass">fa fa-bars</Property> |
| | | <Property name="exClassName">toolbar-button</Property> |
| | | </ToolBarButton> |
| | | </ToolBar> |
| | | <AutoForm> |
| | | <Property name="dataSet">dsQuery</Property> |
| | | <Property name="cols">*,*,*,*</Property> |
| | | <Property name="labelAlign">right</Property> |
| | | <Property name="labelSeparator">ï¼</Property> |
| | | <Property name="labelWidth">90</Property> |
| | | <AutoFormElement> |
| | | <Property name="name">kqdm</Property> |
| | | <Property name="property">kqdm</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">start</Property> |
| | | <Property name="property">start</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">end</Property> |
| | | <Property name="property">end</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">czbz</Property> |
| | | <Property name="property">czbz</Property> |
| | | <Property name="trigger">autoMappingDropDown2</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | </AutoForm> |
| | | <DataGrid id="dgMain"> |
| | | <Property name="dataSet">dsMain</Property> |
| | | <Property name="selectionMode">multiRows</Property> |
| | | <Property name="readOnly">true</Property> |
| | | <RowNumColumn/> |
| | | <RowSelectorColumn> |
| | | <Property name="caption">ä¸ä¼ </Property> |
| | | </RowSelectorColumn> |
| | | <DataColumn name="kcysdh"> |
| | | <Property name="property">kcysdh</Property> |
| | | <Property name="align">center</Property> |
| | | </DataColumn> |
| | | <DataColumn name="hwdm"> |
| | | <Property name="property">hwdm</Property> |
| | | <Property name="align">center</Property> |
| | | </DataColumn> |
| | | <DataColumn name="lspzdm"> |
| | | <Property name="property">lspzdm</Property> |
| | | <Property name="align">center</Property> |
| | | </DataColumn> |
| | | <DataColumn name="lsdjdm"> |
| | | <Property name="property">lsdjdm</Property> |
| | | <Property name="align">center</Property> |
| | | </DataColumn> |
| | | <DataColumn name="sjcr"> |
| | | <Property name="property">sjcr</Property> |
| | | <Property name="align">center</Property> |
| | | </DataColumn> |
| | | <DataColumn name="jysj"> |
| | | <Property name="property">jysj</Property> |
| | | <Property name="align">center</Property> |
| | | </DataColumn> |
| | | <DataColumn name="jydw"> |
| | | <Property name="property">jydw</Property> |
| | | <Property name="align">center</Property> |
| | | </DataColumn> |
| | | <DataColumn name="czbz"> |
| | | <Property name="property">czbz</Property> |
| | | <Property name="align">center</Property> |
| | | </DataColumn> |
| | | <DataColumn name="zhgxsj"> |
| | | <Property name="property">zhgxsj</Property> |
| | | <Property name="align">center</Property> |
| | | </DataColumn> |
| | | </DataGrid> |
| | | <ToolBar layoutConstraint="bottom"> |
| | | <Fill/> |
| | | <DataPilot> |
| | | <Property name="itemCodes">pageSize,pages</Property> |
| | | <Property name="dataSet">dsMain</Property> |
| | | </DataPilot> |
| | | </ToolBar> |
| | | <Dialog id="dialogMain"> |
| | | <Property name="width">1000</Property> |
| | | <Property name="caption">空ä»éªæ¶</Property> |
| | | <Property name="iconClass">fa fa-sliders</Property> |
| | | <Property name="closeable">false</Property> |
| | | <Property name="height">90%</Property> |
| | | <Buttons> |
| | | <Button> |
| | | <ClientEvent name="onClick">var cur = view.get("#dgMain").getCurrentItem();
 |
| | | view.get("#updateSave").execute(function(){
 |
| | | self.get("parent").hide();
 |
| | | view.get("#dsMain").flushAsync();
 |
| | | });
 |
| | | </ClientEvent> |
| | | <Property name="caption">ä¿åä¿®æ¹</Property> |
| | | <Property name="iconClass">fa fa-check</Property> |
| | | <Property name="exClassName">toolbar-button</Property> |
| | | </Button> |
| | | <Button> |
| | | <Property name="caption">ä¸ä¼ æä»¶</Property> |
| | | <Property name="iconClass">fa fa-upload</Property> |
| | | <Property name="exClassName">toolbar-button-warm</Property> |
| | | <Property name="action">uploadAction</Property> |
| | | </Button> |
| | | <Button> |
| | | <ClientEvent name="onClick">var cur = view.get("#dgMain").getCurrentItem();
 |
| | | self.get("parent").hide();
 |
| | | if(cur) cur.cancel();</ClientEvent> |
| | | <Property name="caption">åæ¶ä¿®æ¹</Property> |
| | | <Property name="iconClass">fa fa-times</Property> |
| | | <Property name="exClassName">toolbar-button-warn</Property> |
| | | </Button> |
| | | </Buttons> |
| | | <Children> |
| | | <AutoForm> |
| | | <Property name="dataSet">dsMain</Property> |
| | | <Property name="cols">*,*,*</Property> |
| | | <Property name="labelWidth">100</Property> |
| | | <Property name="labelAlign">left</Property> |
| | | <Property name="labelSeparator">ï¼</Property> |
| | | <Property name="labelPosition">top</Property> |
| | | <AutoFormElement> |
| | | <Property name="name">kcysdh</Property> |
| | | <Property name="property">kcysdh</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">hwdm</Property> |
| | | <Property name="property">hwdm</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">lspzdm</Property> |
| | | <Property name="property">lspzdm</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">lsdjdm</Property> |
| | | <Property name="property">lsdjdm</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">sjcr</Property> |
| | | <Property name="property">sjcr</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">sjclzdcr</Property> |
| | | <Property name="property">sjclzdcr</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">jysj</Property> |
| | | <Property name="property">jysj</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">jydw</Property> |
| | | <Property name="property">jydw</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">dpwhqk</Property> |
| | | <Property name="property">dpwhqk</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">qtwhqk</Property> |
| | | <Property name="property">qtwhqk</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">wmwhqk</Property> |
| | | <Property name="property">wmwhqk</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">mcwhqk</Property> |
| | | <Property name="property">mcwhqk</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">sfszgd</Property> |
| | | <Property name="property">sfszgd</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">fqwwhqk</Property> |
| | | <Property name="property">fqwwhqk</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">fcxwhqk</Property> |
| | | <Property name="property">fcxwhqk</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">fsbwhqk</Property> |
| | | <Property name="property">fsbwhqk</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">tfjssd</Property> |
| | | <Property name="property">tfjssd</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">tfxtsfwh</Property> |
| | | <Property name="property">tfxtsfwh</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">xzjssd</Property> |
| | | <Property name="property">xzjssd</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">lqjcsd</Property> |
| | | <Property name="property">lqjcsd</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">lqjcxtsfwh</Property> |
| | | <Property name="property">lqjcxtsfwh</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">cmdlsssfwh</Property> |
| | | <Property name="property">cmdlsssfwh</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">sfqx</Property> |
| | | <Property name="property">sfqx</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">yssj</Property> |
| | | <Property name="property">yssj</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">ysjl</Property> |
| | | <Property name="property">ysjl</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">zgyj</Property> |
| | | <Property name="property">zgyj</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">ccdwfzr</Property> |
| | | <Property name="property">ccdwfzr</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">ysr</Property> |
| | | <Property name="property">ysr</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">bz</Property> |
| | | <Property name="property">bz</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">czbz</Property> |
| | | <Property name="property">czbz</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">zhgxsj</Property> |
| | | <Property name="property">zhgxsj</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">wjdz</Property> |
| | | <Property name="property">wjdz</Property> |
| | | <Property name="readOnly">false</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">bizId</Property> |
| | | <Property name="property">bizId</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">kqdm</Property> |
| | | <Property name="property">kqdm</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | </AutoForm> |
| | | </Children> |
| | | <Tools/> |
| | | </Dialog> |
| | | <UpdateAction id="updateSave"> |
| | | <Property name="dataResolver">api1214PR#updateSave</Property> |
| | | <UpdateItem> |
| | | <Property name="dataPath">[#current]</Property> |
| | | <Property name="dataSet">dsMain</Property> |
| | | </UpdateItem> |
| | | </UpdateAction> |
| | | <AjaxAction id="ajaxPush"> |
| | | <Property name="service">api1214PR#pushData</Property> |
| | | <Property name="confirmMessage">ç¡®å®è¦ä¸æ¥ä¹ï¼</Property> |
| | | </AjaxAction> |
| | | <AjaxAction id="ajaxDel"> |
| | | <Property name="service">api1214PR#delData</Property> |
| | | <Property name="confirmMessage">å½åæ°æ®å é¤åæ æ³æ¢å¤ï¼è¯·ç¡®è®¤è¦å é¤ä¹ï¼</Property> |
| | | </AjaxAction> |
| | | <AjaxAction id="ajaxDelUpdate"> |
| | | <Property name="service">api1214PR#delUpdate</Property> |
| | | <Property name="confirmMessage">ç¡®å®è¦å°æ°æ®æ 记为å é¤ä¹ï¼</Property> |
| | | </AjaxAction> |
| | | <UploadAction id="uploadAction"> |
| | | <ClientEvent name="onFileUploaded">var returnValue = arg.returnValue;//è·åFileResolveræ¹æ³è¿åçä¿¡æ¯&#xD;
 |
| | | 
 |
| | | var cur = view.get("#dsMain.data:#");
 |
| | | cur.set("wjdz",returnValue);</ClientEvent> |
| | | <Property name="fileResolver">uploadProcessor#uploadFile</Property> |
| | | <Filters/> |
| | | </UploadAction> |
| | | </View> |
| | | </ViewConfig> |
| ¶Ô±ÈÐÂÎļþ |
| | |
| | | <?xml version="1.0" encoding="UTF-8"?> |
| | | <ViewConfig> |
| | | <Arguments/> |
| | | <Context/> |
| | | <Model> |
| | | <DataType name="dtMain"> |
| | | <Property name="creationType">com.fzzy.api.entity.Api1215</Property> |
| | | <PropertyDef name="kgysdh"> |
| | | <Property></Property> |
| | | <Property name="label">空ç½éªæ¶åå·</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="hwdm"> |
| | | <Property></Property> |
| | | <Property name="label">è´§ä½ä»£ç </Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="ncpzdm"> |
| | | <Property></Property> |
| | | <Property name="label">æååç§ä»£ç </Property> |
| | | <Property name="mapping"> |
| | | <Property name="mapValues">${dorado.getDataProvider("apiTriggerService#trigger").getResult("LSPZ")}</Property> |
| | | <Property name="keyProperty">code</Property> |
| | | <Property name="valueProperty">name</Property> |
| | | </Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="sjgr"> |
| | | <Property name="dataType">Double</Property> |
| | | <Property name="label">设计ç容</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="sjcyzdgr"> |
| | | <Property name="dataType">Double</Property> |
| | | <Property name="label">å®é
ç½å®¹</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="jysj"> |
| | | <Property name="dataType">Double</Property> |
| | | <Property name="label">æå¨æ²¹æ°é</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="sfszgdygjg"> |
| | | <Property></Property> |
| | | <Property name="label">æ¯å¦æ
èªæ¹åæ²¹ç½ç»æ</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="ygywslxs"> |
| | | <Property></Property> |
| | | <Property name="label">æ²¹ç½ææ æ¸æ¼éè</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="gjywklxcxx"> |
| | | <Property></Property> |
| | | <Property name="label">ç½åºææ å¼è£ã䏿²ç°è±¡</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="ygdpsfwqyh"> |
| | | <Property></Property> |
| | | <Property name="label">æ²¹ç½å°åªæ¯å¦å®å
¨ç¡¬å</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="hydsfzc"> |
| | | <Property></Property> |
| | | <Property name="label">æ¤æ²¹å ¤æ¯å¦åå¨å¼è£ç¼ºå£çæ
åµ</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="gtfmsfzc"> |
| | | <Property></Property> |
| | | <Property name="label">ç½åºå
ææ°´ææ é鍿§å¶</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="gnsfqj"> |
| | | <Property></Property> |
| | | <Property name="label">ç½å
æ¯å¦æ¸
æ´</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="ptsfaq"> |
| | | <Property></Property> |
| | | <Property name="label">ç¬æ¢¯æ¯å¦å®å
¨</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="gdaqhlsfwh"> |
| | | <Property></Property> |
| | | <Property name="label">çé¡¶å®å
¨æ¤æ æ¯å¦å®å¥½</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="gqsfcydwd"> |
| | | <Property></Property> |
| | | <Property name="label">æ²¹ç½åºæ¯å¦å¤äºä½æ´¼ç¹</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="yssj"> |
| | | <Property name="label">éªæ¶æ¶é´</Property> |
| | | <Property name="dataType">DateTime</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="ysjl"> |
| | | <Property></Property> |
| | | <Property name="label">éªæ¶ç»è®º</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="zgyj"> |
| | | <Property></Property> |
| | | <Property name="label">æ´æ¹æè§</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="ccdwfzr"> |
| | | <Property></Property> |
| | | <Property name="label">æ¿å¨åä½è´è´£äºº</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="ysr"> |
| | | <Property></Property> |
| | | <Property name="label">éªæ¶äºº</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="bz"> |
| | | <Property></Property> |
| | | <Property name="label">夿³¨</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="czbz"> |
| | | <Property></Property> |
| | | <Property name="label">æä½æ å¿</Property> |
| | | <Property name="mapping"> |
| | | <Property name="mapValues">${dorado.getDataProvider("apiTriggerService#trigger").getResult("CZBZ")}</Property> |
| | | <Property name="keyProperty">code</Property> |
| | | <Property name="valueProperty">name</Property> |
| | | </Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="zhgxsj"> |
| | | <Property name="label">æåæ´æ°æ¶é´</Property> |
| | | <Property name="dataType">DateTime</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="bizId"> |
| | | <Property></Property> |
| | | <Property name="label">ä¸å¡id</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="kqdm"> |
| | | <Property></Property> |
| | | <Property name="label">åºåºä»£ç </Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="wjdz"> |
| | | <Property></Property> |
| | | <Property name="label">æä»¶å°å</Property> |
| | | </PropertyDef> |
| | | </DataType> |
| | | <DataType name="dtParam"> |
| | | <Property name="creationType">com.fzzy.api.data.ApiParam</Property> |
| | | <PropertyDef name="kqdm"> |
| | | <Property></Property> |
| | | <Property name="label">æå±åºåº</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="start"> |
| | | <Property name="dataType">Date</Property> |
| | | <Property name="label">å¼å§æ¶é´</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="end"> |
| | | <Property name="dataType">Date</Property> |
| | | <Property name="label">æªæ¢æ¶é´</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="czbz"> |
| | | <Property></Property> |
| | | <Property name="label">æä½æ å¿</Property> |
| | | <Property name="mapping"> |
| | | <Property name="mapValues">${dorado.getDataProvider("apiTriggerService#trigger").getResult("CZBZ")}</Property> |
| | | <Property name="keyProperty">code</Property> |
| | | <Property name="valueProperty">name</Property> |
| | | </Property> |
| | | </PropertyDef> |
| | | </DataType> |
| | | </Model> |
| | | <View layout="regionPadding:10"> |
| | | <Property name="packages">font-awesome,css-common</Property> |
| | | <DataSet id="dsMain"> |
| | | <Property name="dataType">[dtMain]</Property> |
| | | <Property name="dataProvider">api1215PR#listAll</Property> |
| | | <Property name="pageSize">20</Property> |
| | | </DataSet> |
| | | <DataSet id="dsQuery"> |
| | | <ClientEvent name="onReady">self.insert();</ClientEvent> |
| | | <Property name="dataType">dtParam</Property> |
| | | </DataSet> |
| | | <ToolBar> |
| | | <ToolBarLabel> |
| | | <Property name="text">å·¥å
·æ ï¼</Property> |
| | | <Property name="style"> |
| | | <Property name="font-weight">bold</Property> |
| | | </Property> |
| | | </ToolBarLabel> |
| | | <ToolBarButton> |
| | | <ClientEvent name="onClick">var query = view.get("#dsQuery").getData();
 |
| | | view.get("#dsMain").set("parameter",query).flushAsync();</ClientEvent> |
| | | <Property name="caption">æ¥è¯¢</Property> |
| | | <Property name="iconClass">fa fa-search</Property> |
| | | <Property name="width">100</Property> |
| | | <Property name="exClassName">toolbar-button-push</Property> |
| | | </ToolBarButton> |
| | | <ToolBarButton> |
| | | <ClientEvent name="onClick">view.get("#dsMain").insert();
 |
| | | view.get("#dialogMain").show();</ClientEvent> |
| | | <Property name="caption">æ°å¢</Property> |
| | | <Property name="iconClass">fa fa-plus</Property> |
| | | <Property name="width">100</Property> |
| | | <Property name="exClassName">toolbar-button</Property> |
| | | </ToolBarButton> |
| | | <ToolBarButton> |
| | | <ClientEvent name="onClick">var cur = view.get("#dgMain").getCurrentItem();
 |
| | | if(cur){
 |
| | | view.get("#dialogMain").show();
 |
| | | }else{
 |
| | | $alert("请å¾ééè¦ä¿®æ¹çæ°æ®ï¼");
 |
| | | }</ClientEvent> |
| | | <Property name="caption">ä¿®æ¹</Property> |
| | | <Property name="iconClass">fa fa-pencil</Property> |
| | | <Property name="width">100</Property> |
| | | <Property name="exClassName">toolbar-button-warm</Property> |
| | | </ToolBarButton> |
| | | <Separator/> |
| | | <ToolBarButton> |
| | | <ClientEvent name="onClick">var cur = view.get("#dgMain").getCurrentItem();
 |
| | | if(cur){
 |
| | | view.get("#ajaxDelUpdate").set("parameter",cur).execute(function(result){
 |
| | | if(result){
 |
| | | $alert(result);
 |
| | | } else{
 |
| | | cur.set("czbz","d");
 |
| | | }
 |
| | | });
 |
| | | }else{
 |
| | | $alert("请å¾ééè¦æ è®°å é¤çæ°æ®ï¼");
 |
| | | }</ClientEvent> |
| | | <Property name="caption">æ è®°å é¤</Property> |
| | | <Property name="iconClass">fa fa-minus</Property> |
| | | <Property name="exClassName">toolbar-button-warn</Property> |
| | | <Property name="width">100</Property> |
| | | </ToolBarButton> |
| | | <ToolBarButton> |
| | | <ClientEvent name="onClick">var cur = view.get("#dgMain").getCurrentItem();
 |
| | | if(cur){
 |
| | | view.get("#ajaxDel").set("parameter",cur).execute(function(result){
 |
| | | if(result){
 |
| | | $alert(result);
 |
| | | } else{
 |
| | | cur.remove();
 |
| | | }
 |
| | | });
 |
| | | }else{
 |
| | | $alert("请å¾ééè¦å é¤çæ°æ®ï¼");
 |
| | | }
 |
| | | </ClientEvent> |
| | | <Property name="caption">ç´æ¥å é¤</Property> |
| | | <Property name="iconClass">fa fa-minus</Property> |
| | | <Property name="exClassName">toolbar-button-warn</Property> |
| | | <Property name="width">100</Property> |
| | | </ToolBarButton> |
| | | <Separator/> |
| | | <ToolBarButton> |
| | | <ClientEvent name="onClick">var select = view.get("#dgMain").get("selection");
 |
| | | if(select && select.length > 0){
 |
| | | view.get("#ajaxPush").set("parameter",select).execute(function(result){
 |
| | | view.get("#dsMain").flushAsync();
 |
| | | $notify(result);
 |
| | | });
 |
| | | }else{
 |
| | | $alert("请å¾ééè¦ä¸æ¥çæ°æ®ï¼");
 |
| | | }</ClientEvent> |
| | | <Property name="caption">æå¨ä¸ä¼ </Property> |
| | | <Property name="iconClass">fa fa-hand-o-up</Property> |
| | | <Property name="exClassName">toolbar-button-push</Property> |
| | | <Property name="width">100</Property> |
| | | </ToolBarButton> |
| | | <Fill/> |
| | | <ToolBarButton> |
| | | <Property name="caption">ä¸ä¼ è®°å½</Property> |
| | | <Property name="iconClass">fa fa-bars</Property> |
| | | <Property name="exClassName">toolbar-button</Property> |
| | | </ToolBarButton> |
| | | </ToolBar> |
| | | <AutoForm> |
| | | <Property name="dataSet">dsQuery</Property> |
| | | <Property name="cols">*,*,*,*</Property> |
| | | <Property name="labelAlign">right</Property> |
| | | <Property name="labelSeparator">ï¼</Property> |
| | | <Property name="labelWidth">90</Property> |
| | | <AutoFormElement> |
| | | <Property name="name">kqdm</Property> |
| | | <Property name="property">kqdm</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">start</Property> |
| | | <Property name="property">start</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">end</Property> |
| | | <Property name="property">end</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">czbz</Property> |
| | | <Property name="property">czbz</Property> |
| | | <Property name="trigger">autoMappingDropDown2</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | </AutoForm> |
| | | <DataGrid id="dgMain"> |
| | | <Property name="dataSet">dsMain</Property> |
| | | <Property name="selectionMode">multiRows</Property> |
| | | <Property name="readOnly">true</Property> |
| | | <RowNumColumn/> |
| | | <RowSelectorColumn> |
| | | <Property name="caption">ä¸ä¼ </Property> |
| | | </RowSelectorColumn> |
| | | <DataColumn name="kgysdh"> |
| | | <Property name="property">kgysdh</Property> |
| | | <Property name="align">center</Property> |
| | | </DataColumn> |
| | | <DataColumn name="hwdm"> |
| | | <Property name="property">hwdm</Property> |
| | | <Property name="align">center</Property> |
| | | </DataColumn> |
| | | <DataColumn name="ncpzdm"> |
| | | <Property name="property">ncpzdm</Property> |
| | | <Property name="align">center</Property> |
| | | </DataColumn> |
| | | <DataColumn name="sjgr"> |
| | | <Property name="property">sjgr</Property> |
| | | <Property name="align">center</Property> |
| | | </DataColumn> |
| | | <DataColumn name="jysj"> |
| | | <Property name="property">jysj</Property> |
| | | <Property name="align">center</Property> |
| | | </DataColumn> |
| | | <DataColumn name="sjcyzdgr"> |
| | | <Property name="property">sjcyzdgr</Property> |
| | | <Property name="align">center</Property> |
| | | </DataColumn> |
| | | <DataColumn name="czbz"> |
| | | <Property name="property">czbz</Property> |
| | | <Property name="align">center</Property> |
| | | </DataColumn> |
| | | <DataColumn name="zhgxsj"> |
| | | <Property name="property">zhgxsj</Property> |
| | | <Property name="align">center</Property> |
| | | </DataColumn> |
| | | </DataGrid> |
| | | <ToolBar layoutConstraint="bottom"> |
| | | <Fill/> |
| | | <DataPilot> |
| | | <Property name="itemCodes">pageSize,pages</Property> |
| | | <Property name="dataSet">dsMain</Property> |
| | | </DataPilot> |
| | | </ToolBar> |
| | | <Dialog id="dialogMain"> |
| | | <Property name="width">1000</Property> |
| | | <Property name="caption">空ç½éªæ¶</Property> |
| | | <Property name="iconClass">fa fa-sliders</Property> |
| | | <Property name="closeable">false</Property> |
| | | <Property name="height">90%</Property> |
| | | <Buttons> |
| | | <Button> |
| | | <ClientEvent name="onClick">var cur = view.get("#dgMain").getCurrentItem();
 |
| | | view.get("#updateSave").execute(function(){
 |
| | | self.get("parent").hide();
 |
| | | view.get("#dsMain").flushAsync();
 |
| | | });
 |
| | | </ClientEvent> |
| | | <Property name="caption">ä¿åä¿®æ¹</Property> |
| | | <Property name="iconClass">fa fa-check</Property> |
| | | <Property name="exClassName">toolbar-button</Property> |
| | | </Button> |
| | | <Button> |
| | | <Property name="caption">ä¸ä¼ æä»¶</Property> |
| | | <Property name="iconClass">fa fa-upload</Property> |
| | | <Property name="exClassName">toolbar-button-warm</Property> |
| | | <Property name="action">uploadAction</Property> |
| | | </Button> |
| | | <Button> |
| | | <ClientEvent name="onClick">var cur = view.get("#dgMain").getCurrentItem();
 |
| | | self.get("parent").hide();
 |
| | | if(cur) cur.cancel();</ClientEvent> |
| | | <Property name="caption">åæ¶ä¿®æ¹</Property> |
| | | <Property name="iconClass">fa fa-times</Property> |
| | | <Property name="exClassName">toolbar-button-warn</Property> |
| | | </Button> |
| | | </Buttons> |
| | | <Children> |
| | | <AutoForm> |
| | | <Property name="dataSet">dsMain</Property> |
| | | <Property name="cols">*,*,*</Property> |
| | | <Property name="labelWidth">100</Property> |
| | | <Property name="labelAlign">left</Property> |
| | | <Property name="labelSeparator">ï¼</Property> |
| | | <Property name="labelPosition">top</Property> |
| | | <AutoFormElement> |
| | | <Property name="name">kgysdh</Property> |
| | | <Property name="property">kgysdh</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">hwdm</Property> |
| | | <Property name="property">hwdm</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">ncpzdm</Property> |
| | | <Property name="property">ncpzdm</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">sjgr</Property> |
| | | <Property name="property">sjgr</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">sjcyzdgr</Property> |
| | | <Property name="property">sjcyzdgr</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">jysj</Property> |
| | | <Property name="property">jysj</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">sfszgdygjg</Property> |
| | | <Property name="property">sfszgdygjg</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">ygywslxs</Property> |
| | | <Property name="property">ygywslxs</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">gjywklxcxx</Property> |
| | | <Property name="property">gjywklxcxx</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">ygdpsfwqyh</Property> |
| | | <Property name="property">ygdpsfwqyh</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">hydsfzc</Property> |
| | | <Property name="property">hydsfzc</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">gtfmsfzc</Property> |
| | | <Property name="property">gtfmsfzc</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">gnsfqj</Property> |
| | | <Property name="property">gnsfqj</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">ptsfaq</Property> |
| | | <Property name="property">ptsfaq</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">gdaqhlsfwh</Property> |
| | | <Property name="property">gdaqhlsfwh</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">gqsfcydwd</Property> |
| | | <Property name="property">gqsfcydwd</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">yssj</Property> |
| | | <Property name="property">yssj</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">ysjl</Property> |
| | | <Property name="property">ysjl</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">zgyj</Property> |
| | | <Property name="property">zgyj</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">ccdwfzr</Property> |
| | | <Property name="property">ccdwfzr</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">ysr</Property> |
| | | <Property name="property">ysr</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">bz</Property> |
| | | <Property name="property">bz</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">czbz</Property> |
| | | <Property name="property">czbz</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">zhgxsj</Property> |
| | | <Property name="property">zhgxsj</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">wjdz</Property> |
| | | <Property name="property">wjdz</Property> |
| | | <Property name="readOnly">false</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">bizId</Property> |
| | | <Property name="property">bizId</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">kqdm</Property> |
| | | <Property name="property">kqdm</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | </AutoForm> |
| | | </Children> |
| | | <Tools/> |
| | | </Dialog> |
| | | <UpdateAction id="updateSave"> |
| | | <Property name="dataResolver">api1215PR#updateSave</Property> |
| | | <UpdateItem> |
| | | <Property name="dataPath">[#current]</Property> |
| | | <Property name="dataSet">dsMain</Property> |
| | | </UpdateItem> |
| | | </UpdateAction> |
| | | <AjaxAction id="ajaxPush"> |
| | | <Property name="service">api1215PR#pushData</Property> |
| | | <Property name="confirmMessage">ç¡®å®è¦ä¸æ¥ä¹ï¼</Property> |
| | | </AjaxAction> |
| | | <AjaxAction id="ajaxDel"> |
| | | <Property name="service">api1215PR#delData</Property> |
| | | <Property name="confirmMessage">å½åæ°æ®å é¤åæ æ³æ¢å¤ï¼è¯·ç¡®è®¤è¦å é¤ä¹ï¼</Property> |
| | | </AjaxAction> |
| | | <AjaxAction id="ajaxDelUpdate"> |
| | | <Property name="service">api1215PR#delUpdate</Property> |
| | | <Property name="confirmMessage">ç¡®å®è¦å°æ°æ®æ 记为å é¤ä¹ï¼</Property> |
| | | </AjaxAction> |
| | | <UploadAction id="uploadAction"> |
| | | <ClientEvent name="onFileUploaded">var returnValue = arg.returnValue;//è·åFileResolveræ¹æ³è¿åçä¿¡æ¯&#xD;
 |
| | | 
 |
| | | var cur = view.get("#dsMain.data:#");
 |
| | | cur.set("wjdz",returnValue);</ClientEvent> |
| | | <Property name="fileResolver">uploadProcessor#uploadFile</Property> |
| | | <Filters/> |
| | | </UploadAction> |
| | | </View> |
| | | </ViewConfig> |
| ¶Ô±ÈÐÂÎļþ |
| | |
| | | <?xml version="1.0" encoding="UTF-8"?> |
| | | <ViewConfig> |
| | | <Arguments/> |
| | | <Context/> |
| | | <Model> |
| | | <DataType name="dtMain"> |
| | | <Property name="creationType">com.fzzy.api.entity.Api1216</Property> |
| | | <PropertyDef name="dcysdh"> |
| | | <Property></Property> |
| | | <Property name="label">åä»éªæ¶åå·</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="ccdw"> |
| | | <Property></Property> |
| | | <Property name="label">æ¿å¨åä½</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="jhwh"> |
| | | <Property></Property> |
| | | <Property name="label">计åæå·</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="dchwbm"> |
| | | <Property></Property> |
| | | <Property name="label">ååºè´§ä½ä»£ç </Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="dclspzdm"> |
| | | <Property></Property> |
| | | <Property name="label">ååºç²®é£åç§ä»£ç </Property> |
| | | <Property name="mapping"> |
| | | <Property name="mapValues">${dorado.getDataProvider("apiTriggerService#trigger").getResult("LSPZ")}</Property> |
| | | <Property name="keyProperty">code</Property> |
| | | <Property name="valueProperty">name</Property> |
| | | </Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="dclsdjdm"> |
| | | <Property></Property> |
| | | <Property name="label">ååºç²®é£ç级代ç </Property> |
| | | <Property name="mapping"> |
| | | <Property name="mapValues">${dorado.getDataProvider("apiTriggerService#trigger").getResult("LSDJ")}</Property> |
| | | <Property name="keyProperty">code</Property> |
| | | <Property name="valueProperty">name</Property> |
| | | </Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="dclsscnd"> |
| | | <Property></Property> |
| | | <Property name="label">ååºç²®é£ç产年度</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="dclssl"> |
| | | <Property name="dataType">Double</Property> |
| | | <Property name="label">ååºç²®é£æ°é(å¨)</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="drhwbm"> |
| | | <Property></Property> |
| | | <Property name="label">åå
¥è´§ä½ä»£ç </Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="drlspzdm"> |
| | | <Property></Property> |
| | | <Property name="label">åå
¥ç²®é£åç§ä»£ç </Property> |
| | | <Property name="mapping"> |
| | | <Property name="mapValues">${dorado.getDataProvider("apiTriggerService#trigger").getResult("LSPZ")}</Property> |
| | | <Property name="keyProperty">code</Property> |
| | | <Property name="valueProperty">name</Property> |
| | | </Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="drlsdjdm"> |
| | | <Property></Property> |
| | | <Property name="label">åå
¥ç²®é£ç级代ç </Property> |
| | | <Property name="mapping"> |
| | | <Property name="mapValues">${dorado.getDataProvider("apiTriggerService#trigger").getResult("LSDJ")}</Property> |
| | | <Property name="keyProperty">code</Property> |
| | | <Property name="valueProperty">name</Property> |
| | | </Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="drlssl"> |
| | | <Property name="dataType">Double</Property> |
| | | <Property name="label">åå
¥ç²®é£æ°é(å¨)</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="drlskccb"> |
| | | <Property name="dataType">Double</Property> |
| | | <Property name="label">åå
¥ç²®é£åºåææ¬(å
/å¨)</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="drlsscnd"> |
| | | <Property></Property> |
| | | <Property name="label">åå
¥ç²®é£ç产年度</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="rksj"> |
| | | <Property name="label">å
¥åºæ¶é´</Property> |
| | | <Property name="dataType">DateTime</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="wcsj"> |
| | | <Property name="label">åä»å®ææ¶é´</Property> |
| | | <Property name="dataType">DateTime</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="ysjl"> |
| | | <Property></Property> |
| | | <Property name="label">éªæ¶ç»è®º</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="yssj"> |
| | | <Property name="label">éªæ¶æ¶é´</Property> |
| | | <Property name="dataType">DateTime</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="ccdwfzr"> |
| | | <Property></Property> |
| | | <Property name="label">æ¿å¨åä½è´è´£äºº</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="ysr"> |
| | | <Property></Property> |
| | | <Property name="label">éªæ¶äºº</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="bz"> |
| | | <Property></Property> |
| | | <Property name="label">夿³¨</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="czbz"> |
| | | <Property></Property> |
| | | <Property name="label">æä½æ å¿</Property> |
| | | <Property name="mapping"> |
| | | <Property name="mapValues">${dorado.getDataProvider("apiTriggerService#trigger").getResult("CZBZ")}</Property> |
| | | <Property name="keyProperty">code</Property> |
| | | <Property name="valueProperty">name</Property> |
| | | </Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="zhgxsj"> |
| | | <Property name="label">æåæ´æ°æ¶é´</Property> |
| | | <Property name="dataType">DateTime</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="bizId"> |
| | | <Property></Property> |
| | | <Property name="label">ä¸å¡id</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="kqdm"> |
| | | <Property></Property> |
| | | <Property name="label">åºåºä»£ç </Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="wjdz"> |
| | | <Property></Property> |
| | | <Property name="label">æä»¶å°å</Property> |
| | | </PropertyDef> |
| | | </DataType> |
| | | <DataType name="dtParam"> |
| | | <Property name="creationType">com.fzzy.api.data.ApiParam</Property> |
| | | <PropertyDef name="kqdm"> |
| | | <Property></Property> |
| | | <Property name="label">æå±åºåº</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="start"> |
| | | <Property name="dataType">Date</Property> |
| | | <Property name="label">å¼å§æ¶é´</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="end"> |
| | | <Property name="dataType">Date</Property> |
| | | <Property name="label">æªæ¢æ¶é´</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="czbz"> |
| | | <Property></Property> |
| | | <Property name="label">æä½æ å¿</Property> |
| | | <Property name="mapping"> |
| | | <Property name="mapValues">${dorado.getDataProvider("apiTriggerService#trigger").getResult("CZBZ")}</Property> |
| | | <Property name="keyProperty">code</Property> |
| | | <Property name="valueProperty">name</Property> |
| | | </Property> |
| | | </PropertyDef> |
| | | </DataType> |
| | | </Model> |
| | | <View layout="regionPadding:10"> |
| | | <Property name="packages">font-awesome,css-common</Property> |
| | | <DataSet id="dsMain"> |
| | | <Property name="dataType">[dtMain]</Property> |
| | | <Property name="dataProvider">api1216PR#listAll</Property> |
| | | <Property name="pageSize">20</Property> |
| | | </DataSet> |
| | | <DataSet id="dsQuery"> |
| | | <ClientEvent name="onReady">self.insert();</ClientEvent> |
| | | <Property name="dataType">dtParam</Property> |
| | | </DataSet> |
| | | <ToolBar> |
| | | <ToolBarLabel> |
| | | <Property name="text">å·¥å
·æ ï¼</Property> |
| | | <Property name="style"> |
| | | <Property name="font-weight">bold</Property> |
| | | </Property> |
| | | </ToolBarLabel> |
| | | <ToolBarButton> |
| | | <ClientEvent name="onClick">var query = view.get("#dsQuery").getData();
 |
| | | view.get("#dsMain").set("parameter",query).flushAsync();</ClientEvent> |
| | | <Property name="caption">æ¥è¯¢</Property> |
| | | <Property name="iconClass">fa fa-search</Property> |
| | | <Property name="width">100</Property> |
| | | <Property name="exClassName">toolbar-button-push</Property> |
| | | </ToolBarButton> |
| | | <ToolBarButton> |
| | | <ClientEvent name="onClick">view.get("#dsMain").insert();
 |
| | | view.get("#dialogMain").show();</ClientEvent> |
| | | <Property name="caption">æ°å¢</Property> |
| | | <Property name="iconClass">fa fa-plus</Property> |
| | | <Property name="width">100</Property> |
| | | <Property name="exClassName">toolbar-button</Property> |
| | | </ToolBarButton> |
| | | <ToolBarButton> |
| | | <ClientEvent name="onClick">var cur = view.get("#dgMain").getCurrentItem();
 |
| | | if(cur){
 |
| | | view.get("#dialogMain").show();
 |
| | | }else{
 |
| | | $alert("请å¾ééè¦ä¿®æ¹çæ°æ®ï¼");
 |
| | | }</ClientEvent> |
| | | <Property name="caption">ä¿®æ¹</Property> |
| | | <Property name="iconClass">fa fa-pencil</Property> |
| | | <Property name="width">100</Property> |
| | | <Property name="exClassName">toolbar-button-warm</Property> |
| | | </ToolBarButton> |
| | | <Separator/> |
| | | <ToolBarButton> |
| | | <ClientEvent name="onClick">var cur = view.get("#dgMain").getCurrentItem();
 |
| | | if(cur){
 |
| | | view.get("#ajaxDelUpdate").set("parameter",cur).execute(function(result){
 |
| | | if(result){
 |
| | | $alert(result);
 |
| | | } else{
 |
| | | cur.set("czbz","d");
 |
| | | }
 |
| | | });
 |
| | | }else{
 |
| | | $alert("请å¾ééè¦æ è®°å é¤çæ°æ®ï¼");
 |
| | | }</ClientEvent> |
| | | <Property name="caption">æ è®°å é¤</Property> |
| | | <Property name="iconClass">fa fa-minus</Property> |
| | | <Property name="exClassName">toolbar-button-warn</Property> |
| | | <Property name="width">100</Property> |
| | | </ToolBarButton> |
| | | <ToolBarButton> |
| | | <ClientEvent name="onClick">var cur = view.get("#dgMain").getCurrentItem();
 |
| | | if(cur){
 |
| | | view.get("#ajaxDel").set("parameter",cur).execute(function(result){
 |
| | | if(result){
 |
| | | $alert(result);
 |
| | | } else{
 |
| | | cur.remove();
 |
| | | }
 |
| | | });
 |
| | | }else{
 |
| | | $alert("请å¾ééè¦å é¤çæ°æ®ï¼");
 |
| | | }
 |
| | | </ClientEvent> |
| | | <Property name="caption">ç´æ¥å é¤</Property> |
| | | <Property name="iconClass">fa fa-minus</Property> |
| | | <Property name="exClassName">toolbar-button-warn</Property> |
| | | <Property name="width">100</Property> |
| | | </ToolBarButton> |
| | | <Separator/> |
| | | <ToolBarButton> |
| | | <ClientEvent name="onClick">var select = view.get("#dgMain").get("selection");
 |
| | | if(select && select.length > 0){
 |
| | | view.get("#ajaxPush").set("parameter",select).execute(function(result){
 |
| | | view.get("#dsMain").flushAsync();
 |
| | | $notify(result);
 |
| | | });
 |
| | | }else{
 |
| | | $alert("请å¾ééè¦ä¸æ¥çæ°æ®ï¼");
 |
| | | }</ClientEvent> |
| | | <Property name="caption">æå¨ä¸ä¼ </Property> |
| | | <Property name="iconClass">fa fa-hand-o-up</Property> |
| | | <Property name="exClassName">toolbar-button-push</Property> |
| | | <Property name="width">100</Property> |
| | | </ToolBarButton> |
| | | <Fill/> |
| | | <ToolBarButton> |
| | | <Property name="caption">ä¸ä¼ è®°å½</Property> |
| | | <Property name="iconClass">fa fa-bars</Property> |
| | | <Property name="exClassName">toolbar-button</Property> |
| | | </ToolBarButton> |
| | | </ToolBar> |
| | | <AutoForm> |
| | | <Property name="dataSet">dsQuery</Property> |
| | | <Property name="cols">*,*,*,*</Property> |
| | | <Property name="labelAlign">right</Property> |
| | | <Property name="labelSeparator">ï¼</Property> |
| | | <Property name="labelWidth">90</Property> |
| | | <AutoFormElement> |
| | | <Property name="name">kqdm</Property> |
| | | <Property name="property">kqdm</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">start</Property> |
| | | <Property name="property">start</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">end</Property> |
| | | <Property name="property">end</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">czbz</Property> |
| | | <Property name="property">czbz</Property> |
| | | <Property name="trigger">autoMappingDropDown2</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | </AutoForm> |
| | | <DataGrid id="dgMain"> |
| | | <Property name="dataSet">dsMain</Property> |
| | | <Property name="selectionMode">multiRows</Property> |
| | | <Property name="readOnly">true</Property> |
| | | <RowNumColumn/> |
| | | <RowSelectorColumn> |
| | | <Property name="caption">ä¸ä¼ </Property> |
| | | </RowSelectorColumn> |
| | | <DataColumn name="dcysdh"> |
| | | <Property name="property">dcysdh</Property> |
| | | <Property name="align">center</Property> |
| | | </DataColumn> |
| | | <DataColumn name="ccdw"> |
| | | <Property name="property">ccdw</Property> |
| | | <Property name="align">center</Property> |
| | | </DataColumn> |
| | | <DataColumn name="dchwbm"> |
| | | <Property name="property">dchwbm</Property> |
| | | <Property name="align">center</Property> |
| | | </DataColumn> |
| | | <DataColumn name="dclspzdm"> |
| | | <Property name="property">dclspzdm</Property> |
| | | <Property name="align">center</Property> |
| | | </DataColumn> |
| | | <DataColumn name="dclssl"> |
| | | <Property name="property">dclssl</Property> |
| | | <Property name="align">center</Property> |
| | | </DataColumn> |
| | | <DataColumn name="drhwbm"> |
| | | <Property name="property">drhwbm</Property> |
| | | <Property name="align">center</Property> |
| | | </DataColumn> |
| | | <DataColumn name="drlspzdm"> |
| | | <Property name="property">drlspzdm</Property> |
| | | <Property name="align">center</Property> |
| | | </DataColumn> |
| | | <DataColumn name="drlssl"> |
| | | <Property name="property">drlssl</Property> |
| | | <Property name="align">center</Property> |
| | | </DataColumn> |
| | | <DataColumn name="czbz"> |
| | | <Property name="property">czbz</Property> |
| | | <Property name="align">center</Property> |
| | | </DataColumn> |
| | | <DataColumn name="zhgxsj"> |
| | | <Property name="property">zhgxsj</Property> |
| | | <Property name="align">center</Property> |
| | | </DataColumn> |
| | | </DataGrid> |
| | | <ToolBar layoutConstraint="bottom"> |
| | | <Fill/> |
| | | <DataPilot> |
| | | <Property name="itemCodes">pageSize,pages</Property> |
| | | <Property name="dataSet">dsMain</Property> |
| | | </DataPilot> |
| | | </ToolBar> |
| | | <Dialog id="dialogMain"> |
| | | <Property name="width">1000</Property> |
| | | <Property name="caption">åä»éªæ¶</Property> |
| | | <Property name="iconClass">fa fa-sliders</Property> |
| | | <Property name="closeable">false</Property> |
| | | <Property name="height">90%</Property> |
| | | <Buttons> |
| | | <Button> |
| | | <ClientEvent name="onClick">var cur = view.get("#dgMain").getCurrentItem();
 |
| | | view.get("#updateSave").execute(function(){
 |
| | | self.get("parent").hide();
 |
| | | view.get("#dsMain").flushAsync();
 |
| | | });
 |
| | | </ClientEvent> |
| | | <Property name="caption">ä¿åä¿®æ¹</Property> |
| | | <Property name="iconClass">fa fa-check</Property> |
| | | <Property name="exClassName">toolbar-button</Property> |
| | | </Button> |
| | | <Button> |
| | | <Property name="caption">ä¸ä¼ æä»¶</Property> |
| | | <Property name="iconClass">fa fa-upload</Property> |
| | | <Property name="exClassName">toolbar-button-warm</Property> |
| | | <Property name="action">uploadAction</Property> |
| | | </Button> |
| | | <Button> |
| | | <ClientEvent name="onClick">var cur = view.get("#dgMain").getCurrentItem();
 |
| | | self.get("parent").hide();
 |
| | | if(cur) cur.cancel();</ClientEvent> |
| | | <Property name="caption">åæ¶ä¿®æ¹</Property> |
| | | <Property name="iconClass">fa fa-times</Property> |
| | | <Property name="exClassName">toolbar-button-warn</Property> |
| | | </Button> |
| | | </Buttons> |
| | | <Children> |
| | | <AutoForm> |
| | | <Property name="dataSet">dsMain</Property> |
| | | <Property name="cols">*,*,*</Property> |
| | | <Property name="labelWidth">100</Property> |
| | | <Property name="labelAlign">left</Property> |
| | | <Property name="labelSeparator">ï¼</Property> |
| | | <Property name="labelPosition">top</Property> |
| | | <AutoFormElement> |
| | | <Property name="name">dcysdh</Property> |
| | | <Property name="property">dcysdh</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">ccdw</Property> |
| | | <Property name="property">ccdw</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">jhwh</Property> |
| | | <Property name="property">jhwh</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">dchwbm</Property> |
| | | <Property name="property">dchwbm</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">dclspzdm</Property> |
| | | <Property name="property">dclspzdm</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">dclsdjdm</Property> |
| | | <Property name="property">dclsdjdm</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">dclsscnd</Property> |
| | | <Property name="property">dclsscnd</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">dclssl</Property> |
| | | <Property name="property">dclssl</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">drhwbm</Property> |
| | | <Property name="property">drhwbm</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">drlspzdm</Property> |
| | | <Property name="property">drlspzdm</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">drlsdjdm</Property> |
| | | <Property name="property">drlsdjdm</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">drlssl</Property> |
| | | <Property name="property">drlssl</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">drlskccb</Property> |
| | | <Property name="property">drlskccb</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">drlsscnd</Property> |
| | | <Property name="property">drlsscnd</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">rksj</Property> |
| | | <Property name="property">rksj</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">wcsj</Property> |
| | | <Property name="property">wcsj</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">ysjl</Property> |
| | | <Property name="property">ysjl</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">yssj</Property> |
| | | <Property name="property">yssj</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">ccdwfzr</Property> |
| | | <Property name="property">ccdwfzr</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">ysr</Property> |
| | | <Property name="property">ysr</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">bz</Property> |
| | | <Property name="property">bz</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">czbz</Property> |
| | | <Property name="property">czbz</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">zhgxsj</Property> |
| | | <Property name="property">zhgxsj</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">wjdz</Property> |
| | | <Property name="property">wjdz</Property> |
| | | <Property name="readOnly">false</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">bizId</Property> |
| | | <Property name="property">bizId</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">kqdm</Property> |
| | | <Property name="property">kqdm</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | </AutoForm> |
| | | </Children> |
| | | <Tools/> |
| | | </Dialog> |
| | | <UpdateAction id="updateSave"> |
| | | <Property name="dataResolver">api1216PR#updateSave</Property> |
| | | <UpdateItem> |
| | | <Property name="dataPath">[#current]</Property> |
| | | <Property name="dataSet">dsMain</Property> |
| | | </UpdateItem> |
| | | </UpdateAction> |
| | | <AjaxAction id="ajaxPush"> |
| | | <Property name="service">api1216PR#pushData</Property> |
| | | <Property name="confirmMessage">ç¡®å®è¦ä¸æ¥ä¹ï¼</Property> |
| | | </AjaxAction> |
| | | <AjaxAction id="ajaxDel"> |
| | | <Property name="service">api1216PR#delData</Property> |
| | | <Property name="confirmMessage">å½åæ°æ®å é¤åæ æ³æ¢å¤ï¼è¯·ç¡®è®¤è¦å é¤ä¹ï¼</Property> |
| | | </AjaxAction> |
| | | <AjaxAction id="ajaxDelUpdate"> |
| | | <Property name="service">api1216PR#delUpdate</Property> |
| | | <Property name="confirmMessage">ç¡®å®è¦å°æ°æ®æ 记为å é¤ä¹ï¼</Property> |
| | | </AjaxAction> |
| | | <UploadAction id="uploadAction"> |
| | | <ClientEvent name="onFileUploaded">var returnValue = arg.returnValue;//è·åFileResolveræ¹æ³è¿åçä¿¡æ¯&#xD;
 |
| | | 
 |
| | | var cur = view.get("#dsMain.data:#");
 |
| | | cur.set("wjdz",returnValue);</ClientEvent> |
| | | <Property name="fileResolver">uploadProcessor#uploadFile</Property> |
| | | <Filters/> |
| | | </UploadAction> |
| | | </View> |
| | | </ViewConfig> |
| ¶Ô±ÈÐÂÎļþ |
| | |
| | | <?xml version="1.0" encoding="UTF-8"?> |
| | | <ViewConfig> |
| | | <Arguments/> |
| | | <Context/> |
| | | <Model> |
| | | <DataType name="dtMain"> |
| | | <Property name="creationType">com.fzzy.api.entity.Api1217</Property> |
| | | <PropertyDef name="dcysdh"> |
| | | <Property></Property> |
| | | <Property name="label">è½®æ¢éªæ¶åå·</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="ccdw"> |
| | | <Property></Property> |
| | | <Property name="label">æ¿å¨åä½</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="jhwh"> |
| | | <Property></Property> |
| | | <Property name="label">计åæå·</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="dchwbm"> |
| | | <Property></Property> |
| | | <Property name="label">计åå®æè´§ä½ç¼ç </Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="dclspzdm"> |
| | | <Property></Property> |
| | | <Property name="label">计åå®æç²®é£åç§ä»£ç </Property> |
| | | <Property name="mapping"> |
| | | <Property name="mapValues">${dorado.getDataProvider("apiTriggerService#trigger").getResult("LSPZ")}</Property> |
| | | <Property name="keyProperty">code</Property> |
| | | <Property name="valueProperty">name</Property> |
| | | </Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="dclsdjdm"> |
| | | <Property></Property> |
| | | <Property name="label">计åå®æç²®é£ç级代ç </Property> |
| | | <Property name="mapping"> |
| | | <Property name="mapValues">${dorado.getDataProvider("apiTriggerService#trigger").getResult("LSDJ")}</Property> |
| | | <Property name="keyProperty">code</Property> |
| | | <Property name="valueProperty">name</Property> |
| | | </Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="dclsscnd"> |
| | | <Property></Property> |
| | | <Property name="label">计åå®æç²®é£ç产年度</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="dclssl"> |
| | | <Property name="dataType">Double</Property> |
| | | <Property name="label">计åå®æç²®é£æ°é(å¨)</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="drhwbm"> |
| | | <Property></Property> |
| | | <Property name="label">å®é
æ§è¡è´§ä½ç¼ç </Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="drlspzdm"> |
| | | <Property></Property> |
| | | <Property name="label">å®é
æ§è¡ç²®é£åç§ä»£ç </Property> |
| | | <Property name="mapping"> |
| | | <Property name="mapValues">${dorado.getDataProvider("apiTriggerService#trigger").getResult("LSPZ")}</Property> |
| | | <Property name="keyProperty">code</Property> |
| | | <Property name="valueProperty">name</Property> |
| | | </Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="drlsdjdm"> |
| | | <Property></Property> |
| | | <Property name="label">å®é
æ§è¡ç²®é£ç级代ç </Property> |
| | | <Property name="mapping"> |
| | | <Property name="mapValues">${dorado.getDataProvider("apiTriggerService#trigger").getResult("LSDJ")}</Property> |
| | | <Property name="keyProperty">code</Property> |
| | | <Property name="valueProperty">name</Property> |
| | | </Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="drlssl"> |
| | | <Property name="dataType">Double</Property> |
| | | <Property name="label">å®é
æ§è¡ç²®é£æ°é(å¨)</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="drlskccb"> |
| | | <Property name="dataType">Double</Property> |
| | | <Property name="label">å®é
æ§è¡ç²®é£åºåææ¬(å
/å¨)</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="drlsscnd"> |
| | | <Property></Property> |
| | | <Property name="label">å®é
æ§è¡ç²®é£ç产年度</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="rksj"> |
| | | <Property name="label">å®é
æ§è¡å
¥åºæ¶é´</Property> |
| | | <Property name="dataType">DateTime</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="wcsj"> |
| | | <Property name="label">å®é
æ§è¡å®ææ¶é´</Property> |
| | | <Property name="dataType">DateTime</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="ysjl"> |
| | | <Property></Property> |
| | | <Property name="label">éªæ¶ç»è®º</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="yssj"> |
| | | <Property name="label">éªæ¶æ¶é´</Property> |
| | | <Property name="dataType">DateTime</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="ccdwfzr"> |
| | | <Property></Property> |
| | | <Property name="label">æ¿å¨åä½è´è´£äºº</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="ysr"> |
| | | <Property></Property> |
| | | <Property name="label">éªæ¶äºº</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="bz"> |
| | | <Property></Property> |
| | | <Property name="label">夿³¨</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="czbz"> |
| | | <Property></Property> |
| | | <Property name="label">æä½æ å¿</Property> |
| | | <Property name="mapping"> |
| | | <Property name="mapValues">${dorado.getDataProvider("apiTriggerService#trigger").getResult("CZBZ")}</Property> |
| | | <Property name="keyProperty">code</Property> |
| | | <Property name="valueProperty">name</Property> |
| | | </Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="zhgxsj"> |
| | | <Property name="label">æåæ´æ°æ¶é´</Property> |
| | | <Property name="dataType">DateTime</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="bizId"> |
| | | <Property></Property> |
| | | <Property name="label">ä¸å¡id</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="kqdm"> |
| | | <Property></Property> |
| | | <Property name="label">åºåºä»£ç </Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="wjdz"> |
| | | <Property></Property> |
| | | <Property name="label">æä»¶å°å</Property> |
| | | </PropertyDef> |
| | | </DataType> |
| | | <DataType name="dtParam"> |
| | | <Property name="creationType">com.fzzy.api.data.ApiParam</Property> |
| | | <PropertyDef name="kqdm"> |
| | | <Property></Property> |
| | | <Property name="label">æå±åºåº</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="start"> |
| | | <Property name="dataType">Date</Property> |
| | | <Property name="label">å¼å§æ¶é´</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="end"> |
| | | <Property name="dataType">Date</Property> |
| | | <Property name="label">æªæ¢æ¶é´</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="czbz"> |
| | | <Property></Property> |
| | | <Property name="label">æä½æ å¿</Property> |
| | | <Property name="mapping"> |
| | | <Property name="mapValues">${dorado.getDataProvider("apiTriggerService#trigger").getResult("CZBZ")}</Property> |
| | | <Property name="keyProperty">code</Property> |
| | | <Property name="valueProperty">name</Property> |
| | | </Property> |
| | | </PropertyDef> |
| | | </DataType> |
| | | </Model> |
| | | <View layout="regionPadding:10"> |
| | | <Property name="packages">font-awesome,css-common</Property> |
| | | <DataSet id="dsMain"> |
| | | <Property name="dataType">[dtMain]</Property> |
| | | <Property name="dataProvider">api1217PR#listAll</Property> |
| | | <Property name="pageSize">20</Property> |
| | | </DataSet> |
| | | <DataSet id="dsQuery"> |
| | | <ClientEvent name="onReady">self.insert();</ClientEvent> |
| | | <Property name="dataType">dtParam</Property> |
| | | </DataSet> |
| | | <ToolBar> |
| | | <ToolBarLabel> |
| | | <Property name="text">å·¥å
·æ ï¼</Property> |
| | | <Property name="style"> |
| | | <Property name="font-weight">bold</Property> |
| | | </Property> |
| | | </ToolBarLabel> |
| | | <ToolBarButton> |
| | | <ClientEvent name="onClick">var query = view.get("#dsQuery").getData();
 |
| | | view.get("#dsMain").set("parameter",query).flushAsync();</ClientEvent> |
| | | <Property name="caption">æ¥è¯¢</Property> |
| | | <Property name="iconClass">fa fa-search</Property> |
| | | <Property name="width">100</Property> |
| | | <Property name="exClassName">toolbar-button-push</Property> |
| | | </ToolBarButton> |
| | | <ToolBarButton> |
| | | <ClientEvent name="onClick">view.get("#dsMain").insert();
 |
| | | view.get("#dialogMain").show();</ClientEvent> |
| | | <Property name="caption">æ°å¢</Property> |
| | | <Property name="iconClass">fa fa-plus</Property> |
| | | <Property name="width">100</Property> |
| | | <Property name="exClassName">toolbar-button</Property> |
| | | </ToolBarButton> |
| | | <ToolBarButton> |
| | | <ClientEvent name="onClick">var cur = view.get("#dgMain").getCurrentItem();
 |
| | | if(cur){
 |
| | | view.get("#dialogMain").show();
 |
| | | }else{
 |
| | | $alert("请å¾ééè¦ä¿®æ¹çæ°æ®ï¼");
 |
| | | }</ClientEvent> |
| | | <Property name="caption">ä¿®æ¹</Property> |
| | | <Property name="iconClass">fa fa-pencil</Property> |
| | | <Property name="width">100</Property> |
| | | <Property name="exClassName">toolbar-button-warm</Property> |
| | | </ToolBarButton> |
| | | <Separator/> |
| | | <ToolBarButton> |
| | | <ClientEvent name="onClick">var cur = view.get("#dgMain").getCurrentItem();
 |
| | | if(cur){
 |
| | | view.get("#ajaxDelUpdate").set("parameter",cur).execute(function(result){
 |
| | | if(result){
 |
| | | $alert(result);
 |
| | | } else{
 |
| | | cur.set("czbz","d");
 |
| | | }
 |
| | | });
 |
| | | }else{
 |
| | | $alert("请å¾ééè¦æ è®°å é¤çæ°æ®ï¼");
 |
| | | }</ClientEvent> |
| | | <Property name="caption">æ è®°å é¤</Property> |
| | | <Property name="iconClass">fa fa-minus</Property> |
| | | <Property name="exClassName">toolbar-button-warn</Property> |
| | | <Property name="width">100</Property> |
| | | </ToolBarButton> |
| | | <ToolBarButton> |
| | | <ClientEvent name="onClick">var cur = view.get("#dgMain").getCurrentItem();
 |
| | | if(cur){
 |
| | | view.get("#ajaxDel").set("parameter",cur).execute(function(result){
 |
| | | if(result){
 |
| | | $alert(result);
 |
| | | } else{
 |
| | | cur.remove();
 |
| | | }
 |
| | | });
 |
| | | }else{
 |
| | | $alert("请å¾ééè¦å é¤çæ°æ®ï¼");
 |
| | | }
 |
| | | </ClientEvent> |
| | | <Property name="caption">ç´æ¥å é¤</Property> |
| | | <Property name="iconClass">fa fa-minus</Property> |
| | | <Property name="exClassName">toolbar-button-warn</Property> |
| | | <Property name="width">100</Property> |
| | | </ToolBarButton> |
| | | <Separator/> |
| | | <ToolBarButton> |
| | | <ClientEvent name="onClick">var select = view.get("#dgMain").get("selection");
 |
| | | if(select && select.length > 0){
 |
| | | view.get("#ajaxPush").set("parameter",select).execute(function(result){
 |
| | | view.get("#dsMain").flushAsync();
 |
| | | $notify(result);
 |
| | | });
 |
| | | }else{
 |
| | | $alert("请å¾ééè¦ä¸æ¥çæ°æ®ï¼");
 |
| | | }</ClientEvent> |
| | | <Property name="caption">æå¨ä¸ä¼ </Property> |
| | | <Property name="iconClass">fa fa-hand-o-up</Property> |
| | | <Property name="exClassName">toolbar-button-push</Property> |
| | | <Property name="width">100</Property> |
| | | </ToolBarButton> |
| | | <Fill/> |
| | | <ToolBarButton> |
| | | <Property name="caption">ä¸ä¼ è®°å½</Property> |
| | | <Property name="iconClass">fa fa-bars</Property> |
| | | <Property name="exClassName">toolbar-button</Property> |
| | | </ToolBarButton> |
| | | </ToolBar> |
| | | <AutoForm> |
| | | <Property name="dataSet">dsQuery</Property> |
| | | <Property name="cols">*,*,*,*</Property> |
| | | <Property name="labelAlign">right</Property> |
| | | <Property name="labelSeparator">ï¼</Property> |
| | | <Property name="labelWidth">90</Property> |
| | | <AutoFormElement> |
| | | <Property name="name">kqdm</Property> |
| | | <Property name="property">kqdm</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">start</Property> |
| | | <Property name="property">start</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">end</Property> |
| | | <Property name="property">end</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">czbz</Property> |
| | | <Property name="property">czbz</Property> |
| | | <Property name="trigger">autoMappingDropDown2</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | </AutoForm> |
| | | <DataGrid id="dgMain"> |
| | | <Property name="dataSet">dsMain</Property> |
| | | <Property name="selectionMode">multiRows</Property> |
| | | <Property name="readOnly">true</Property> |
| | | <RowNumColumn/> |
| | | <RowSelectorColumn> |
| | | <Property name="caption">ä¸ä¼ </Property> |
| | | </RowSelectorColumn> |
| | | <DataColumn name="dcysdh"> |
| | | <Property name="property">dcysdh</Property> |
| | | <Property name="align">center</Property> |
| | | </DataColumn> |
| | | <DataColumn name="ccdw"> |
| | | <Property name="property">ccdw</Property> |
| | | <Property name="align">center</Property> |
| | | </DataColumn> |
| | | <DataColumn name="dchwbm"> |
| | | <Property name="property">dchwbm</Property> |
| | | <Property name="align">center</Property> |
| | | </DataColumn> |
| | | <DataColumn name="dclspzdm"> |
| | | <Property name="property">dclspzdm</Property> |
| | | <Property name="align">center</Property> |
| | | </DataColumn> |
| | | <DataColumn name="dclssl"> |
| | | <Property name="property">dclssl</Property> |
| | | <Property name="align">center</Property> |
| | | </DataColumn> |
| | | <DataColumn name="drhwbm"> |
| | | <Property name="property">drhwbm</Property> |
| | | <Property name="align">center</Property> |
| | | </DataColumn> |
| | | <DataColumn name="drlspzdm"> |
| | | <Property name="property">drlspzdm</Property> |
| | | <Property name="align">center</Property> |
| | | </DataColumn> |
| | | <DataColumn name="drlssl"> |
| | | <Property name="property">drlssl</Property> |
| | | <Property name="align">center</Property> |
| | | </DataColumn> |
| | | <DataColumn name="czbz"> |
| | | <Property name="property">czbz</Property> |
| | | <Property name="align">center</Property> |
| | | </DataColumn> |
| | | <DataColumn name="zhgxsj"> |
| | | <Property name="property">zhgxsj</Property> |
| | | <Property name="align">center</Property> |
| | | </DataColumn> |
| | | </DataGrid> |
| | | <ToolBar layoutConstraint="bottom"> |
| | | <Fill/> |
| | | <DataPilot> |
| | | <Property name="itemCodes">pageSize,pages</Property> |
| | | <Property name="dataSet">dsMain</Property> |
| | | </DataPilot> |
| | | </ToolBar> |
| | | <Dialog id="dialogMain"> |
| | | <Property name="width">1000</Property> |
| | | <Property name="caption">è½®æ¢éªæ¶</Property> |
| | | <Property name="iconClass">fa fa-sliders</Property> |
| | | <Property name="closeable">false</Property> |
| | | <Property name="height">90%</Property> |
| | | <Buttons> |
| | | <Button> |
| | | <ClientEvent name="onClick">var cur = view.get("#dgMain").getCurrentItem();
 |
| | | view.get("#updateSave").execute(function(){
 |
| | | self.get("parent").hide();
 |
| | | view.get("#dsMain").flushAsync();
 |
| | | });
 |
| | | </ClientEvent> |
| | | <Property name="caption">ä¿åä¿®æ¹</Property> |
| | | <Property name="iconClass">fa fa-check</Property> |
| | | <Property name="exClassName">toolbar-button</Property> |
| | | </Button> |
| | | <Button> |
| | | <Property name="caption">ä¸ä¼ æä»¶</Property> |
| | | <Property name="iconClass">fa fa-upload</Property> |
| | | <Property name="exClassName">toolbar-button-warm</Property> |
| | | <Property name="action">uploadAction</Property> |
| | | </Button> |
| | | <Button> |
| | | <ClientEvent name="onClick">var cur = view.get("#dgMain").getCurrentItem();
 |
| | | self.get("parent").hide();
 |
| | | if(cur) cur.cancel();</ClientEvent> |
| | | <Property name="caption">åæ¶ä¿®æ¹</Property> |
| | | <Property name="iconClass">fa fa-times</Property> |
| | | <Property name="exClassName">toolbar-button-warn</Property> |
| | | </Button> |
| | | </Buttons> |
| | | <Children> |
| | | <AutoForm> |
| | | <Property name="dataSet">dsMain</Property> |
| | | <Property name="cols">*,*,*</Property> |
| | | <Property name="labelWidth">100</Property> |
| | | <Property name="labelAlign">left</Property> |
| | | <Property name="labelSeparator">ï¼</Property> |
| | | <Property name="labelPosition">top</Property> |
| | | <AutoFormElement> |
| | | <Property name="name">dcysdh</Property> |
| | | <Property name="property">dcysdh</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">ccdw</Property> |
| | | <Property name="property">ccdw</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">jhwh</Property> |
| | | <Property name="property">jhwh</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">dchwbm</Property> |
| | | <Property name="property">dchwbm</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">dclspzdm</Property> |
| | | <Property name="property">dclspzdm</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">dclsdjdm</Property> |
| | | <Property name="property">dclsdjdm</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">dclsscnd</Property> |
| | | <Property name="property">dclsscnd</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">dclssl</Property> |
| | | <Property name="property">dclssl</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">drhwbm</Property> |
| | | <Property name="property">drhwbm</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">drlspzdm</Property> |
| | | <Property name="property">drlspzdm</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">drlsdjdm</Property> |
| | | <Property name="property">drlsdjdm</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">drlssl</Property> |
| | | <Property name="property">drlssl</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">drlskccb</Property> |
| | | <Property name="property">drlskccb</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">drlsscnd</Property> |
| | | <Property name="property">drlsscnd</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">rksj</Property> |
| | | <Property name="property">rksj</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">wcsj</Property> |
| | | <Property name="property">wcsj</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">ysjl</Property> |
| | | <Property name="property">ysjl</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">yssj</Property> |
| | | <Property name="property">yssj</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">ccdwfzr</Property> |
| | | <Property name="property">ccdwfzr</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">ysr</Property> |
| | | <Property name="property">ysr</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">bz</Property> |
| | | <Property name="property">bz</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">czbz</Property> |
| | | <Property name="property">czbz</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">zhgxsj</Property> |
| | | <Property name="property">zhgxsj</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">wjdz</Property> |
| | | <Property name="property">wjdz</Property> |
| | | <Property name="readOnly">false</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">bizId</Property> |
| | | <Property name="property">bizId</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">kqdm</Property> |
| | | <Property name="property">kqdm</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | </AutoForm> |
| | | </Children> |
| | | <Tools/> |
| | | </Dialog> |
| | | <UpdateAction id="updateSave"> |
| | | <Property name="dataResolver">api1217PR#updateSave</Property> |
| | | <UpdateItem> |
| | | <Property name="dataPath">[#current]</Property> |
| | | <Property name="dataSet">dsMain</Property> |
| | | </UpdateItem> |
| | | </UpdateAction> |
| | | <AjaxAction id="ajaxPush"> |
| | | <Property name="service">api1217PR#pushData</Property> |
| | | <Property name="confirmMessage">ç¡®å®è¦ä¸æ¥ä¹ï¼</Property> |
| | | </AjaxAction> |
| | | <AjaxAction id="ajaxDel"> |
| | | <Property name="service">api1217PR#delData</Property> |
| | | <Property name="confirmMessage">å½åæ°æ®å é¤åæ æ³æ¢å¤ï¼è¯·ç¡®è®¤è¦å é¤ä¹ï¼</Property> |
| | | </AjaxAction> |
| | | <AjaxAction id="ajaxDelUpdate"> |
| | | <Property name="service">api1217PR#delUpdate</Property> |
| | | <Property name="confirmMessage">ç¡®å®è¦å°æ°æ®æ 记为å é¤ä¹ï¼</Property> |
| | | </AjaxAction> |
| | | <UploadAction id="uploadAction"> |
| | | <ClientEvent name="onFileUploaded">var returnValue = arg.returnValue;//è·åFileResolveræ¹æ³è¿åçä¿¡æ¯&#xD;
 |
| | | 
 |
| | | var cur = view.get("#dsMain.data:#");
 |
| | | cur.set("wjdz",returnValue);</ClientEvent> |
| | | <Property name="fileResolver">uploadProcessor#uploadFile</Property> |
| | | <Filters/> |
| | | </UploadAction> |
| | | </View> |
| | | </ViewConfig> |
| | |
| | | import com.bstek.dorado.annotation.Expose; |
| | | import com.bstek.dorado.data.provider.Page; |
| | | import com.fzzy.api.data.ApiParam; |
| | | import com.fzzy.api.data.PushProtocol; |
| | | import com.fzzy.api.service.ApiCommonService; |
| | | import com.fzzy.api.service.ApiPushManager; |
| | | import com.fzzy.api.service.ApiRemoteService; |
| | |
| | | import org.springframework.data.domain.Sort; |
| | | import org.springframework.data.jpa.domain.Specification; |
| | | import org.springframework.stereotype.Component; |
| | | import sun.misc.BASE64Encoder; |
| | | |
| | | import javax.persistence.criteria.CriteriaBuilder; |
| | | import javax.persistence.criteria.CriteriaQuery; |
| | | import javax.persistence.criteria.Predicate; |
| | | import javax.persistence.criteria.Root; |
| | | import java.io.*; |
| | | import java.util.ArrayList; |
| | | import java.util.Date; |
| | | import java.util.List; |
| | |
| | | return responseDto.toString(); |
| | | } |
| | | |
| | | |
| | | /** |
| | | * imgFile å¾çæ¬å°åå¨è·¯å¾ |
| | | */ |
| | | public static String getImgFileToBase64(String imgFile) { |
| | | //å°å¾çæä»¶è½¬å为åèæ°ç»å符串ï¼å¹¶å¯¹å
¶è¿è¡Base64ç¼ç å¤ç |
| | | InputStream inputStream = null; |
| | | byte[] buffer = null; |
| | | //读åå¾çåèæ°ç» |
| | | try { |
| | | inputStream = new FileInputStream(imgFile); |
| | | int count = 0; |
| | | while (count == 0) { |
| | | count = inputStream.available(); |
| | | } |
| | | buffer = new byte[count]; |
| | | inputStream.read(buffer); |
| | | } catch (IOException e) { |
| | | log.error(e.getMessage(),e); |
| | | } finally { |
| | | if (inputStream != null) { |
| | | try { |
| | | // å
³éinputStreamæµ |
| | | inputStream.close(); |
| | | } catch (IOException e) { |
| | | e.printStackTrace(); |
| | | } |
| | | } |
| | | } |
| | | // 对åèæ°ç»Base64ç¼ç |
| | | //return Base64Utils.encodeToString(buffer); |
| | | return new BASE64Encoder().encode(buffer); |
| | | } |
| | | |
| | | /** |
| | | * è·åå¾ççäºè¿å¶æµ |
| | | * @param imgPath |
| | | * @return |
| | | */ |
| | | @SuppressWarnings("resource") |
| | | public String imgToIo(String imgPath){ |
| | | //å¾ç转å为äºè¿å¶ |
| | | byte[] imageBytes = null; |
| | | try { |
| | | FileInputStream fileInputStream = new FileInputStream(new File(imgPath)); |
| | | imageBytes = new byte[fileInputStream.available()]; |
| | | fileInputStream.read(imageBytes); |
| | | } catch (IOException e) { |
| | | System.out.println(e); |
| | | return null; |
| | | } |
| | | return UnicodeByteToStr(imageBytes); |
| | | } |
| | | |
| | | private static String UnicodeByteToStr(byte[] b){ |
| | | StringBuilder sb = new StringBuilder(); |
| | | for(int i=0;i<b.length;i++) { |
| | | sb.append(String.format("%02x", b[i])); |
| | | } |
| | | return sb.toString(); |
| | | } |
| | | |
| | | /** |
| | | * æ ¹æ®æä»¶è·¯å¾å°æä»¶è½¬ä¸ºäºè¿å¶æ°ç» |
| | | * @param filePath:æä»¶è·¯å¾ |
| | | * @return |
| | | */ |
| | | public static byte[] file2byte(String filePath) { |
| | | byte[] buffer = null; |
| | | try { |
| | | File file = new File(filePath); |
| | | FileInputStream fis = new FileInputStream(file); |
| | | ByteArrayOutputStream bos = new ByteArrayOutputStream(); |
| | | byte[] b = new byte[1024]; |
| | | int n; |
| | | while ((n = fis.read(b)) != -1) { |
| | | bos.write(b, 0, n); |
| | | } |
| | | fis.close(); |
| | | bos.close(); |
| | | buffer = bos.toByteArray(); |
| | | } catch (FileNotFoundException e) { |
| | | e.printStackTrace(); |
| | | } catch (IOException e) { |
| | | e.printStackTrace(); |
| | | } |
| | | return buffer; |
| | | } |
| | | |
| | | /** |
| | | * å°äºè¿å¶æ°ç»è½¬ä¸ºå符串 |
| | | * @param b |
| | | * @return |
| | | */ |
| | | public static String toHexString(byte[] b) { |
| | | StringBuilder sb = new StringBuilder(); |
| | | String stmp=""; |
| | | for (int n=0;n<b.length;n++) { |
| | | stmp=(Integer.toHexString(b[n] & 0XFF)); |
| | | if (stmp.length()==1) sb.append("0"+stmp); |
| | | else sb.append(stmp); |
| | | } |
| | | return sb.toString().toUpperCase(); |
| | | } |
| | | |
| | | |
| | | public static void main(String[] args) { |
| | | String hex = toHexString(file2byte("E://91511424746940066Y001.jpg")); |
| | | System.out.println(hex); |
| | | saveToImgFile(hex,"E://dd.jpg"); |
| | | } |
| | | |
| | | |
| | | public static void saveToImgFile(String src,String output){ |
| | | if(src==null||src.length()==0){ |
| | | return; |
| | | } |
| | | try{ |
| | | FileOutputStream out = new FileOutputStream(new File(output)); |
| | | byte[] bytes = src.getBytes(); |
| | | for(int i=0;i<bytes.length;i+=2){ |
| | | out.write(charToInt(bytes[i])*16+charToInt(bytes[i+1])); |
| | | } |
| | | out.close(); |
| | | }catch(Exception e){ |
| | | e.printStackTrace(); |
| | | } |
| | | } |
| | | private static int charToInt(byte ch){ |
| | | int val = 0; |
| | | if(ch>=0x30&&ch<=0x39){ |
| | | val=ch-0x30; |
| | | }else if(ch>=0x41&&ch<=0x46){ |
| | | val=ch-0x41+10; |
| | | } |
| | | return val; |
| | | } |
| | | } |
| ¶Ô±ÈÐÂÎļþ |
| | |
| | | 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.Api1214; |
| | | 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.Api1214Rep; |
| | | 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.Date; |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * @Description 空ä»éªæ¶ |
| | | * @Author CZT |
| | | * @Date 2025/10/31 14:46 |
| | | */ |
| | | @Slf4j |
| | | @Component |
| | | public class Api1214PR { |
| | | |
| | | @Autowired |
| | | private Api1214Rep api1214Rep; |
| | | |
| | | @Autowired |
| | | private ApiCommonService apiCommonService; |
| | | |
| | | @Autowired |
| | | private ApiPushManager apiPushManager; |
| | | |
| | | /** |
| | | * api1214PR#listAll |
| | | * |
| | | * @return |
| | | */ |
| | | @DataProvider |
| | | public void listAll(Page<Api1214> page, ApiParam param) { |
| | | //å¤åæ°å页æ¥è¯¢ |
| | | Pageable pageable = PageRequest.of(page.getPageNo() - 1, page.getPageSize(), Sort.Direction.DESC, Api1214.SORT_PROP); |
| | | |
| | | if (null == param) { |
| | | org.springframework.data.domain.Page<Api1214> japPage = api1214Rep.findAll(pageable); |
| | | page.setEntityCount((int) japPage.getTotalElements()); |
| | | page.setEntities(japPage.getContent()); |
| | | |
| | | return; |
| | | } |
| | | |
| | | Specification<Api1214> specification = new Specification<Api1214>() { |
| | | private static final long serialVersionUID = 1L; |
| | | |
| | | public Predicate toPredicate(Root<Api1214> root, CriteriaQuery<?> query, CriteriaBuilder cb) { |
| | | List<Predicate> predicates = new ArrayList<Predicate>(); //ææçæè¨ |
| | | |
| | | 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.<Date>get("zhgxsj"), ContextUtil.getCurZero(param.getStart())); |
| | | predicates.add(predicate3); |
| | | } |
| | | |
| | | if (null != param.getEnd()) { |
| | | Predicate predicate4 = cb.lessThan(root.<Date>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<Api1214> japPage = api1214Rep.findAll(specification, pageable); |
| | | page.setEntityCount((int) japPage.getTotalElements()); |
| | | page.setEntities(japPage.getContent()); |
| | | } |
| | | |
| | | /** |
| | | * api1214PR#updateSave |
| | | * |
| | | * @param entity |
| | | */ |
| | | @DataResolver |
| | | public void updateSave(Api1214 entity) { |
| | | if (StringUtils.isEmpty(entity.getCzbz())) { |
| | | entity.setCzbz(Constant.CZBZ_I); |
| | | } |
| | | |
| | | // æå¨å°doradoEntity对象转æ¢ä¸ºæ åBean对象 |
| | | Api1214 data = new Api1214(); |
| | | BeanUtils.copyProperties(entity, data); |
| | | |
| | | api1214Rep.save(data); |
| | | } |
| | | |
| | | /** |
| | | * api1214PR#delData |
| | | * |
| | | * @param data |
| | | */ |
| | | @Expose |
| | | public String delData(Api1214 data) { |
| | | |
| | | api1214Rep.deleteById(data.getKcysdh()); |
| | | |
| | | return null; |
| | | } |
| | | |
| | | /** |
| | | * |
| | | * æ´æ°å 餿 è®° api1214PR#delUpdate |
| | | * |
| | | * @param entity |
| | | */ |
| | | @Expose |
| | | public String delUpdate(Api1214 entity) { |
| | | |
| | | entity.setCzbz(Constant.CZBZ_D); |
| | | |
| | | Api1214 data = new Api1214(); |
| | | BeanUtils.copyProperties(entity, data); |
| | | |
| | | api1214Rep.save(data); |
| | | return null; |
| | | } |
| | | |
| | | /** |
| | | * api1214PR#pushData |
| | | * |
| | | * @param items |
| | | */ |
| | | @Expose |
| | | public String pushData(List<Api1214> items) { |
| | | |
| | | //è·åé
ç½® |
| | | String kqdm = items.get(0).getKqdm(); |
| | | ApiConfs apiConf = apiCommonService.getConf(kqdm); |
| | | |
| | | if (null == apiConf) return "ç³»ç»æ²¡æè·åå°å½ååºåºé
置信æ¯ï¼æ§è¡å¤±è´¥"; |
| | | |
| | | //è·åå®ç°æ¥å£ |
| | | ApiRemoteService apiRemoteService = apiPushManager.getApiRemoteService(apiConf.getPushProtocol()); |
| | | if (null == apiRemoteService) return "ç³»ç»æ²¡æå½åæ¨éåè®®é
ç½®ï¼æ§è¡å¤±è´¥"; |
| | | |
| | | return pushDataSingle(items,apiRemoteService,apiConf); |
| | | } |
| | | |
| | | /** |
| | | * åæ¡æ°æ®jsonæ¨é |
| | | * |
| | | * @param items |
| | | * @param apiRemoteService |
| | | * @param apiConf |
| | | * @return |
| | | */ |
| | | private String pushDataSingle(List<Api1214> items, ApiRemoteService apiRemoteService, ApiConfs apiConf) { |
| | | ResponseDto responseDto; |
| | | String result = ""; |
| | | |
| | | //å°è£
åæ° |
| | | ApiParam param = new ApiParam(apiConf, Constant.API_CATEGORY_12, Constant.API_CODE_1214); |
| | | Api1214 d; |
| | | for (Api1214 data : items) { |
| | | d = new Api1214(); |
| | | BeanUtils.copyProperties(data, d); |
| | | param.setBizId(data.getBizId()); |
| | | responseDto = apiRemoteService.pushData(param, apiConf, d); |
| | | |
| | | result += responseDto.toString(); |
| | | if (responseDto.getSuccess() == 0) { |
| | | if (Constant.CZBZ_I.equals(d.getCzbz())) { |
| | | api1214Rep.updateStatus(data.getKcysdh(), Constant.CZBZ_U); |
| | | } |
| | | } |
| | | } |
| | | return result; |
| | | } |
| | | |
| | | /** |
| | | * 夿¡æ°æ®jsonæ¨é |
| | | * |
| | | * @param items |
| | | * @param apiRemoteService |
| | | * @param apiConf |
| | | * @return |
| | | */ |
| | | private String pushDataList(List<Api1214> items, ApiRemoteService apiRemoteService, ApiConfs apiConf) { |
| | | |
| | | //å°è£
åæ° |
| | | ApiParam param = new ApiParam(apiConf, Constant.API_CATEGORY_12, Constant.API_CODE_1214); |
| | | |
| | | //æ¨éï¼æ°æ®ä¸ºéåå½¢å¼ |
| | | ResponseDto responseDto = apiRemoteService.pushData(param, apiConf, items); |
| | | if (responseDto.getSuccess() == 0) { |
| | | //æ¨éæåï¼æ´æ°æ°æ®ä¸ä¼ ç¶æ |
| | | for (Api1214 data : items) { |
| | | if (Constant.CZBZ_I.equals(data.getCzbz())) { |
| | | //æ´æ°ç¶æ |
| | | api1214Rep.updateStatus(data.getKcysdh(), Constant.CZBZ_U); |
| | | } |
| | | } |
| | | } |
| | | return responseDto.toString(); |
| | | } |
| | | |
| | | } |
| ¶Ô±ÈÐÂÎļþ |
| | |
| | | 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.Api1215; |
| | | 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.Api1215Rep; |
| | | 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.Date; |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * @Description api1214PR |
| | | * @Author CZT |
| | | * @Date 2025/10/31 16:09 |
| | | */ |
| | | @Slf4j |
| | | @Component |
| | | public class Api1215PR { |
| | | |
| | | @Autowired |
| | | private Api1215Rep api1215Rep; |
| | | |
| | | @Autowired |
| | | private ApiCommonService apiCommonService; |
| | | |
| | | @Autowired |
| | | private ApiPushManager apiPushManager; |
| | | |
| | | /** |
| | | * api1215PR#listAll |
| | | * |
| | | * @return |
| | | */ |
| | | @DataProvider |
| | | public void listAll(Page<Api1215> page, ApiParam param) { |
| | | //å¤åæ°å页æ¥è¯¢ |
| | | Pageable pageable = PageRequest.of(page.getPageNo() - 1, page.getPageSize(), Sort.Direction.DESC, Api1215.SORT_PROP); |
| | | |
| | | if (null == param) { |
| | | org.springframework.data.domain.Page<Api1215> japPage = api1215Rep.findAll(pageable); |
| | | page.setEntityCount((int) japPage.getTotalElements()); |
| | | page.setEntities(japPage.getContent()); |
| | | |
| | | return; |
| | | } |
| | | |
| | | Specification<Api1215> specification = new Specification<Api1215>() { |
| | | private static final long serialVersionUID = 1L; |
| | | |
| | | public Predicate toPredicate(Root<Api1215> root, CriteriaQuery<?> query, CriteriaBuilder cb) { |
| | | List<Predicate> predicates = new ArrayList<Predicate>(); //ææçæè¨ |
| | | |
| | | 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.<Date>get("zhgxsj"), ContextUtil.getCurZero(param.getStart())); |
| | | predicates.add(predicate3); |
| | | } |
| | | |
| | | if (null != param.getEnd()) { |
| | | Predicate predicate4 = cb.lessThan(root.<Date>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<Api1215> japPage = api1215Rep.findAll(specification, pageable); |
| | | page.setEntityCount((int) japPage.getTotalElements()); |
| | | page.setEntities(japPage.getContent()); |
| | | } |
| | | |
| | | /** |
| | | * api1215PR#updateSave |
| | | * |
| | | * @param entity |
| | | */ |
| | | @DataResolver |
| | | public void updateSave(Api1215 entity) { |
| | | if (StringUtils.isEmpty(entity.getCzbz())) { |
| | | entity.setCzbz(Constant.CZBZ_I); |
| | | } |
| | | |
| | | // æå¨å°doradoEntity对象转æ¢ä¸ºæ åBean对象 |
| | | Api1215 data = new Api1215(); |
| | | BeanUtils.copyProperties(entity, data); |
| | | |
| | | api1215Rep.save(data); |
| | | } |
| | | |
| | | /** |
| | | * api1215PR#delData |
| | | * |
| | | * @param data |
| | | */ |
| | | @Expose |
| | | public String delData(Api1215 data) { |
| | | |
| | | api1215Rep.deleteById(data.getKgysdh()); |
| | | |
| | | return null; |
| | | } |
| | | |
| | | /** |
| | | * |
| | | * æ´æ°å 餿 è®° api1215PR#delUpdate |
| | | * |
| | | * @param entity |
| | | */ |
| | | @Expose |
| | | public String delUpdate(Api1215 entity) { |
| | | |
| | | entity.setCzbz(Constant.CZBZ_D); |
| | | |
| | | Api1215 data = new Api1215(); |
| | | BeanUtils.copyProperties(entity, data); |
| | | |
| | | api1215Rep.save(data); |
| | | return null; |
| | | } |
| | | |
| | | /** |
| | | * api1215PR#pushData |
| | | * |
| | | * @param items |
| | | */ |
| | | @Expose |
| | | public String pushData(List<Api1215> items) { |
| | | |
| | | //è·åé
ç½® |
| | | String kqdm = items.get(0).getKqdm(); |
| | | ApiConfs apiConf = apiCommonService.getConf(kqdm); |
| | | |
| | | if (null == apiConf) return "ç³»ç»æ²¡æè·åå°å½ååºåºé
置信æ¯ï¼æ§è¡å¤±è´¥"; |
| | | |
| | | //è·åå®ç°æ¥å£ |
| | | ApiRemoteService apiRemoteService = apiPushManager.getApiRemoteService(apiConf.getPushProtocol()); |
| | | if (null == apiRemoteService) return "ç³»ç»æ²¡æå½åæ¨éåè®®é
ç½®ï¼æ§è¡å¤±è´¥"; |
| | | |
| | | return pushDataSingle(items,apiRemoteService,apiConf); |
| | | } |
| | | |
| | | /** |
| | | * åæ¡æ°æ®jsonæ¨é |
| | | * |
| | | * @param items |
| | | * @param apiRemoteService |
| | | * @param apiConf |
| | | * @return |
| | | */ |
| | | private String pushDataSingle(List<Api1215> items, ApiRemoteService apiRemoteService, ApiConfs apiConf) { |
| | | ResponseDto responseDto; |
| | | String result = ""; |
| | | |
| | | //å°è£
åæ° |
| | | ApiParam param = new ApiParam(apiConf, Constant.API_CATEGORY_12, Constant.API_CODE_1215); |
| | | Api1215 d; |
| | | for (Api1215 data : items) { |
| | | d = new Api1215(); |
| | | BeanUtils.copyProperties(data, d); |
| | | param.setBizId(data.getBizId()); |
| | | responseDto = apiRemoteService.pushData(param, apiConf, d); |
| | | |
| | | result += responseDto.toString(); |
| | | if (responseDto.getSuccess() == 0) { |
| | | if (Constant.CZBZ_I.equals(d.getCzbz())) { |
| | | api1215Rep.updateStatus(data.getKgysdh(), Constant.CZBZ_U); |
| | | } |
| | | } |
| | | } |
| | | return result; |
| | | } |
| | | |
| | | /** |
| | | * 夿¡æ°æ®jsonæ¨é |
| | | * |
| | | * @param items |
| | | * @param apiRemoteService |
| | | * @param apiConf |
| | | * @return |
| | | */ |
| | | private String pushDataList(List<Api1215> items, ApiRemoteService apiRemoteService, ApiConfs apiConf) { |
| | | |
| | | //å°è£
åæ° |
| | | ApiParam param = new ApiParam(apiConf, Constant.API_CATEGORY_12, Constant.API_CODE_1215); |
| | | |
| | | //æ¨éï¼æ°æ®ä¸ºéåå½¢å¼ |
| | | ResponseDto responseDto = apiRemoteService.pushData(param, apiConf, items); |
| | | if (responseDto.getSuccess() == 0) { |
| | | //æ¨éæåï¼æ´æ°æ°æ®ä¸ä¼ ç¶æ |
| | | for (Api1215 data : items) { |
| | | if (Constant.CZBZ_I.equals(data.getCzbz())) { |
| | | //æ´æ°ç¶æ |
| | | api1215Rep.updateStatus(data.getKgysdh(), Constant.CZBZ_U); |
| | | } |
| | | } |
| | | } |
| | | return responseDto.toString(); |
| | | } |
| | | |
| | | } |
| ¶Ô±ÈÐÂÎļþ |
| | |
| | | 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.Api1216; |
| | | 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.Api1216Rep; |
| | | 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.Date; |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * @Description åä»éªæ¶ |
| | | * @Author CZT |
| | | * @Date 2025/10/31 14:46 |
| | | */ |
| | | @Slf4j |
| | | @Component |
| | | public class Api1216PR { |
| | | |
| | | @Autowired |
| | | private Api1216Rep api1216Rep; |
| | | |
| | | @Autowired |
| | | private ApiCommonService apiCommonService; |
| | | |
| | | @Autowired |
| | | private ApiPushManager apiPushManager; |
| | | |
| | | /** |
| | | * api1216PR#listAll |
| | | * |
| | | * @return |
| | | */ |
| | | @DataProvider |
| | | public void listAll(Page<Api1216> page, ApiParam param) { |
| | | //å¤åæ°å页æ¥è¯¢ |
| | | Pageable pageable = PageRequest.of(page.getPageNo() - 1, page.getPageSize(), Sort.Direction.DESC, Api1216.SORT_PROP); |
| | | |
| | | if (null == param) { |
| | | org.springframework.data.domain.Page<Api1216> japPage = api1216Rep.findAll(pageable); |
| | | page.setEntityCount((int) japPage.getTotalElements()); |
| | | page.setEntities(japPage.getContent()); |
| | | |
| | | return; |
| | | } |
| | | |
| | | Specification<Api1216> specification = new Specification<Api1216>() { |
| | | private static final long serialVersionUID = 1L; |
| | | |
| | | public Predicate toPredicate(Root<Api1216> root, CriteriaQuery<?> query, CriteriaBuilder cb) { |
| | | List<Predicate> predicates = new ArrayList<Predicate>(); //ææçæè¨ |
| | | |
| | | 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.<Date>get("zhgxsj"), ContextUtil.getCurZero(param.getStart())); |
| | | predicates.add(predicate3); |
| | | } |
| | | |
| | | if (null != param.getEnd()) { |
| | | Predicate predicate4 = cb.lessThan(root.<Date>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<Api1216> japPage = api1216Rep.findAll(specification, pageable); |
| | | page.setEntityCount((int) japPage.getTotalElements()); |
| | | page.setEntities(japPage.getContent()); |
| | | } |
| | | |
| | | /** |
| | | * api1216PR#updateSave |
| | | * |
| | | * @param entity |
| | | */ |
| | | @DataResolver |
| | | public void updateSave(Api1216 entity) { |
| | | if (StringUtils.isEmpty(entity.getCzbz())) { |
| | | entity.setCzbz(Constant.CZBZ_I); |
| | | } |
| | | |
| | | // æå¨å°doradoEntity对象转æ¢ä¸ºæ åBean对象 |
| | | Api1216 data = new Api1216(); |
| | | BeanUtils.copyProperties(entity, data); |
| | | |
| | | api1216Rep.save(data); |
| | | } |
| | | |
| | | /** |
| | | * api1216PR#delData |
| | | * |
| | | * @param data |
| | | */ |
| | | @Expose |
| | | public String delData(Api1216 data) { |
| | | |
| | | api1216Rep.deleteById(data.getDcysdh()); |
| | | |
| | | return null; |
| | | } |
| | | |
| | | /** |
| | | * |
| | | * æ´æ°å 餿 è®° api1216PR#delUpdate |
| | | * |
| | | * @param entity |
| | | */ |
| | | @Expose |
| | | public String delUpdate(Api1216 entity) { |
| | | |
| | | entity.setCzbz(Constant.CZBZ_D); |
| | | |
| | | Api1216 data = new Api1216(); |
| | | BeanUtils.copyProperties(entity, data); |
| | | |
| | | api1216Rep.save(data); |
| | | return null; |
| | | } |
| | | |
| | | /** |
| | | * api1216PR#pushData |
| | | * |
| | | * @param items |
| | | */ |
| | | @Expose |
| | | public String pushData(List<Api1216> items) { |
| | | |
| | | //è·åé
ç½® |
| | | String kqdm = items.get(0).getKqdm(); |
| | | ApiConfs apiConf = apiCommonService.getConf(kqdm); |
| | | |
| | | if (null == apiConf) return "ç³»ç»æ²¡æè·åå°å½ååºåºé
置信æ¯ï¼æ§è¡å¤±è´¥"; |
| | | |
| | | //è·åå®ç°æ¥å£ |
| | | ApiRemoteService apiRemoteService = apiPushManager.getApiRemoteService(apiConf.getPushProtocol()); |
| | | if (null == apiRemoteService) return "ç³»ç»æ²¡æå½åæ¨éåè®®é
ç½®ï¼æ§è¡å¤±è´¥"; |
| | | |
| | | return pushDataSingle(items,apiRemoteService,apiConf); |
| | | } |
| | | |
| | | /** |
| | | * åæ¡æ°æ®jsonæ¨é |
| | | * |
| | | * @param items |
| | | * @param apiRemoteService |
| | | * @param apiConf |
| | | * @return |
| | | */ |
| | | private String pushDataSingle(List<Api1216> items, ApiRemoteService apiRemoteService, ApiConfs apiConf) { |
| | | ResponseDto responseDto; |
| | | String result = ""; |
| | | |
| | | //å°è£
åæ° |
| | | ApiParam param = new ApiParam(apiConf, Constant.API_CATEGORY_12, Constant.API_CODE_1216); |
| | | Api1216 d; |
| | | for (Api1216 data : items) { |
| | | d = new Api1216(); |
| | | BeanUtils.copyProperties(data, d); |
| | | param.setBizId(data.getBizId()); |
| | | responseDto = apiRemoteService.pushData(param, apiConf, d); |
| | | |
| | | result += responseDto.toString(); |
| | | if (responseDto.getSuccess() == 0) { |
| | | if (Constant.CZBZ_I.equals(d.getCzbz())) { |
| | | api1216Rep.updateStatus(data.getDcysdh(), Constant.CZBZ_U); |
| | | } |
| | | } |
| | | } |
| | | return result; |
| | | } |
| | | |
| | | /** |
| | | * 夿¡æ°æ®jsonæ¨é |
| | | * |
| | | * @param items |
| | | * @param apiRemoteService |
| | | * @param apiConf |
| | | * @return |
| | | */ |
| | | private String pushDataList(List<Api1216> items, ApiRemoteService apiRemoteService, ApiConfs apiConf) { |
| | | |
| | | //å°è£
åæ° |
| | | ApiParam param = new ApiParam(apiConf, Constant.API_CATEGORY_12, Constant.API_CODE_1216); |
| | | |
| | | //æ¨éï¼æ°æ®ä¸ºéåå½¢å¼ |
| | | ResponseDto responseDto = apiRemoteService.pushData(param, apiConf, items); |
| | | if (responseDto.getSuccess() == 0) { |
| | | //æ¨éæåï¼æ´æ°æ°æ®ä¸ä¼ ç¶æ |
| | | for (Api1216 data : items) { |
| | | if (Constant.CZBZ_I.equals(data.getCzbz())) { |
| | | //æ´æ°ç¶æ |
| | | api1216Rep.updateStatus(data.getDcysdh(), Constant.CZBZ_U); |
| | | } |
| | | } |
| | | } |
| | | return responseDto.toString(); |
| | | } |
| | | |
| | | } |
| ¶Ô±ÈÐÂÎļþ |
| | |
| | | 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.Api1217; |
| | | 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.Api1217Rep; |
| | | 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.Date; |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * @Description è½®æ¢éªæ¶ä¿¡æ¯ |
| | | * @Author CZT |
| | | * @Date 2025/10/31 16:25 |
| | | */ |
| | | @Slf4j |
| | | @Component |
| | | public class Api1217PR { |
| | | |
| | | @Autowired |
| | | private Api1217Rep api1217Rep; |
| | | |
| | | @Autowired |
| | | private ApiCommonService apiCommonService; |
| | | |
| | | @Autowired |
| | | private ApiPushManager apiPushManager; |
| | | |
| | | /** |
| | | * api1217PR#listAll |
| | | * |
| | | * @return |
| | | */ |
| | | @DataProvider |
| | | public void listAll(Page<Api1217> page, ApiParam param) { |
| | | //å¤åæ°å页æ¥è¯¢ |
| | | Pageable pageable = PageRequest.of(page.getPageNo() - 1, page.getPageSize(), Sort.Direction.DESC, Api1217.SORT_PROP); |
| | | |
| | | if (null == param) { |
| | | org.springframework.data.domain.Page<Api1217> japPage = api1217Rep.findAll(pageable); |
| | | page.setEntityCount((int) japPage.getTotalElements()); |
| | | page.setEntities(japPage.getContent()); |
| | | |
| | | return; |
| | | } |
| | | |
| | | Specification<Api1217> specification = new Specification<Api1217>() { |
| | | private static final long serialVersionUID = 1L; |
| | | |
| | | public Predicate toPredicate(Root<Api1217> root, CriteriaQuery<?> query, CriteriaBuilder cb) { |
| | | List<Predicate> predicates = new ArrayList<Predicate>(); //ææçæè¨ |
| | | |
| | | 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.<Date>get("zhgxsj"), ContextUtil.getCurZero(param.getStart())); |
| | | predicates.add(predicate3); |
| | | } |
| | | |
| | | if (null != param.getEnd()) { |
| | | Predicate predicate4 = cb.lessThan(root.<Date>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<Api1217> japPage = api1217Rep.findAll(specification, pageable); |
| | | page.setEntityCount((int) japPage.getTotalElements()); |
| | | page.setEntities(japPage.getContent()); |
| | | } |
| | | |
| | | /** |
| | | * api1217PR#updateSave |
| | | * |
| | | * @param entity |
| | | */ |
| | | @DataResolver |
| | | public void updateSave(Api1217 entity) { |
| | | if (StringUtils.isEmpty(entity.getCzbz())) { |
| | | entity.setCzbz(Constant.CZBZ_I); |
| | | } |
| | | |
| | | // æå¨å°doradoEntity对象转æ¢ä¸ºæ åBean对象 |
| | | Api1217 data = new Api1217(); |
| | | BeanUtils.copyProperties(entity, data); |
| | | |
| | | api1217Rep.save(data); |
| | | } |
| | | |
| | | /** |
| | | * api1217PR#delData |
| | | * |
| | | * @param data |
| | | */ |
| | | @Expose |
| | | public String delData(Api1217 data) { |
| | | |
| | | api1217Rep.deleteById(data.getDcysdh()); |
| | | |
| | | return null; |
| | | } |
| | | |
| | | /** |
| | | * |
| | | * æ´æ°å 餿 è®° api1217PR#delUpdate |
| | | * |
| | | * @param entity |
| | | */ |
| | | @Expose |
| | | public String delUpdate(Api1217 entity) { |
| | | |
| | | entity.setCzbz(Constant.CZBZ_D); |
| | | |
| | | Api1217 data = new Api1217(); |
| | | BeanUtils.copyProperties(entity, data); |
| | | |
| | | api1217Rep.save(data); |
| | | return null; |
| | | } |
| | | |
| | | /** |
| | | * api1217PR#pushData |
| | | * |
| | | * @param items |
| | | */ |
| | | @Expose |
| | | public String pushData(List<Api1217> items) { |
| | | |
| | | //è·åé
ç½® |
| | | String kqdm = items.get(0).getKqdm(); |
| | | ApiConfs apiConf = apiCommonService.getConf(kqdm); |
| | | |
| | | if (null == apiConf) return "ç³»ç»æ²¡æè·åå°å½ååºåºé
置信æ¯ï¼æ§è¡å¤±è´¥"; |
| | | |
| | | //è·åå®ç°æ¥å£ |
| | | ApiRemoteService apiRemoteService = apiPushManager.getApiRemoteService(apiConf.getPushProtocol()); |
| | | if (null == apiRemoteService) return "ç³»ç»æ²¡æå½åæ¨éåè®®é
ç½®ï¼æ§è¡å¤±è´¥"; |
| | | |
| | | return pushDataSingle(items,apiRemoteService,apiConf); |
| | | } |
| | | |
| | | /** |
| | | * åæ¡æ°æ®jsonæ¨é |
| | | * |
| | | * @param items |
| | | * @param apiRemoteService |
| | | * @param apiConf |
| | | * @return |
| | | */ |
| | | private String pushDataSingle(List<Api1217> items, ApiRemoteService apiRemoteService, ApiConfs apiConf) { |
| | | ResponseDto responseDto; |
| | | String result = ""; |
| | | |
| | | //å°è£
åæ° |
| | | ApiParam param = new ApiParam(apiConf, Constant.API_CATEGORY_12, Constant.API_CODE_1217); |
| | | Api1217 d; |
| | | for (Api1217 data : items) { |
| | | d = new Api1217(); |
| | | BeanUtils.copyProperties(data, d); |
| | | param.setBizId(data.getBizId()); |
| | | responseDto = apiRemoteService.pushData(param, apiConf, d); |
| | | |
| | | result += responseDto.toString(); |
| | | if (responseDto.getSuccess() == 0) { |
| | | if (Constant.CZBZ_I.equals(d.getCzbz())) { |
| | | api1217Rep.updateStatus(data.getDcysdh(), Constant.CZBZ_U); |
| | | } |
| | | } |
| | | } |
| | | return result; |
| | | } |
| | | |
| | | /** |
| | | * 夿¡æ°æ®jsonæ¨é |
| | | * |
| | | * @param items |
| | | * @param apiRemoteService |
| | | * @param apiConf |
| | | * @return |
| | | */ |
| | | private String pushDataList(List<Api1217> items, ApiRemoteService apiRemoteService, ApiConfs apiConf) { |
| | | |
| | | //å°è£
åæ° |
| | | ApiParam param = new ApiParam(apiConf, Constant.API_CATEGORY_12, Constant.API_CODE_1217); |
| | | |
| | | //æ¨éï¼æ°æ®ä¸ºéåå½¢å¼ |
| | | ResponseDto responseDto = apiRemoteService.pushData(param, apiConf, items); |
| | | if (responseDto.getSuccess() == 0) { |
| | | //æ¨éæåï¼æ´æ°æ°æ®ä¸ä¼ ç¶æ |
| | | for (Api1217 data : items) { |
| | | if (Constant.CZBZ_I.equals(data.getCzbz())) { |
| | | //æ´æ°ç¶æ |
| | | api1217Rep.updateStatus(data.getDcysdh(), Constant.CZBZ_U); |
| | | } |
| | | } |
| | | } |
| | | return responseDto.toString(); |
| | | } |
| | | |
| | | } |
| ¶Ô±ÈÐÂÎļþ |
| | |
| | | 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.Api1218; |
| | | 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.Api1218Rep; |
| | | 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.Date; |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * @Description å
¥åºææ¬æ ¸å®è¡¨ |
| | | * @Author CZT |
| | | * @Date 2025/10/31 16:27 |
| | | */ |
| | | @Slf4j |
| | | @Component |
| | | public class Api1218PR { |
| | | |
| | | @Autowired |
| | | private Api1218Rep api1218Rep; |
| | | |
| | | @Autowired |
| | | private ApiCommonService apiCommonService; |
| | | |
| | | @Autowired |
| | | private ApiPushManager apiPushManager; |
| | | |
| | | /** |
| | | * api1218PR#listAll |
| | | * |
| | | * @return |
| | | */ |
| | | @DataProvider |
| | | public void listAll(Page<Api1218> page, ApiParam param) { |
| | | //å¤åæ°å页æ¥è¯¢ |
| | | Pageable pageable = PageRequest.of(page.getPageNo() - 1, page.getPageSize(), Sort.Direction.DESC, Api1218.SORT_PROP); |
| | | |
| | | if (null == param) { |
| | | org.springframework.data.domain.Page<Api1218> japPage = api1218Rep.findAll(pageable); |
| | | page.setEntityCount((int) japPage.getTotalElements()); |
| | | page.setEntities(japPage.getContent()); |
| | | |
| | | return; |
| | | } |
| | | |
| | | Specification<Api1218> specification = new Specification<Api1218>() { |
| | | private static final long serialVersionUID = 1L; |
| | | |
| | | public Predicate toPredicate(Root<Api1218> root, CriteriaQuery<?> query, CriteriaBuilder cb) { |
| | | List<Predicate> predicates = new ArrayList<Predicate>(); //ææçæè¨ |
| | | |
| | | 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.<Date>get("zhgxsj"), ContextUtil.getCurZero(param.getStart())); |
| | | predicates.add(predicate3); |
| | | } |
| | | |
| | | if (null != param.getEnd()) { |
| | | Predicate predicate4 = cb.lessThan(root.<Date>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<Api1218> japPage = api1218Rep.findAll(specification, pageable); |
| | | page.setEntityCount((int) japPage.getTotalElements()); |
| | | page.setEntities(japPage.getContent()); |
| | | } |
| | | |
| | | /** |
| | | * api1218PR#updateSave |
| | | * |
| | | * @param entity |
| | | */ |
| | | @DataResolver |
| | | public void updateSave(Api1218 entity) { |
| | | if (StringUtils.isEmpty(entity.getCzbz())) { |
| | | entity.setCzbz(Constant.CZBZ_I); |
| | | } |
| | | |
| | | // æå¨å°doradoEntity对象转æ¢ä¸ºæ åBean对象 |
| | | Api1218 data = new Api1218(); |
| | | BeanUtils.copyProperties(entity, data); |
| | | |
| | | api1218Rep.save(data); |
| | | } |
| | | |
| | | /** |
| | | * api1218PR#delData |
| | | * |
| | | * @param data |
| | | */ |
| | | @Expose |
| | | public String delData(Api1218 data) { |
| | | |
| | | api1218Rep.deleteById(data.getRkhddh()); |
| | | |
| | | return null; |
| | | } |
| | | |
| | | /** |
| | | * |
| | | * æ´æ°å 餿 è®° api1218PR#delUpdate |
| | | * |
| | | * @param entity |
| | | */ |
| | | @Expose |
| | | public String delUpdate(Api1218 entity) { |
| | | |
| | | entity.setCzbz(Constant.CZBZ_D); |
| | | |
| | | Api1218 data = new Api1218(); |
| | | BeanUtils.copyProperties(entity, data); |
| | | |
| | | api1218Rep.save(data); |
| | | return null; |
| | | } |
| | | |
| | | /** |
| | | * api1218PR#pushData |
| | | * |
| | | * @param items |
| | | */ |
| | | @Expose |
| | | public String pushData(List<Api1218> items) { |
| | | |
| | | //è·åé
ç½® |
| | | String kqdm = items.get(0).getKqdm(); |
| | | ApiConfs apiConf = apiCommonService.getConf(kqdm); |
| | | |
| | | if (null == apiConf) return "ç³»ç»æ²¡æè·åå°å½ååºåºé
置信æ¯ï¼æ§è¡å¤±è´¥"; |
| | | |
| | | //è·åå®ç°æ¥å£ |
| | | ApiRemoteService apiRemoteService = apiPushManager.getApiRemoteService(apiConf.getPushProtocol()); |
| | | if (null == apiRemoteService) return "ç³»ç»æ²¡æå½åæ¨éåè®®é
ç½®ï¼æ§è¡å¤±è´¥"; |
| | | |
| | | return pushDataSingle(items,apiRemoteService,apiConf); |
| | | } |
| | | |
| | | /** |
| | | * åæ¡æ°æ®jsonæ¨é |
| | | * |
| | | * @param items |
| | | * @param apiRemoteService |
| | | * @param apiConf |
| | | * @return |
| | | */ |
| | | private String pushDataSingle(List<Api1218> items, ApiRemoteService apiRemoteService, ApiConfs apiConf) { |
| | | ResponseDto responseDto; |
| | | String result = ""; |
| | | |
| | | //å°è£
åæ° |
| | | ApiParam param = new ApiParam(apiConf, Constant.API_CATEGORY_12, Constant.API_CODE_1218); |
| | | Api1218 d; |
| | | for (Api1218 data : items) { |
| | | d = new Api1218(); |
| | | BeanUtils.copyProperties(data, d); |
| | | param.setBizId(data.getBizId()); |
| | | responseDto = apiRemoteService.pushData(param, apiConf, d); |
| | | |
| | | result += responseDto.toString(); |
| | | if (responseDto.getSuccess() == 0) { |
| | | if (Constant.CZBZ_I.equals(d.getCzbz())) { |
| | | api1218Rep.updateStatus(data.getRkhddh(), Constant.CZBZ_U); |
| | | } |
| | | } |
| | | } |
| | | return result; |
| | | } |
| | | |
| | | /** |
| | | * 夿¡æ°æ®jsonæ¨é |
| | | * |
| | | * @param items |
| | | * @param apiRemoteService |
| | | * @param apiConf |
| | | * @return |
| | | */ |
| | | private String pushDataList(List<Api1218> items, ApiRemoteService apiRemoteService, ApiConfs apiConf) { |
| | | |
| | | //å°è£
åæ° |
| | | ApiParam param = new ApiParam(apiConf, Constant.API_CATEGORY_12, Constant.API_CODE_1218); |
| | | |
| | | //æ¨éï¼æ°æ®ä¸ºéåå½¢å¼ |
| | | ResponseDto responseDto = apiRemoteService.pushData(param, apiConf, items); |
| | | if (responseDto.getSuccess() == 0) { |
| | | //æ¨éæåï¼æ´æ°æ°æ®ä¸ä¼ ç¶æ |
| | | for (Api1218 data : items) { |
| | | if (Constant.CZBZ_I.equals(data.getCzbz())) { |
| | | //æ´æ°ç¶æ |
| | | api1218Rep.updateStatus(data.getRkhddh(), Constant.CZBZ_U); |
| | | } |
| | | } |
| | | } |
| | | return responseDto.toString(); |
| | | } |
| | | |
| | | } |
| ¶Ô±ÈÐÂÎļþ |
| | |
| | | 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.Api1219; |
| | | 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.Api1219Rep; |
| | | 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.Date; |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * @Description å
¥åºææ¬æ ¸å®æç»è¡¨ |
| | | * @Author CZT |
| | | * @Date 2025/10/31 16:35 |
| | | */ |
| | | @Slf4j |
| | | @Component |
| | | public class Api1219PR { |
| | | |
| | | @Autowired |
| | | private Api1219Rep api1219Rep; |
| | | |
| | | @Autowired |
| | | private ApiCommonService apiCommonService; |
| | | |
| | | @Autowired |
| | | private ApiPushManager apiPushManager; |
| | | |
| | | /** |
| | | * api1219PR#listAll |
| | | * |
| | | * @return |
| | | */ |
| | | @DataProvider |
| | | public void listAll(Page<Api1219> page, ApiParam param) { |
| | | //å¤åæ°å页æ¥è¯¢ |
| | | Pageable pageable = PageRequest.of(page.getPageNo() - 1, page.getPageSize(), Sort.Direction.DESC, Api1219.SORT_PROP); |
| | | |
| | | if (null == param) { |
| | | org.springframework.data.domain.Page<Api1219> japPage = api1219Rep.findAll(pageable); |
| | | page.setEntityCount((int) japPage.getTotalElements()); |
| | | page.setEntities(japPage.getContent()); |
| | | |
| | | return; |
| | | } |
| | | |
| | | Specification<Api1219> specification = new Specification<Api1219>() { |
| | | private static final long serialVersionUID = 1L; |
| | | |
| | | public Predicate toPredicate(Root<Api1219> root, CriteriaQuery<?> query, CriteriaBuilder cb) { |
| | | List<Predicate> predicates = new ArrayList<Predicate>(); //ææçæè¨ |
| | | |
| | | 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.<Date>get("zhgxsj"), ContextUtil.getCurZero(param.getStart())); |
| | | predicates.add(predicate3); |
| | | } |
| | | |
| | | if (null != param.getEnd()) { |
| | | Predicate predicate4 = cb.lessThan(root.<Date>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<Api1219> japPage = api1219Rep.findAll(specification, pageable); |
| | | page.setEntityCount((int) japPage.getTotalElements()); |
| | | page.setEntities(japPage.getContent()); |
| | | } |
| | | |
| | | /** |
| | | * api1219PR#updateSave |
| | | * |
| | | * @param entity |
| | | */ |
| | | @DataResolver |
| | | public void updateSave(Api1219 entity) { |
| | | if (StringUtils.isEmpty(entity.getCzbz())) { |
| | | entity.setCzbz(Constant.CZBZ_I); |
| | | } |
| | | |
| | | // æå¨å°doradoEntity对象转æ¢ä¸ºæ åBean对象 |
| | | Api1219 data = new Api1219(); |
| | | BeanUtils.copyProperties(entity, data); |
| | | |
| | | api1219Rep.save(data); |
| | | } |
| | | |
| | | /** |
| | | * api1219PR#delData |
| | | * |
| | | * @param data |
| | | */ |
| | | @Expose |
| | | public String delData(Api1219 data) { |
| | | |
| | | api1219Rep.deleteById(data.getRkhddh()); |
| | | |
| | | return null; |
| | | } |
| | | |
| | | /** |
| | | * |
| | | * æ´æ°å 餿 è®° api1219PR#delUpdate |
| | | * |
| | | * @param entity |
| | | */ |
| | | @Expose |
| | | public String delUpdate(Api1219 entity) { |
| | | |
| | | entity.setCzbz(Constant.CZBZ_D); |
| | | |
| | | Api1219 data = new Api1219(); |
| | | BeanUtils.copyProperties(entity, data); |
| | | |
| | | api1219Rep.save(data); |
| | | return null; |
| | | } |
| | | |
| | | /** |
| | | * api1219PR#pushData |
| | | * |
| | | * @param items |
| | | */ |
| | | @Expose |
| | | public String pushData(List<Api1219> items) { |
| | | |
| | | //è·åé
ç½® |
| | | String kqdm = items.get(0).getKqdm(); |
| | | ApiConfs apiConf = apiCommonService.getConf(kqdm); |
| | | |
| | | if (null == apiConf) return "ç³»ç»æ²¡æè·åå°å½ååºåºé
置信æ¯ï¼æ§è¡å¤±è´¥"; |
| | | |
| | | //è·åå®ç°æ¥å£ |
| | | ApiRemoteService apiRemoteService = apiPushManager.getApiRemoteService(apiConf.getPushProtocol()); |
| | | if (null == apiRemoteService) return "ç³»ç»æ²¡æå½åæ¨éåè®®é
ç½®ï¼æ§è¡å¤±è´¥"; |
| | | |
| | | return pushDataSingle(items,apiRemoteService,apiConf); |
| | | } |
| | | |
| | | /** |
| | | * åæ¡æ°æ®jsonæ¨é |
| | | * |
| | | * @param items |
| | | * @param apiRemoteService |
| | | * @param apiConf |
| | | * @return |
| | | */ |
| | | private String pushDataSingle(List<Api1219> items, ApiRemoteService apiRemoteService, ApiConfs apiConf) { |
| | | ResponseDto responseDto; |
| | | String result = ""; |
| | | |
| | | //å°è£
åæ° |
| | | ApiParam param = new ApiParam(apiConf, Constant.API_CATEGORY_12, Constant.API_CODE_1219); |
| | | Api1219 d; |
| | | for (Api1219 data : items) { |
| | | d = new Api1219(); |
| | | BeanUtils.copyProperties(data, d); |
| | | param.setBizId(data.getBizId()); |
| | | responseDto = apiRemoteService.pushData(param, apiConf, d); |
| | | |
| | | result += responseDto.toString(); |
| | | if (responseDto.getSuccess() == 0) { |
| | | if (Constant.CZBZ_I.equals(d.getCzbz())) { |
| | | api1219Rep.updateStatus(data.getRkhddh(), Constant.CZBZ_U); |
| | | } |
| | | } |
| | | } |
| | | return result; |
| | | } |
| | | |
| | | /** |
| | | * 夿¡æ°æ®jsonæ¨é |
| | | * |
| | | * @param items |
| | | * @param apiRemoteService |
| | | * @param apiConf |
| | | * @return |
| | | */ |
| | | private String pushDataList(List<Api1219> items, ApiRemoteService apiRemoteService, ApiConfs apiConf) { |
| | | |
| | | //å°è£
åæ° |
| | | ApiParam param = new ApiParam(apiConf, Constant.API_CATEGORY_12, Constant.API_CODE_1219); |
| | | |
| | | //æ¨éï¼æ°æ®ä¸ºéåå½¢å¼ |
| | | ResponseDto responseDto = apiRemoteService.pushData(param, apiConf, items); |
| | | if (responseDto.getSuccess() == 0) { |
| | | //æ¨éæåï¼æ´æ°æ°æ®ä¸ä¼ ç¶æ |
| | | for (Api1219 data : items) { |
| | | if (Constant.CZBZ_I.equals(data.getCzbz())) { |
| | | //æ´æ°ç¶æ |
| | | api1219Rep.updateStatus(data.getRkhddh(), Constant.CZBZ_U); |
| | | } |
| | | } |
| | | } |
| | | return responseDto.toString(); |
| | | } |
| | | |
| | | } |
| ¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.fzzy.api.view.repository; |
| | | |
| | | import com.fzzy.api.entity.Api1214; |
| | | 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; |
| | | |
| | | public interface Api1214Rep extends JpaRepository<Api1214, String>, JpaSpecificationExecutor<Api1214> { |
| | | |
| | | @Query("from Api1214 where kqdm=:kqdm and czbz= 'i' ") |
| | | List<Api1214> findPushData(@Param("kqdm") String kqdm); |
| | | |
| | | @Transactional |
| | | @Modifying |
| | | @Query("update Api1214 set czbz =:czbz where kcysdh=:kcysdh") |
| | | void updateStatus(@Param("kcysdh") String kcysdh, @Param("czbz") String czbz); |
| | | |
| | | @Query("from Api1214 where bizId=:bizId ") |
| | | List<Api1214> getDataByBizId(@Param("bizId") String bizId); |
| | | |
| | | @Query("from Api1214 where kqdm=:kqdm and zhgxsj >=:start and zhgxsj <:end order by zhgxsj ") |
| | | List<Api1214> findPushDataByTime(@Param("kqdm") String kqdm, @Param("start") Date start, @Param("end") Date end); |
| | | |
| | | } |
| ¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.fzzy.api.view.repository; |
| | | |
| | | import com.fzzy.api.entity.Api1215; |
| | | 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; |
| | | |
| | | public interface Api1215Rep extends JpaRepository<Api1215, String>, JpaSpecificationExecutor<Api1215> { |
| | | |
| | | @Query("from Api1215 where kqdm=:kqdm and czbz= 'i' ") |
| | | List<Api1215> findPushData(@Param("kqdm") String kqdm); |
| | | |
| | | @Transactional |
| | | @Modifying |
| | | @Query("update Api1215 set czbz =:czbz where kgysdh=:kgysdh") |
| | | void updateStatus(@Param("kgysdh") String kgysdh, @Param("czbz") String czbz); |
| | | |
| | | @Query("from Api1215 where bizId=:bizId ") |
| | | List<Api1215> getDataByBizId(@Param("bizId") String bizId); |
| | | |
| | | @Query("from Api1215 where kqdm=:kqdm and zhgxsj >=:start and zhgxsj <:end order by zhgxsj ") |
| | | List<Api1215> findPushDataByTime(@Param("kqdm") String kqdm, @Param("start") Date start, @Param("end") Date end); |
| | | |
| | | } |
| ¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.fzzy.api.view.repository; |
| | | |
| | | import com.fzzy.api.entity.Api1216; |
| | | 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; |
| | | |
| | | public interface Api1216Rep extends JpaRepository<Api1216, String>, JpaSpecificationExecutor<Api1216> { |
| | | |
| | | @Query("from Api1216 where kqdm=:kqdm and czbz= 'i' ") |
| | | List<Api1216> findPushData(@Param("kqdm") String kqdm); |
| | | |
| | | @Transactional |
| | | @Modifying |
| | | @Query("update Api1216 set czbz =:czbz where dcysdh=:dcysdh") |
| | | void updateStatus(@Param("dcysdh") String dcysdh, @Param("czbz") String czbz); |
| | | |
| | | @Query("from Api1216 where bizId=:bizId ") |
| | | List<Api1216> getDataByBizId(@Param("bizId") String bizId); |
| | | |
| | | @Query("from Api1216 where kqdm=:kqdm and zhgxsj >=:start and zhgxsj <:end order by zhgxsj ") |
| | | List<Api1216> findPushDataByTime(@Param("kqdm") String kqdm, @Param("start") Date start, @Param("end") Date end); |
| | | |
| | | } |
| ¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.fzzy.api.view.repository; |
| | | |
| | | import com.fzzy.api.entity.Api1217; |
| | | 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; |
| | | |
| | | public interface Api1217Rep extends JpaRepository<Api1217, String>, JpaSpecificationExecutor<Api1217> { |
| | | |
| | | @Query("from Api1217 where kqdm=:kqdm and czbz= 'i' ") |
| | | List<Api1217> findPushData(@Param("kqdm") String kqdm); |
| | | |
| | | @Transactional |
| | | @Modifying |
| | | @Query("update Api1217 set czbz =:czbz where dcysdh=:dcysdh") |
| | | void updateStatus(@Param("dcysdh") String dcysdh, @Param("czbz") String czbz); |
| | | |
| | | @Query("from Api1217 where bizId=:bizId ") |
| | | List<Api1217> getDataByBizId(@Param("bizId") String bizId); |
| | | |
| | | @Query("from Api1217 where kqdm=:kqdm and zhgxsj >=:start and zhgxsj <:end order by zhgxsj ") |
| | | List<Api1217> findPushDataByTime(@Param("kqdm") String kqdm, @Param("start") Date start, @Param("end") Date end); |
| | | |
| | | } |
| ¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.fzzy.api.view.repository; |
| | | |
| | | import com.fzzy.api.entity.Api1218; |
| | | 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; |
| | | |
| | | public interface Api1218Rep extends JpaRepository<Api1218, String>, JpaSpecificationExecutor<Api1218> { |
| | | |
| | | @Query("from Api1218 where kqdm=:kqdm and czbz = 'i' ") |
| | | List<Api1218> findPushData(@Param("kqdm") String kqdm); |
| | | |
| | | @Transactional |
| | | @Modifying |
| | | @Query("update Api1218 set czbz =:czbz where rkhddh =:rkhddh") |
| | | void updateStatus(@Param("rkhddh") String rkhddh, @Param("czbz") String czbz); |
| | | |
| | | @Query("from Api1218 where bizId=:bizId ") |
| | | List<Api1218> getDataByBizId(@Param("bizId") String bizId); |
| | | |
| | | @Query("from Api1218 where kqdm=:kqdm and zhgxsj >=:start and zhgxsj <:end order by zhgxsj ") |
| | | List<Api1218> findPushDataByTime(@Param("kqdm") String kqdm, @Param("start") Date start, @Param("end") Date end); |
| | | |
| | | } |
| ¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.fzzy.api.view.repository; |
| | | |
| | | import com.fzzy.api.entity.Api1219; |
| | | 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; |
| | | |
| | | public interface Api1219Rep extends JpaRepository<Api1219, String>, JpaSpecificationExecutor<Api1219> { |
| | | |
| | | @Query("from Api1219 where kqdm =:kqdm and czbz = 'i' ") |
| | | List<Api1219> findPushData(@Param("kqdm") String kqdm); |
| | | |
| | | @Transactional |
| | | @Modifying |
| | | @Query("update Api1219 set czbz =:czbz where rkhddh =:rkhddh") |
| | | void updateStatus(@Param("rkhddh") String rkhddh, @Param("czbz") String czbz); |
| | | |
| | | @Query("from Api1219 where bizId =:bizId ") |
| | | List<Api1219> getDataByBizId(@Param("bizId") String bizId); |
| | | |
| | | @Query("from Api1219 where kqdm =:kqdm and zhgxsj >=:start and zhgxsj <:end order by zhgxsj ") |
| | | List<Api1219> findPushDataByTime(@Param("kqdm") String kqdm, @Param("start") Date start, @Param("end") Date end); |
| | | |
| | | } |
| | |
| | | private Api1212Rep api1212Rep; |
| | | @Autowired |
| | | private Api1213Rep api1213Rep; |
| | | @Autowired |
| | | private Api1214Rep api1214Rep; |
| | | @Autowired |
| | | private Api1215Rep api1215Rep; |
| | | @Autowired |
| | | private Api1216Rep api1216Rep; |
| | | @Autowired |
| | | private Api1217Rep api1217Rep; |
| | | @Autowired |
| | | private Api1218Rep api1218Rep; |
| | | @Autowired |
| | | private Api1219Rep api1219Rep; |
| | | |
| | | |
| | | /** |
| | | * 1109 æä»¶ä¿¡æ¯åæ¥ |
| | | */ |
| | |
| | | } |
| | | } |
| | | } |
| | | |
| | | /** |
| | | * 1214 å¨å¤ç²®ç©ºä»éªæ¶è¡¨ |
| | | */ |
| | | public void pushData1214(ApiRemoteService apiRemoteService, ApiParam param) { |
| | | //å¨å¤ç²®ç©ºä»éªæ¶è¡¨ |
| | | List<Api1214> list = api1214Rep.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_1214); |
| | | |
| | | ResponseDto responseDto; |
| | | for (Api1214 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); |
| | | //æ´æ°ç¶æ |
| | | api1214Rep.save(data); |
| | | } |
| | | } |
| | | } |
| | | } |
| | | |
| | | /** |
| | | * 1215 å¨å¤æ²¹ç©ºç½éªæ¶è¡¨ |
| | | */ |
| | | public void pushData1215(ApiRemoteService apiRemoteService, ApiParam param) { |
| | | //å¨å¤æ²¹ç©ºç½éªæ¶è¡¨ |
| | | List<Api1215> list = api1215Rep.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_1215); |
| | | |
| | | ResponseDto responseDto; |
| | | for (Api1215 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); |
| | | //æ´æ°ç¶æ |
| | | api1215Rep.save(data); |
| | | } |
| | | } |
| | | } |
| | | } |
| | | |
| | | /** |
| | | * 1216 å¨å¤ç²®åä»éªæ¶è¡¨ |
| | | */ |
| | | public void pushData1216(ApiRemoteService apiRemoteService, ApiParam param) { |
| | | //å¨å¤ç²®åä»éªæ¶è¡¨ |
| | | List<Api1216> list = api1216Rep.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_1216); |
| | | |
| | | ResponseDto responseDto; |
| | | for (Api1216 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); |
| | | //æ´æ°ç¶æ |
| | | api1216Rep.save(data); |
| | | } |
| | | } |
| | | } |
| | | } |
| | | |
| | | /** |
| | | * 1217 è½®æ¢éªæ¶ä¿¡æ¯ |
| | | */ |
| | | public void pushData1217(ApiRemoteService apiRemoteService, ApiParam param) { |
| | | //è½®æ¢éªæ¶ä¿¡æ¯ |
| | | List<Api1217> list = api1217Rep.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_1217); |
| | | |
| | | ResponseDto responseDto; |
| | | for (Api1217 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); |
| | | //æ´æ°ç¶æ |
| | | api1217Rep.save(data); |
| | | } |
| | | } |
| | | } |
| | | } |
| | | |
| | | /** |
| | | * 1218 å
¥åºææ¬æ ¸å®è¡¨ |
| | | */ |
| | | public void pushData1218(ApiRemoteService apiRemoteService, ApiParam param) { |
| | | //å
¥åºææ¬æ ¸å®è¡¨ |
| | | List<Api1218> list = api1218Rep.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_1218); |
| | | |
| | | ResponseDto responseDto; |
| | | for (Api1218 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); |
| | | //æ´æ°ç¶æ |
| | | api1218Rep.save(data); |
| | | } |
| | | } |
| | | } |
| | | } |
| | | |
| | | /** |
| | | * 1219 å
¥åºææ¬æ ¸å®æç»è¡¨ |
| | | */ |
| | | public void pushData1219(ApiRemoteService apiRemoteService, ApiParam param) { |
| | | //å
¥åºææ¬æ ¸å®æç»è¡¨ |
| | | List<Api1219> list = api1219Rep.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_1219); |
| | | |
| | | ResponseDto responseDto; |
| | | for (Api1219 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); |
| | | //æ´æ°ç¶æ |
| | | api1219Rep.save(data); |
| | | } |
| | | } |
| | | } |
| | | } |
| | | } |
| | |
| | | } |
| | | return apiData; |
| | | } |
| | | //TODO æ°å¢æ¥å£ |
| | | |
| | | |
| | | //空ä»éªæ¶è¡¨ |
| | | if (Constant.API_CODE_1214.equals(inteId)) { |
| | | Api1214 api1214 = (Api1214) data; |
| | | SX2025Api1214 apiData = new SX2025Api1214(); |
| | | BeanUtils.copyProperties(api1214, apiData); |
| | | //设置統ä¸è´§ä½ç¼ç |
| | | if (StringUtils.isEmpty(apiData.getTyhwbm())) { |
| | | String tyhwbm = apiCommonService.getTyhwbm(api1214.getHwdm()); |
| | | apiData.setTyhwbm(tyhwbm); |
| | | } |
| | | //è®¾ç½®éªæ¶è§é¢ç
§ç |
| | | apiData.setYsspzp(FileUtils.fileToByteString(api1214.getWjdz())); |
| | | return apiData; |
| | | } |
| | | //空ç½éªæ¶è¡¨ |
| | | if (Constant.API_CODE_1215.equals(inteId)) { |
| | | Api1215 api1215 = (Api1215) data; |
| | | SX2025Api1215 apiData = new SX2025Api1215(); |
| | | BeanUtils.copyProperties(api1215, apiData); |
| | | //设置統ä¸è´§ä½ç¼ç |
| | | if (StringUtils.isEmpty(apiData.getTyygbm())) { |
| | | String tyhwbm = apiCommonService.getTyhwbm(api1215.getHwdm()); |
| | | apiData.setTyygbm(tyhwbm); |
| | | } |
| | | //è®¾ç½®éªæ¶è§é¢ç
§ç |
| | | apiData.setYsspzp(FileUtils.fileToByteString(api1215.getWjdz())); |
| | | return apiData; |
| | | } |
| | | //å¨å¤ç²®åä»éªæ¶è¡¨ |
| | | if (Constant.API_CODE_1216.equals(inteId)) { |
| | | Api1216 api1216 = (Api1216) data; |
| | | SX2025Api1216 apiData = new SX2025Api1216(); |
| | | BeanUtils.copyProperties(api1216, apiData); |
| | | //设置ååºè´§ä½ç»ä¸ç¼ç |
| | | if (StringUtils.isEmpty(apiData.getDctyhwbm())) { |
| | | String dchwtybm = apiCommonService.getTyhwbm(api1216.getDchwbm()); |
| | | apiData.setDctyhwbm(dchwtybm); |
| | | } |
| | | //设置åå
¥è´§ä½ç»ä¸ç¼ç |
| | | if (StringUtils.isEmpty(apiData.getDrtyhwbm())) { |
| | | String drhwtybm = apiCommonService.getTyhwbm(api1216.getDrhwbm()); |
| | | apiData.setDrtyhwbm(drhwtybm); |
| | | } |
| | | //è®¾ç½®éªæ¶è§é¢ç
§ç |
| | | apiData.setYsspzp(FileUtils.fileToByteString(api1216.getWjdz())); |
| | | return apiData; |
| | | } |
| | | //è½®æ¢éªæ¶ä¿¡æ¯ |
| | | if (Constant.API_CODE_1217.equals(inteId)) { |
| | | Api1217 api1217 = (Api1217) data; |
| | | SX2025Api1217 apiData = new SX2025Api1217(); |
| | | BeanUtils.copyProperties(api1217, apiData); |
| | | //设置ååºè´§ä½ç»ä¸ç¼ç |
| | | if (StringUtils.isEmpty(apiData.getDctyhwbm())) { |
| | | String dchwtybm = apiCommonService.getTyhwbm(api1217.getDchwbm()); |
| | | apiData.setDctyhwbm(dchwtybm); |
| | | } |
| | | //设置åå
¥è´§ä½ç»ä¸ç¼ç |
| | | if (StringUtils.isEmpty(apiData.getDrtyhwbm())) { |
| | | String drhwtybm = apiCommonService.getTyhwbm(api1217.getDrhwbm()); |
| | | apiData.setDrtyhwbm(drhwtybm); |
| | | } |
| | | //è®¾ç½®éªæ¶è§é¢ç
§ç |
| | | apiData.setYsspzp(FileUtils.fileToByteString(api1217.getWjdz())); |
| | | return apiData; |
| | | } |
| | | //å
¥åºææ¬æ ¸å®è¡¨ |
| | | if (Constant.API_CODE_1218.equals(inteId)) { |
| | | Api1218 api1218 = (Api1218) data; |
| | | SX2025Api1218 apiData = new SX2025Api1218(); |
| | | BeanUtils.copyProperties(api1218, apiData); |
| | | //设置統ä¸è´§ä½ç¼ç |
| | | if (StringUtils.isEmpty(apiData.getTyhwbm())) { |
| | | String tyhwbm = apiCommonService.getTyhwbm(api1218.getHwdm()); |
| | | apiData.setTyhwbm(tyhwbm); |
| | | } |
| | | return apiData; |
| | | } |
| | | //å
¥åºææ¬æ ¸å®æç»è¡¨ |
| | | if (Constant.API_CODE_1219.equals(inteId)) { |
| | | Api1219 api1219 = (Api1219) data; |
| | | SX2025Api1219 apiData = new SX2025Api1219(); |
| | | BeanUtils.copyProperties(api1219, apiData); |
| | | //设置統ä¸è´§ä½ç¼ç |
| | | if (StringUtils.isEmpty(apiData.getTyhwbm())) { |
| | | String tyhwbm = apiCommonService.getTyhwbm(api1219.getHwdm()); |
| | | apiData.setTyhwbm(tyhwbm); |
| | | } |
| | | return apiData; |
| | | } |
| | | //å®å
¨ç®¡çä¿¡æ¯ |
| | | if (Constant.API_CODE_1301.equals(inteId)) { |
| | | Api1301 api1301 = (Api1301) data; |
| | |
| | | return SX2025Constant.SX_2025_API_ODS_UP_KHXXJK; |
| | | case "1213": |
| | | return SX2025Constant.SX_2025_API_ODS_UP_FCQRDXXJK; |
| | | case "1214": |
| | | return SX2025Constant.SX_2025_API_ODS_UP_KCYSJK; |
| | | case "1215": |
| | | return SX2025Constant.SX_2025_API_ODS_UP_KGYSJK; |
| | | case "1216": |
| | | return SX2025Constant.SX_2025_API_ODS_UP_DCYSJK; |
| | | case "1217": |
| | | return SX2025Constant.SX_2025_API_ODS_UP_LHYSJK; |
| | | case "1218": |
| | | return SX2025Constant.SX_2025_API_ODS_UP_RKCBHDJK; |
| | | case "1219": |
| | | return SX2025Constant.SX_2025_API_ODS_UP_RKCBHDMXJK; |
| | | case "1301": |
| | | return SX2025Constant.SX_2025_API_ODS_UP_AQGLXXJK; |
| | | case "1302": |
| | |
| | | */ |
| | | public static String SX_2025_API_ODS_UP_DCXXJK = "ODS_UP_DCXXJK"; |
| | | /** |
| | | * æ°å¢ |
| | | * ODS_UP_DCYSJK åä»éªæ¶æ°æ®æ¥å£ |
| | | */ |
| | | public static String SX_2025_API_ODS_UP_DCYSJK = "ODS_UP_DCYSJK"; |
| | | /** |
| | | * æ°å¢ |
| | | * ODS_UP_LHYSJK è½®æ¢éªæ¶æ°æ®æ¥å£ |
| | | */ |
| | | public static String SX_2025_API_ODS_UP_LHYSJK = "ODS_UP_LHYSJK"; |
| | | |
| | | /** |
| | | * ODS_UP_LSKCXXJK ç²®é£åºåæ°æ®æ¥å£ |
| | | */ |
| | | public static String SX_2025_API_ODS_UP_LSKCXXJK = "ODS_UP_LSKCXXJK"; |
| | |
| | | * ODS_UP_KHXXJK 客æ·ä¿¡æ¯æ°æ®æ¥å£ |
| | | */ |
| | | public static String SX_2025_API_ODS_UP_KHXXJK = "ODS_UP_KHXXJK"; |
| | | /** |
| | | * æ°å¢ |
| | | * ODS_UP_KCYSJK å¨å¤ç²®ç©ºä»éªæ¶æ°æ®æ¥å£ |
| | | */ |
| | | public static String SX_2025_API_ODS_UP_KCYSJK = "ODS_UP_KCYSJK"; |
| | | /** |
| | | * æ°å¢ |
| | | * ODS_UP_KGYSJK å¨å¤æ²¹ç©ºç½éªæ¶æ°æ®æ¥å£ |
| | | */ |
| | | public static String SX_2025_API_ODS_UP_KGYSJK = "ODS_UP_KGYSJK"; |
| | | /** |
| | | * æ°å¢ |
| | | * ODS_UP_DCYSJK åä»éªæ¶æ°æ®æ¥å£ |
| | | */ |
| | | public static String SX_2025_API_ODS_UP_DCYSJK = "ODS_UP_DCYSJK"; |
| | | /** |
| | | * æ°å¢ |
| | | * ODS_UP_LHYSJK è½®æ¢éªæ¶æ°æ®æ¥å£ |
| | | */ |
| | | public static String SX_2025_API_ODS_UP_LHYSJK = "ODS_UP_LHYSJK"; |
| | | /** |
| | | * æ°å¢ |
| | | * ODS_UP_RKCBHDJK å
¥åºææ¬æ ¸å®æ°æ®æ¥å£ |
| | |
| | | * ODS_UP_ZJXXJK è´¨æ£æ°æ®æ¥å£ |
| | | */ |
| | | public static String SX_2025_API_ODS_UP_ZJXXJK = "ODS_UP_ZJXXJK"; |
| | | /** |
| | | * æ°å¢ |
| | | * ODS_UP_KCYSJK å¨å¤ç²®ç©ºä»éªæ¶æ°æ®æ¥å£ |
| | | */ |
| | | public static String SX_2025_API_ODS_UP_KCYSJK = "ODS_UP_KCYSJK"; |
| | | /** |
| | | * æ°å¢ |
| | | * ODS_UP_KGYSJK å¨å¤æ²¹ç©ºç½éªæ¶æ°æ®æ¥å£ |
| | | */ |
| | | public static String SX_2025_API_ODS_UP_KGYSJK = "ODS_UP_KGYSJK"; |
| | | |
| | | |
| | | /*--------------------è¡æ¿ç®¡ç--------------------*/ |
| ¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.fzzy.push.sx2025.data; |
| | | |
| | | import com.alibaba.fastjson.annotation.JSONField; |
| | | import com.bstek.dorado.annotation.PropertyDef; |
| | | import lombok.Data; |
| | | import java.io.Serializable; |
| | | import java.util.Date; |
| | | |
| | | /** |
| | | * @Description é西çå¹³å°2025ç-空ä»éªæ¶è¡¨ |
| | | * @Author CZT |
| | | * @Date 2025/10/31 15:09 |
| | | */ |
| | | @Data |
| | | public class SX2025Api1214 implements Serializable { |
| | | |
| | | @PropertyDef(label = "空ä»éªæ¶åå·", description = "éªæ¶ç³è¯·æ¥æyyyyMMdd + 4ä½é¡ºåºå·") |
| | | private String kcysdh; |
| | | |
| | | @PropertyDef(label = "ç»ä¸è´§ä½ç¼ç ") |
| | | private String tyhwbm; |
| | | |
| | | @PropertyDef(label = "æååç§ä»£ç ") |
| | | private String lspzdm; |
| | | |
| | | @PropertyDef(label = "ç²®é£ç级代ç ") |
| | | private String lsdjdm; |
| | | |
| | | @PropertyDef(label = "设计ä»å®¹") |
| | | private Double sjcr; |
| | | |
| | | @PropertyDef(label = "å®é
å¨ç²®åç§æå¤§ä»å®¹") |
| | | private Double sjclzdcr; |
| | | |
| | | @PropertyDef(label = "æå¨ç²®æ°é") |
| | | private Double jysj; |
| | | |
| | | @PropertyDef(label = "å¨åæ¹å¼", description = "1-å
è£
2-æ£è£
3-å
å´æ£å") |
| | | private String jydw; |
| | | |
| | | @PropertyDef(label = "仿¿å°åªå®å¥½æ
åµ") |
| | | private String dpwhqk; |
| | | |
| | | @PropertyDef(label = "仿¿å¢ä½å®å¥½æ
åµ") |
| | | private String qtwhqk; |
| | | |
| | | @PropertyDef(label = "仿¿å±é¢å®å¥½æ
åµ") |
| | | private String wmwhqk; |
| | | |
| | | @PropertyDef(label = "仿¿é¨çªå®å¥½æ
åµ") |
| | | private String mcwhqk; |
| | | |
| | | @PropertyDef(label = "仿¿æ¯å¦æ
èªæ¹å仿¿ç»æ") |
| | | private String sfszgd; |
| | | |
| | | @PropertyDef(label = "é²éç½å®å¥½æ
åµ") |
| | | private String fqwwhqk; |
| | | |
| | | @PropertyDef(label = "é²è«çº¿å®å¥½æ
åµ") |
| | | private String fcxwhqk; |
| | | |
| | | @PropertyDef(label = "é²é¼ æ¿å®å¥½æ
åµ") |
| | | private String fsbwhqk; |
| | | |
| | | @PropertyDef(label = "éé£ææ¯ææ®µ") |
| | | private String tfjssd; |
| | | |
| | | @PropertyDef(label = "éé£ç³»ç»æ¯å¦å®å¥½") |
| | | private String tfxtsfwh; |
| | | |
| | | @PropertyDef(label = "çè¸ææ¯ææ®µ") |
| | | private String xzjssd; |
| | | |
| | | @PropertyDef(label = "ç²®æ
æ£æµææ®µ") |
| | | private String lqjcsd; |
| | | |
| | | @PropertyDef(label = "ç²®æ
æ£æµç³»ç»æ¯å¦å®å¥½") |
| | | private String lqjcxtsfwh; |
| | | |
| | | @PropertyDef(label = "ä»é¨æ¡£ç²®è®¾æ½æ¯å¦å®å¥½") |
| | | private String cmdlsssfwh; |
| | | |
| | | @PropertyDef(label = "æ¯å¦æ¸
æ¶") |
| | | private String sfqx; |
| | | |
| | | @JSONField(format = "yyyy-MM-dd") |
| | | @PropertyDef(label = "éªæ¶æ¶é´") |
| | | private Date yssj; |
| | | |
| | | @PropertyDef(label = "éªæ¶ç»è®º") |
| | | private String ysjl; |
| | | |
| | | @PropertyDef(label = "æ´æ¹æè§") |
| | | private String zgyj; |
| | | |
| | | @PropertyDef(label = "æ¿å¨åä½è´è´£äºº") |
| | | private String ccdwfzr; |
| | | |
| | | @PropertyDef(label = "éªæ¶äºº") |
| | | private String ysr; |
| | | |
| | | @PropertyDef(label = "éªæ¶è§é¢ç
§ç") |
| | | private String ysspzp; |
| | | |
| | | @PropertyDef(label = "夿³¨") |
| | | private String bz; |
| | | |
| | | @PropertyDef(label = "æä½æ å¿") |
| | | private String czbz; |
| | | |
| | | @JSONField(format = "yyyy-MM-dd HH:mm:ss") |
| | | @PropertyDef(label = "æåæ´æ°æ¶é´") |
| | | private Date zhgxsj; |
| | | } |
| ¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.fzzy.push.sx2025.data; |
| | | |
| | | import com.alibaba.fastjson.annotation.JSONField; |
| | | import com.bstek.dorado.annotation.PropertyDef; |
| | | import lombok.Data; |
| | | import java.io.Serializable; |
| | | import java.util.Date; |
| | | |
| | | /** |
| | | * @Description é西çå¹³å°2025ç-空ç½éªæ¶è¡¨ |
| | | * @Author CZT |
| | | * @Date 2025/10/31 15:15 |
| | | */ |
| | | @Data |
| | | public class SX2025Api1215 implements Serializable { |
| | | |
| | | @PropertyDef(label = "空ç½éªæ¶åå·", description = "éªæ¶ç³è¯·æ¥æyyyyMMdd + 4ä½é¡ºåºå·") |
| | | private String kgysdh; |
| | | |
| | | @PropertyDef(label = "ç»ä¸æ²¹ç½ç¼ç " ) |
| | | private String tyygbm; |
| | | |
| | | @PropertyDef(label = "æååç§ä»£ç ") |
| | | private String ncpzdm; |
| | | |
| | | @PropertyDef(label = "设计ç容") |
| | | private Double sjgr; |
| | | |
| | | @PropertyDef(label = "å®é
卿²¹åç§æå¤§ç½å®¹") |
| | | private Double sjcyzdgr; |
| | | |
| | | @PropertyDef(label = "æå¨æ²¹æ°é") |
| | | private Double jysj; |
| | | |
| | | @PropertyDef(label = "æ¯å¦æ
èªæ¹åæ²¹ç½ç»æ") |
| | | private String sfszgdygjg; |
| | | |
| | | @PropertyDef(label = "æ²¹ç½ææ æ¸æ¼éè") |
| | | private String ygywslxs; |
| | | |
| | | @PropertyDef(label = "ç½åºææ å¼è£ã䏿²ç°è±¡") |
| | | private String gjywklxcxx; |
| | | |
| | | @PropertyDef(label = "æ²¹ç½å°åªæ¯å¦å®å
¨ç¡¬å") |
| | | private String ygdpsfwqyh; |
| | | |
| | | @PropertyDef(label = "æ¤æ²¹å ¤æ¯å¦åå¨å¼è£ç¼ºå£çæ
åµ") |
| | | private String hydsfzc; |
| | | |
| | | @PropertyDef(label = "ç½åºå
ææ°´ææ é鍿§å¶") |
| | | private String gtfmsfzc; |
| | | |
| | | @PropertyDef(label = "ç½å
æ¯å¦æ¸
æ´") |
| | | private String gnsfqj; |
| | | |
| | | @PropertyDef(label = "ç¬æ¢¯æ¯å¦å®å
¨") |
| | | private String ptsfaq; |
| | | |
| | | @PropertyDef(label = "çé¡¶å®å
¨æ¤æ æ¯å¦å®å¥½") |
| | | private String gdaqhlsfwh; |
| | | |
| | | @PropertyDef(label = "æ²¹ç½åºæ¯å¦å¤äºä½æ´¼ç¹") |
| | | private String gqsfcydwd; |
| | | |
| | | @PropertyDef(label = "éªæ¶æ¶é´") |
| | | private Date yssj; |
| | | |
| | | @PropertyDef(label = "éªæ¶ç»è®º") |
| | | private String ysjl; |
| | | |
| | | @PropertyDef(label = "æ´æ¹æè§") |
| | | private String zgyj; |
| | | |
| | | @PropertyDef(label = "æ¿å¨åä½è´è´£äºº") |
| | | private String ccdwfzr; |
| | | |
| | | @PropertyDef(label = "éªæ¶äºº") |
| | | private String ysr; |
| | | |
| | | @PropertyDef(label = "éªæ¶è§é¢ç
§ç") |
| | | private String ysspzp; |
| | | |
| | | @PropertyDef(label = "夿³¨") |
| | | private String bz; |
| | | |
| | | @PropertyDef(label = "æä½æ å¿") |
| | | private String czbz; |
| | | |
| | | @JSONField(format = "yyyy-MM-dd HH:mm:ss") |
| | | @PropertyDef(label = "æåæ´æ°æ¶é´") |
| | | private Date zhgxsj; |
| | | |
| | | } |
| ¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.fzzy.push.sx2025.data; |
| | | |
| | | import com.alibaba.fastjson.annotation.JSONField; |
| | | import com.bstek.dorado.annotation.PropertyDef; |
| | | import lombok.Data; |
| | | import java.io.Serializable; |
| | | import java.util.Date; |
| | | |
| | | /** |
| | | * @Description é西çå¹³å°2025ç-å¨å¤ç²®åä»éªæ¶è¡¨ |
| | | * @Author CZT |
| | | * @Date 2025/10/31 15:18 |
| | | */ |
| | | @Data |
| | | public class SX2025Api1216 implements Serializable { |
| | | |
| | | @PropertyDef(label = "åä»éªæ¶åå·", description = "éªæ¶ç³è¯·æ¥æyyyyMMdd + 4ä½é¡ºåºå·") |
| | | private String dcysdh; |
| | | |
| | | @PropertyDef(label = "æ¿å¨åä½" ) |
| | | private String ccdw; |
| | | |
| | | @PropertyDef(label = "计åæå·") |
| | | private String jhwh; |
| | | |
| | | @PropertyDef(label = "ååºä»æ¿ç»ä¸è´§ä½ç¼ç " ) |
| | | private String dctyhwbm; |
| | | |
| | | @PropertyDef(label = "ååºç²®é£åç§ä»£ç " ) |
| | | private String dclspzdm; |
| | | |
| | | @PropertyDef(label = "ååºç²®é£ç级代ç " ) |
| | | private String dclsdjdm; |
| | | |
| | | @PropertyDef(label = "ååºç²®é£ç产年度" ) |
| | | private String dclsscnd; |
| | | |
| | | @PropertyDef(label = "ååºç²®é£æ°é(å¨)" ) |
| | | private Double dclssl; |
| | | |
| | | @PropertyDef(label = "åå
¥ä»æ¿ç»ä¸è´§ä½ç¼ç " ) |
| | | private String drtyhwbm; |
| | | |
| | | @PropertyDef(label = "åå
¥ç²®é£åç§ä»£ç " ) |
| | | private String drlspzdm; |
| | | |
| | | @PropertyDef(label = "åå
¥ç²®é£ç级代ç " ) |
| | | private String drlsdjdm; |
| | | |
| | | @PropertyDef(label = "åå
¥ç²®é£æ°é(å¨)" ) |
| | | private Double drlssl; |
| | | |
| | | @PropertyDef(label = "åå
¥ç²®é£åºåææ¬(å
/å¨)" ) |
| | | private Double drlskccb; |
| | | |
| | | @PropertyDef(label = "åå
¥ç²®é£ç产年度" ) |
| | | private String drlsscnd; |
| | | |
| | | @JSONField(format = "yyyy-MM-dd HH:mm:ss") |
| | | @PropertyDef(label = "å
¥åºæ¶é´") |
| | | private Date rksj; |
| | | |
| | | @JSONField(format = "yyyy-MM-dd HH:mm:ss") |
| | | @PropertyDef(label = "åä»å®ææ¶é´") |
| | | private Date wcsj; |
| | | |
| | | @PropertyDef(label = "éªæ¶ç»è®º") |
| | | private String ysjl; |
| | | |
| | | @JSONField(format = "yyyy-MM-dd") |
| | | @PropertyDef(label = "éªæ¶æ¶é´") |
| | | private Date yssj; |
| | | |
| | | @PropertyDef(label = "æ¿å¨åä½è´è´£äºº") |
| | | private String ccdwfzr; |
| | | |
| | | @PropertyDef(label = "éªæ¶äºº") |
| | | private String ysr; |
| | | |
| | | @PropertyDef(label = "éªæ¶è§é¢ç
§ç") |
| | | private String ysspzp; |
| | | |
| | | @PropertyDef(label = "夿³¨") |
| | | private String bz; |
| | | |
| | | @PropertyDef(label = "æä½æ å¿") |
| | | private String czbz; |
| | | |
| | | @JSONField(format = "yyyy-MM-dd HH:mm:ss") |
| | | @PropertyDef(label = "æåæ´æ°æ¶é´") |
| | | private Date zhgxsj; |
| | | } |
| ¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.fzzy.push.sx2025.data; |
| | | |
| | | import com.alibaba.fastjson.annotation.JSONField; |
| | | import com.bstek.dorado.annotation.PropertyDef; |
| | | import lombok.Data; |
| | | import java.io.Serializable; |
| | | import java.util.Date; |
| | | |
| | | /** |
| | | * @Description é西çå¹³å°2025ç-è½®æ¢éªæ¶ä¿¡æ¯ |
| | | * @Author CZT |
| | | * @Date 2025/10/31 15:25 |
| | | */ |
| | | @Data |
| | | public class SX2025Api1217 implements Serializable { |
| | | |
| | | @PropertyDef(label = "è½®æ¢éªæ¶åå·", description = "éªæ¶ç³è¯·æ¥æyyyyMMdd + 4ä½é¡ºåºå·") |
| | | private String dcysdh; |
| | | |
| | | @PropertyDef(label = "æ¿å¨åä½") |
| | | private String ccdw; |
| | | |
| | | @PropertyDef(label = "计åæå·") |
| | | private String jhwh; |
| | | |
| | | @PropertyDef(label = "计å宿仿¿ç»ä¸è´§ä½ç¼ç ") |
| | | private String dctyhwbm; |
| | | |
| | | @PropertyDef(label = "计åå®æç²®é£åç§ä»£ç ") |
| | | private String dclspzdm; |
| | | |
| | | @PropertyDef(label = "计åå®æç²®é£ç级代ç ") |
| | | private String dclsdjdm; |
| | | |
| | | @PropertyDef(label = "计åå®æç²®é£ç产年度") |
| | | private String dclsscnd; |
| | | |
| | | @PropertyDef(label = "计åå®æç²®é£æ°é(å¨)") |
| | | private Double dclssl; |
| | | |
| | | @PropertyDef(label = "å®é
æ§è¡ä»æ¿ç»ä¸è´§ä½ç¼ç ") |
| | | private String drtyhwbm; |
| | | |
| | | @PropertyDef(label = "å®é
æ§è¡ç²®é£åç§ä»£ç ") |
| | | private String drlspzdm; |
| | | |
| | | @PropertyDef(label = "å®é
æ§è¡ç²®é£ç级代ç ") |
| | | private String drlsdjdm; |
| | | |
| | | @PropertyDef(label = "å®é
æ§è¡ç²®é£æ°é(å¨)") |
| | | private Double drlssl; |
| | | |
| | | @PropertyDef(label = "å®é
æ§è¡ç²®é£åºåææ¬(å
/å¨)") |
| | | private Double drlskccb; |
| | | |
| | | @PropertyDef(label = "å®é
æ§è¡ç²®é£ç产年度") |
| | | private String drlsscnd; |
| | | |
| | | @JSONField(format = "yyyy-MM-dd HH:mm:ss") |
| | | @PropertyDef(label = "å®é
æ§è¡å
¥åºæ¶é´") |
| | | private Date rksj; |
| | | |
| | | @JSONField(format = "yyyy-MM-dd HH:mm:ss") |
| | | @PropertyDef(label = "å®é
æ§è¡å®ææ¶é´") |
| | | private Date wcsj; |
| | | |
| | | @PropertyDef(label = "éªæ¶ç»è®º") |
| | | private String ysjl; |
| | | |
| | | @JSONField(format = "yyyy-MM-dd") |
| | | @PropertyDef(label = "éªæ¶æ¶é´") |
| | | private Date yssj; |
| | | |
| | | @PropertyDef(label = "æ¿å¨åä½è´è´£äºº") |
| | | private String ccdwfzr; |
| | | |
| | | @PropertyDef(label = "éªæ¶äºº") |
| | | private String ysr; |
| | | |
| | | @PropertyDef(label = "éªæ¶è§é¢ç
§ç") |
| | | private String ysspzp; |
| | | |
| | | @PropertyDef(label = "夿³¨") |
| | | private String bz; |
| | | |
| | | @PropertyDef(label = "æä½æ å¿") |
| | | private String czbz; |
| | | |
| | | @JSONField(format = "yyyy-MM-dd HH:mm:ss") |
| | | @PropertyDef(label = "æåæ´æ°æ¶é´") |
| | | private Date zhgxsj; |
| | | } |
| ¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.fzzy.push.sx2025.data; |
| | | |
| | | import com.alibaba.fastjson.annotation.JSONField; |
| | | import com.bstek.dorado.annotation.PropertyDef; |
| | | import lombok.Data; |
| | | import java.io.Serializable; |
| | | import java.util.Date; |
| | | |
| | | /** |
| | | * @Description é西çå¹³å°2025ç-å
¥åºææ¬æ ¸å®è¡¨ |
| | | * @Author CZT |
| | | * @Date 2025/10/31 15:25 |
| | | */ |
| | | @Data |
| | | public class SX2025Api1218 implements Serializable { |
| | | |
| | | @PropertyDef(label = "å
¥åºæ ¸å®åå·", description = "éªæ¶ç³è¯·æ¥æyyyyMMdd + 4ä½é¡ºåºå·") |
| | | private String rkhddh; |
| | | |
| | | @PropertyDef(label = "ç»ä¸è´§ä½ç¼ç " ) |
| | | private String tyhwbm; |
| | | |
| | | @PropertyDef(label = "å¨ç²®åç§ä»£ç " ) |
| | | private String lspzdm; |
| | | |
| | | @PropertyDef(label = "æ ¸å®åä»·" ) |
| | | private Double hddj; |
| | | |
| | | @PropertyDef(label = "æ ¸å®æ°é" ) |
| | | private Double hdsl; |
| | | |
| | | @PropertyDef(label = "ç²®é£æ§è´¨" ) |
| | | private String lsxz; |
| | | |
| | | @PropertyDef(label = "å¡«æ¥åä½" ) |
| | | private String tbdw; |
| | | |
| | | @JSONField(format = "yyyy-MM-dd HH:mm:ss") |
| | | @PropertyDef(label = "å¡«æ¥æ¶é´") |
| | | private Date tbsj; |
| | | |
| | | @PropertyDef(label = "åä½è´è´£äºº") |
| | | private String dwfzr; |
| | | |
| | | @PropertyDef(label = "å¡«æ¥äºº") |
| | | private String tbr; |
| | | |
| | | @PropertyDef(label = "æä½æ å¿") |
| | | private String czbz; |
| | | |
| | | @JSONField(format = "yyyy-MM-dd HH:mm:ss") |
| | | @PropertyDef(label = "æåæ´æ°æ¶é´") |
| | | private Date zhgxsj; |
| | | |
| | | } |
| ¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.fzzy.push.sx2025.data; |
| | | |
| | | import com.alibaba.fastjson.annotation.JSONField; |
| | | import com.bstek.dorado.annotation.PropertyDef; |
| | | import lombok.Data; |
| | | import java.io.Serializable; |
| | | import java.util.Date; |
| | | |
| | | /** |
| | | * @Description é西çå¹³å°2025ç-å
¥åºææ¬æ ¸å®æç»è¡¨ |
| | | * @Author CZT |
| | | * @Date 2025/10/31 15:32 |
| | | */ |
| | | @Data |
| | | public class SX2025Api1219 implements Serializable { |
| | | |
| | | @PropertyDef(label = "å
¥åºæ ¸å®åå·", description = "éªæ¶ç³è¯·æ¥æyyyyMMdd + 4ä½é¡ºåºå·") |
| | | private String rkhddh; |
| | | |
| | | @PropertyDef(label = "è´§ä½ç¼ç " ) |
| | | private String tyhwbm; |
| | | |
| | | @PropertyDef(label = "å¨ç²®åç§ä»£ç " ) |
| | | private String lspzdm; |
| | | |
| | | @PropertyDef(label = "贷款éé¢" ) |
| | | private Double dkje; |
| | | |
| | | @PropertyDef(label = "æ¶è·å¹´åº¦" ) |
| | | private String shnd; |
| | | |
| | | @JSONField(format = "yyyy-MM-dd HH:mm:ss") |
| | | @PropertyDef(label = "å
¥åºæ¶é´") |
| | | private Date rksj; |
| | | |
| | | @PropertyDef(label = "å¡«æ¥åä½" ) |
| | | private String tbdw; |
| | | |
| | | @JSONField(format = "yyyy-MM-dd HH:mm:ss") |
| | | @PropertyDef(label = "å¡«æ¥æ¶é´") |
| | | private Date tbsj; |
| | | |
| | | @PropertyDef(label = "åä½è´è´£äºº") |
| | | private String dwfzr; |
| | | |
| | | @PropertyDef(label = "å¡«æ¥äºº") |
| | | private String tbr; |
| | | |
| | | @PropertyDef(label = "æä½æ å¿") |
| | | private String czbz; |
| | | |
| | | @JSONField(format = "yyyy-MM-dd HH:mm:ss") |
| | | @PropertyDef(label = "æåæ´æ°æ¶é´") |
| | | private Date zhgxsj; |
| | | |
| | | } |
| | |
| | | <dd> |
| | | <a lay-href="com.fzzy.api.view.Api1213.d">å°ä»ç¡®è®¤å</a> |
| | | </dd> |
| | | <dd> |
| | | <a lay-href="com.fzzy.api.view.Api1214.d">空ä»éªæ¶</a> |
| | | </dd> |
| | | <dd> |
| | | <a lay-href="com.fzzy.api.view.Api1215.d">空ç½éªæ¶</a> |
| | | </dd> |
| | | <dd> |
| | | <a lay-href="com.fzzy.api.view.Api1216.d">åä»éªæ¶</a> |
| | | </dd> |
| | | <dd> |
| | | <a lay-href="com.fzzy.api.view.Api1217.d">è½®æ¢éªæ¶</a> |
| | | </dd> |
| | | <dd> |
| | | <a lay-href="com.fzzy.api.view.Api1218.d">å
¥åºææ¬æ ¸å®</a> |
| | | </dd> |
| | | <dd> |
| | | <a lay-href="com.fzzy.api.view.Api1219.d">å
¥åºææ¬æ ¸å®æç»</a> |
| | | </dd> |
| | | </dl> |
| | | </li> |
| | | |