| | |
| | | private String syhj; |
| | | |
| | | @PropertyDef(label = "å
¥åºåé(å
¬æ¤)") |
| | | @Column(name = "rkjz", precision = 20, scale = 6) |
| | | @Column(name = "rkjz", precision = 20, scale = 3) |
| | | private double rkjz; |
| | | |
| | | @PropertyDef(label = "å
¥åºæ°é(å
¬æ¤)") |
| | | @Column(name = "rksl") |
| | | @Column(name = "rksl",precision = 20,scale = 3) |
| | | private double rksl; |
| | | |
| | | @JSONField(format = "yyyy-MM-dd HH:mm:ss") |
| | |
| | | private Date rksj; |
| | | |
| | | @PropertyDef(label = "å
¥åºæ°´å(%)") |
| | | @Column(name = "rksf", precision = 20, scale = 6) |
| | | @Column(name = "rksf", precision = 6, scale = 2) |
| | | private double rksf; |
| | | |
| | | @PropertyDef(label = "å
¥åºæè´¨(%)") |
| | | @Column(name = "rkzz", precision = 20, scale = 6) |
| | | @Column(name = "rkzz", precision = 6, scale = 2) |
| | | private double rkzz; |
| | | |
| | | @JSONField(format = "yyyy-MM-dd HH:mm:ss") |
| | |
| | | |
| | | import com.alibaba.fastjson.annotation.JSONField; |
| | | import com.bstek.dorado.annotation.PropertyDef; |
| | | import com.fasterxml.jackson.annotation.JsonProperty; |
| | | import lombok.Data; |
| | | import lombok.EqualsAndHashCode; |
| | | |
| | | import javax.persistence.Column; |
| | | import javax.persistence.Entity; |
| | | import javax.persistence.Id; |
| | | import javax.persistence.Table; |
| | | import javax.persistence.*; |
| | | import java.io.Serializable; |
| | | import java.util.Date; |
| | | |
| | |
| | | * éè¿æ¥å£è·åçåä½è´¦å¥åï¼å¨å±ç«¯èªå¨äº§çè´¦å¥å· |
| | | */ |
| | | @Id |
| | | @JSONField(serialize = false) |
| | | @PropertyDef(label = "è´¦å¥å·") |
| | | @Column(name = "nAcctId", precision = 9) |
| | | private Double nAcctId; |
| | | @Column(name = "nacctid", precision = 23) |
| | | private String nacctid; |
| | | |
| | | @PropertyDef(label = "è´¦å¥åç§°") |
| | | @Column(name = "cAcctName", length = 256) |
| | | private String cAcctName; |
| | | @Column(name = "cncctname", length = 256) |
| | | private String cncctname; |
| | | |
| | | @PropertyDef(label = "æ¬ä½å¸") |
| | | @Column(name = "cCurrency", length = 3) |
| | | private String cCurrency; |
| | | @Column(name = "ccurrency", length = 3) |
| | | private String ccurrency; |
| | | |
| | | @PropertyDef(label = "ä¼è®¡ä¸»ç®¡") |
| | | @Column(name = "cAcctChief", length = 20) |
| | | private String cAcctChief; |
| | | @Column(name = "cacctchief", length = 20) |
| | | private String cacctchief; |
| | | |
| | | @JSONField(format = "yyyy-MM-dd") |
| | | @PropertyDef(label = "å¯ç¨æé´") |
| | | @Column(name = "cPeriodStart", length = 10) |
| | | private String cPeriodStart; |
| | | @JSONField(format = "yyyyMM") |
| | | @PropertyDef(label = "å¯ç¨æé´", description = "yyyyMM") |
| | | @Column(name = "cperiodstart", length = 10) |
| | | private Date cperiodstart; |
| | | |
| | | @JSONField(format = "yyyy-MM-dd") |
| | | @PropertyDef(label = "å¯ç¨æ¥æ") |
| | | @Column(name = "cYearBmd", length = 10) |
| | | private String cYearBmd; |
| | | @Column(name = "cyearbmd", length = 10) |
| | | private Date cyearbmd; |
| | | |
| | | @PropertyDef(label = "æé´æ°") |
| | | @Column(name = "nAcctPeriodNum") |
| | | private Double nAcctPeriodNum; |
| | | @PropertyDef(label = "æé´æ°", description = "é»è®¤12") |
| | | @Column(name = "nacctperiodnum") |
| | | private Integer nacctperiodnum; |
| | | |
| | | @PropertyDef(label = "ä¼è®¡å¶åº¦ä»£ç ", description = "11:ä¼ä¸ä¼è®¡ååå¶åº¦(ç²®é£2013ç)(é»è®¤ä»£ç å¼)") |
| | | @Column(name = "cAccClassCode", length = 8) |
| | | private String cAccClassCode; |
| | | @Column(name = "caccclasscode", length = 2) |
| | | private String caccclasscode; |
| | | |
| | | @PropertyDef(label = "ç§ç®çº§æ¬¡", description = "4-8:é»è®¤æå°å¼ä¸º4") |
| | | @Column(name = "nAccGrade") |
| | | private Double nAccGrade; |
| | | @Column(name = "naccgrade") |
| | | private Integer naccgrade; |
| | | |
| | | @PropertyDef(label = "ç§ç®ç¼ç è§å", description = "4222XXXX:é»è®¤åå级级é¿è§å为4222") |
| | | @Column(name = "cAccCodeStr", length = 40) |
| | | private String cAccCodeStr; |
| | | @Column(name = "cacccodestr", length = 40) |
| | | private String cacccodestr; |
| | | |
| | | @PropertyDef(label = "åä½åç§°") |
| | | @Column(name = "cCropName", length = 256) |
| | | private String cCropName; |
| | | @Column(name = "ccropname", length = 256) |
| | | private String ccropname; |
| | | |
| | | @PropertyDef(label = "åä½ä»£ç ") |
| | | @Column(name = "cOrgCode", length = 18) |
| | | private String cOrgCode; |
| | | @Column(name = "corgcode", length = 18) |
| | | private String corgcode; |
| | | |
| | | @PropertyDef(label = "ç»ä¸åä½ç¼ç ") |
| | | @Column(name = "xqydm", length = 20) |
| | | private String xqydm; |
| | | @Column(name = "tydwbm", length = 20) |
| | | private String tydwbm; |
| | | |
| | | @PropertyDef(label = "ç»ä¸åºåºç¼ç ") |
| | | @Column(name = "xkqdm",length = 22) |
| | | private String xkqdm; |
| | | @Column(name = "tykqbm", length = 22) |
| | | private String tykqbm; |
| | | |
| | | @PropertyDef(label = "æä½æ å¿") |
| | | @Column(name = "czbz", length = 1) |
| | |
| | | |
| | | import com.alibaba.fastjson.annotation.JSONField; |
| | | import com.bstek.dorado.annotation.PropertyDef; |
| | | import com.fasterxml.jackson.annotation.JsonProperty; |
| | | import lombok.Data; |
| | | import lombok.EqualsAndHashCode; |
| | | |
| | | import javax.persistence.Column; |
| | | import javax.persistence.Entity; |
| | | import javax.persistence.Id; |
| | | import javax.persistence.Table; |
| | | import javax.persistence.*; |
| | | import java.io.Serializable; |
| | | import java.util.Date; |
| | | |
| | |
| | | * éè¿æ¥å£è·åçåä½è´¦å¥åï¼å¨å±ç«¯èªå¨äº§çè´¦å¥å· |
| | | */ |
| | | @Id |
| | | @Column(name = "ID_", precision = 18) |
| | | @JSONField(serialize = false) |
| | | @PropertyDef(label = "è´¦å¥å·") |
| | | @Column(name = "nAcctId", length = 9) |
| | | private Double nAcctId; |
| | | private String id; |
| | | |
| | | @JSONField(serialize = false) |
| | | @PropertyDef(label = "è´¦å¥å·") |
| | | @Column(name = "nacctid", length = 23) |
| | | private String nacctid; |
| | | |
| | | |
| | | @PropertyDef(label = "年度") |
| | | @Column(name = "cYear", length = 4) |
| | | private String cYear; |
| | | @Column(name = "cyear") |
| | | private Integer cyear; |
| | | |
| | | @PropertyDef(label = "ç§ç®ç¼ç ") |
| | | @Column(name = "cCode", length = 80) |
| | | private String cCode; |
| | | @Column(name = "ccode", length = 80) |
| | | private String ccode; |
| | | |
| | | @PropertyDef(label = "ç§ç®åç§°") |
| | | @Column(name = "cName", length = 256) |
| | | private String cName; |
| | | @Column(name = "cname", length = 256) |
| | | private String cname; |
| | | |
| | | @PropertyDef(label = "ç§ç®å
¨ç§°") |
| | | @Column(name = "cAllName", length = 65536) |
| | | private String cAllName; |
| | | @Column(name = "callname", length = 65536) |
| | | private String callname; |
| | | |
| | | /** |
| | | * 1:èµäº§ç±» |
| | |
| | | * 6:æçç±» |
| | | */ |
| | | @PropertyDef(label = "ç§ç®ç±»å«") |
| | | @Column(name = "nClass", length = 9) |
| | | private String nClass; |
| | | @Column(name = "nclass", length = 9) |
| | | private String nclass; |
| | | /** |
| | | * (-1)-è´·æ¹ï¼1-åæ¹ |
| | | */ |
| | | @PropertyDef(label = "ä½é¢æ¹å") |
| | | @Column(name = "cDc", length = 3) |
| | | private String cDc; |
| | | @Column(name = "cdc") |
| | | private Integer cdc; |
| | | |
| | | @PropertyDef(label = "æ«çº§ç§ç®") |
| | | @Column(name = "bL") |
| | | private String bL; |
| | | @Column(name = "bl") |
| | | private Integer bl; |
| | | |
| | | @PropertyDef(label = "ç§ç®çº§æ¬¡") |
| | | @Column(name = "nGrade", length = 8) |
| | | private Double nGrade; |
| | | @Column(name = "ngrade") |
| | | private Integer ngrade; |
| | | |
| | | @PropertyDef(label = "æ°éç§ç®") |
| | | @Column(name = "bQ") |
| | | private String bQ; |
| | | @Column(name = "bq") |
| | | private Integer bq; |
| | | |
| | | @PropertyDef(label = "æ°éåä½") |
| | | @Column(name = "cQUnit") |
| | | private String cQUnit; |
| | | @Column(name = "cqunit") |
| | | private Integer cqunit; |
| | | |
| | | @PropertyDef(label = "ç°éç±»ç§ç®") |
| | | @Column(name = "bCash") |
| | | private String bCash; |
| | | @Column(name = "bcash") |
| | | private Integer bcash; |
| | | |
| | | @PropertyDef(label = "é¶è¡ç±»ç§ç®") |
| | | @Column(name = "bBank") |
| | | private String bBank; |
| | | @Column(name = "bbank") |
| | | private Integer bbank; |
| | | |
| | | @PropertyDef(label = "ç°éæµéç±»ç§ç®") |
| | | @Column(name = "bXjll") |
| | | private String bXjll; |
| | | @Column(name = "bxjll") |
| | | private Integer bxjll; |
| | | |
| | | @PropertyDef(label = "å»ç»") |
| | | @Column(name = "bF") |
| | | private String bF; |
| | | @Column(name = "bf") |
| | | private Integer bf; |
| | | |
| | | @PropertyDef(label = "ç»ä¸åºåºç¼ç ") |
| | | @Column(name = "tykqbm", length = 22) |
| | | private String tykqbm; |
| | | |
| | | @PropertyDef(label = "æä½æ å¿") |
| | | @Column(name = "czbz", length = 1) |
| | |
| | | |
| | | import com.alibaba.fastjson.annotation.JSONField; |
| | | import com.bstek.dorado.annotation.PropertyDef; |
| | | import com.fasterxml.jackson.annotation.JsonProperty; |
| | | import lombok.Data; |
| | | import lombok.EqualsAndHashCode; |
| | | |
| | | import javax.persistence.Column; |
| | | import javax.persistence.Entity; |
| | | import javax.persistence.Id; |
| | | import javax.persistence.Table; |
| | | import javax.persistence.*; |
| | | import java.io.Serializable; |
| | | import java.util.Date; |
| | | |
| | |
| | | * éè¿æ¥å£è·åçåä½è´¦å¥åï¼å¨å±ç«¯èªå¨äº§çè´¦å¥å· |
| | | */ |
| | | @Id |
| | | @Column(name = "ID_", precision = 18) |
| | | @JSONField(serialize = false) |
| | | private String id; |
| | | |
| | | @PropertyDef(label = "è´¦å¥å·") |
| | | @Column(name = "nAcctId", length = 9) |
| | | private Double nAcctId; |
| | | @Column(name = "nacctid", length = 23) |
| | | private String nacctid; |
| | | |
| | | @PropertyDef(label = "æé´") |
| | | @Column(name = "cYear", length = 3) |
| | | private String cYear; |
| | | @Column(name = "cyear") |
| | | private Integer cyear; |
| | | |
| | | @PropertyDef(label = "年度") |
| | | @Column(name = "nNo", length = 4) |
| | | private String nNo; |
| | | @Column(name = "nno") |
| | | private Integer nno; |
| | | |
| | | @PropertyDef(label = "ç§ç®ç¼ç ") |
| | | @Column(name = "ccode", length = 80) |
| | | private String ccode; |
| | | |
| | | @PropertyDef(label = "æåæ¬ä½å¸ä½é¢") |
| | | @Column(name = "bM", precision = 20, scale = 4) |
| | | private Double bM; |
| | | @Column(name = "bm", precision = 20, scale = 4) |
| | | private Double bm; |
| | | |
| | | @PropertyDef(label = "ææ«æ¬ä½å¸ä½é¢") |
| | | @Column(name = "eM", precision = 20, scale = 4) |
| | | private Double eM; |
| | | @Column(name = "em", precision = 20, scale = 4) |
| | | private Double em; |
| | | |
| | | @PropertyDef(label = "æåæ°é") |
| | | @Column(name = "bQty", precision = 20, scale = 4) |
| | | private Double bQty; |
| | | @Column(name = "bqty", precision = 20, scale = 4) |
| | | private Double bqty; |
| | | |
| | | @PropertyDef(label = "ææ«æ°é") |
| | | @Column(name = "eQty", precision = 20, scale = 4) |
| | | private Double eQty; |
| | | @Column(name = "eqty", precision = 20, scale = 4) |
| | | private Double eqty; |
| | | /** |
| | | * 1:åæ¹ |
| | | * -1:è´·æ¹ |
| | | */ |
| | | @PropertyDef(label = "ä½é¢æ¹å") |
| | | @Column(name = "cDc", length = 3) |
| | | private String cDc; |
| | | @Column(name = "cdc") |
| | | private Integer cdc; |
| | | |
| | | @PropertyDef(label = "åæ¹æ¬ä½å¸åçé¢") |
| | | @Column(name = "dM", precision = 20, scale = 4) |
| | | private Double dM; |
| | | @Column(name = "dm", precision = 20, scale = 4) |
| | | private Double dm; |
| | | |
| | | @PropertyDef(label = "è´·æ¹æ¬ä½å¸åçé¢") |
| | | @Column(name = "cM", precision = 20, scale = 4) |
| | | private Double cM; |
| | | @Column(name = "cm", precision = 20, scale = 4) |
| | | private Double cm; |
| | | |
| | | @PropertyDef(label = "åæ¹åçæ°é") |
| | | @Column(name = "dQ", precision = 20, scale = 4) |
| | | private Double dQ; |
| | | @Column(name = "dq", precision = 20, scale = 4) |
| | | private Double dq; |
| | | |
| | | @PropertyDef(label = "è´·æ¹åçæ°é") |
| | | @Column(name = "cQ", precision = 20, scale = 4) |
| | | private Double cQ; |
| | | @Column(name = "cq", precision = 20, scale = 4) |
| | | private Double cq; |
| | | |
| | | @PropertyDef(label = "æåå¤å¸ä½é¢") |
| | | @Column(name = "bFm", precision = 20, scale = 4) |
| | | private Double bFm; |
| | | @Column(name = "bfm", precision = 20, scale = 4) |
| | | private Double bfm; |
| | | |
| | | @PropertyDef(label = "ææ«å¤å¸ä½é¢") |
| | | @Column(name = "eFm", precision = 20, scale = 4) |
| | | private Double eFm; |
| | | @Column(name = "efm", precision = 20, scale = 4) |
| | | private Double efm; |
| | | |
| | | @PropertyDef(label = "åæ¹å¤å¸åçé¢") |
| | | @Column(name = "dFm", precision = 20, scale = 4) |
| | | private Double dFm; |
| | | @Column(name = "dfm", precision = 20, scale = 4) |
| | | private Double dfm; |
| | | |
| | | @PropertyDef(label = "è´·æ¹å¤å¸åçé¢") |
| | | @Column(name = "cFm", precision = 20, scale = 4) |
| | | private Double cFm; |
| | | @Column(name = "cfm", precision = 20, scale = 4) |
| | | private Double cfm; |
| | | |
| | | @PropertyDef(label = "ç»ä¸åºåºç¼ç ") |
| | | @Column(name = "tykqbm", length = 22) |
| | | private String tykqbm; |
| | | |
| | | @PropertyDef(label = "æä½æ å¿") |
| | | @Column(name = "czbz", length = 1) |
| | |
| | | |
| | | import com.alibaba.fastjson.annotation.JSONField; |
| | | import com.bstek.dorado.annotation.PropertyDef; |
| | | import com.fasterxml.jackson.annotation.JsonProperty; |
| | | import lombok.Data; |
| | | import lombok.EqualsAndHashCode; |
| | | |
| | | import javax.persistence.Column; |
| | | import javax.persistence.Entity; |
| | | import javax.persistence.Id; |
| | | import javax.persistence.Table; |
| | | import javax.persistence.*; |
| | | import java.io.Serializable; |
| | | import java.util.Date; |
| | | |
| | |
| | | * éè¿æ¥å£è·åçåä½è´¦å¥åï¼å¨å±ç«¯èªå¨äº§çè´¦å¥å· |
| | | */ |
| | | @Id |
| | | @Column(name = "ID_", precision = 18) |
| | | @JSONField(serialize = false) |
| | | private String id; |
| | | |
| | | @PropertyDef(label = "è´¦å¥å·") |
| | | @Column(name = "nAcctId", length = 9) |
| | | private Double nAcctId; |
| | | @Column(name = "nacctid", length = 23) |
| | | private String nacctid; |
| | | |
| | | @PropertyDef(label = "åè¯ç±»å") |
| | | @Column(name = "cVKind", length = 9) |
| | | private String cVKind; |
| | | @Column(name = "cvkind", length = 9) |
| | | private String cvkind; |
| | | |
| | | @PropertyDef(label = "æé´") |
| | | @Column(name = "cMon", length = 3) |
| | | private Double cMon; |
| | | @Column(name = "cmon") |
| | | private Integer cmon; |
| | | |
| | | @PropertyDef(label = "年度") |
| | | @Column(name = "cYear", length = 4) |
| | | private Double cYear; |
| | | @Column(name = "cyear") |
| | | private Integer cyear; |
| | | |
| | | @PropertyDef(label = "åè¯å·") |
| | | @Column(name = "nVNo", length = 9) |
| | | private Double nVNo; |
| | | @Column(name = "nvno") |
| | | private Integer nvno; |
| | | |
| | | @PropertyDef(label = "åå½åºå·") |
| | | @Column(name = "nNo", precision = 9) |
| | | private Double nNo; |
| | | |
| | | @PropertyDef(label = "åè¯åç±»") |
| | | @Column(name = "bTmp", precision = 3) |
| | | private Double bTmp; |
| | | @Column(name = "nno") |
| | | private Integer nno; |
| | | |
| | | @PropertyDef(label = "æè¦") |
| | | @Column(name = "Digest", length = 256) |
| | | private String Digest; |
| | | @Column(name = "digest", length = 512) |
| | | private String digest; |
| | | |
| | | @PropertyDef(label = "ç§ç®ç¼ç ") |
| | | @Column(name = "cCode", length = 80) |
| | | private Double cCode; |
| | | @Column(name = "ccode", length = 80) |
| | | private String ccode; |
| | | |
| | | @JSONField(format = "yyyy-MM-dd") |
| | | @PropertyDef(label = "åè¯æ¥æ") |
| | | @Column(name = "cVSmallDatetime", length = 10) |
| | | private String cVSmallDatetime; |
| | | @Column(name = "ccsmalldatetime", length = 10) |
| | | private Date ccsmalldatetime; |
| | | |
| | | @PropertyDef(label = "å¶å人") |
| | | @Column(name = "cMaker", length = 32) |
| | | private String cMaker; |
| | | @Column(name = "cmaker", length = 32) |
| | | private String cmaker; |
| | | /** |
| | | * 1:åæ¹ |
| | | * -1:è´·æ¹ |
| | | */ |
| | | @PropertyDef(label = "æ¹å") |
| | | @Column(name = "cDc", precision = 3) |
| | | private String cDc; |
| | | @Column(name = "cdc") |
| | | private Integer cdc; |
| | | |
| | | @PropertyDef(label = "å®¡æ ¸äºº") |
| | | @Column(name = "cCkEr", length = 32) |
| | | private String cCkEr; |
| | | @Column(name = "ccker", length = 32) |
| | | private String ccker; |
| | | |
| | | @PropertyDef(label = "记账人") |
| | | @Column(name = "cPtEr", length = 32) |
| | | private String cPtEr; |
| | | @Column(name = "cpter", length = 32) |
| | | private String cpter; |
| | | /** |
| | | * 0:å¦ |
| | | * 1:æ¯ |
| | | */ |
| | | @PropertyDef(label = "è®°è´¦æ å¿") |
| | | @Column(name = "bPt", precision = 3) |
| | | private Double bPt; |
| | | @Column(name = "bpt") |
| | | private Integer bpt; |
| | | |
| | | @PropertyDef(label = "éä»¶å¼ æ°") |
| | | @Column(name = "nANum", precision = 9) |
| | | private Double nANum; |
| | | @Column(name = "nanum") |
| | | private Integer nanum; |
| | | |
| | | @PropertyDef(label = "éé¢") |
| | | @Column(name = "nM", precision = 20, scale = 4) |
| | | private Double nM; |
| | | @Column(name = "nm", precision = 20, scale = 4) |
| | | private Double nm; |
| | | |
| | | @PropertyDef(label = "æ°é") |
| | | @Column(name = "nQty", precision = 20, scale = 4) |
| | | private Double nQty; |
| | | @Column(name = "nqty", precision = 20, scale = 4) |
| | | private Double nqty; |
| | | |
| | | @PropertyDef(label = "åä»·") |
| | | @Column(name = "nPrice", precision = 20, scale = 4) |
| | | private Double nPrice; |
| | | @Column(name = "nprice", precision = 20, scale = 4) |
| | | private Double nprice; |
| | | |
| | | @PropertyDef(label = "ç»ç®å·") |
| | | @Column(name = "cSettleNo", length = 40) |
| | | private String cSettleNo; |
| | | |
| | | @PropertyDef(label = "åºçº³") |
| | | @Column(name = "cCashier", length = 32) |
| | | private String cCashier; |
| | | @Column(name = "ccashier", length = 32) |
| | | private String ccashier; |
| | | |
| | | @PropertyDef(label = "æ±ç") |
| | | @Column(name = "rate", precision = 20, scale = 4) |
| | | @Column(name = "rate", precision = 20, scale = 4) |
| | | private Double rate; |
| | | |
| | | @PropertyDef(label = "å¤å¸éé¢") |
| | | @Column(name = "nFm", precision = 20, scale = 4) |
| | | private Double nFm; |
| | | @Column(name = "nfm", precision = 20, scale = 4) |
| | | private Double nfm; |
| | | |
| | | @PropertyDef(label = "计éåä½",description = "计éå使±å") |
| | | @Column(name = "meterUnitId", length = 32) |
| | | private String meterUnitId; |
| | | @PropertyDef(label = "计éåä½", description = "计éå使±å") |
| | | @Column(name = "meterunitid", length = 32) |
| | | private String meterunitid; |
| | | |
| | | @PropertyDef(label = "ç»ä¸åºåºç¼ç ") |
| | | @Column(name = "tykqbm", length = 22) |
| | | private String tykqbm; |
| | | |
| | | @PropertyDef(label = "æä½æ å¿") |
| | | @Column(name = "czbz", length = 1) |
| | |
| | | |
| | | import com.alibaba.fastjson.annotation.JSONField; |
| | | import com.bstek.dorado.annotation.PropertyDef; |
| | | import com.fasterxml.jackson.annotation.JsonProperty; |
| | | import lombok.Data; |
| | | import lombok.EqualsAndHashCode; |
| | | |
| | | import javax.persistence.Column; |
| | | import javax.persistence.Entity; |
| | | import javax.persistence.Id; |
| | | import javax.persistence.Table; |
| | | import javax.persistence.*; |
| | | import java.io.Serializable; |
| | | import java.util.Date; |
| | | |
| | |
| | | * éè¿æ¥å£è·åçåä½è´¦å¥åï¼å¨å±ç«¯èªå¨äº§çè´¦å¥å· |
| | | */ |
| | | @Id |
| | | @Column(name = "ID_", precision = 18) |
| | | @JSONField(serialize = false) |
| | | private String id; |
| | | |
| | | @PropertyDef(label = "è´¦å¥å·") |
| | | @Column(name = "nAcctId", length = 9) |
| | | private Double nAcctId; |
| | | @Column(name = "nacctid", length = 23) |
| | | private String nacctid; |
| | | |
| | | @PropertyDef(label = "åè¯ç±»å") |
| | | @Column(name = "cVKind", length = 10) |
| | | private String cVKind; |
| | | @Column(name = "cvkind",length = 10) |
| | | private String cvkind; |
| | | |
| | | @PropertyDef(label = "æé´") |
| | | @Column(name = "cMon", length = 3) |
| | | private Double cMon; |
| | | @Column(name = "cmon") |
| | | private Integer cmon; |
| | | |
| | | @PropertyDef(label = "年度") |
| | | @Column(name = "cYear", length = 4) |
| | | private Double cYear; |
| | | @Column(name = "cyear") |
| | | private Integer cyear; |
| | | |
| | | @PropertyDef(label = "åè¯å·") |
| | | @Column(name = "nVNo", length = 9) |
| | | private Double nVNo; |
| | | @Column(name = "nvno") |
| | | private Integer nvno; |
| | | |
| | | @PropertyDef(label = "ç§ç®ç¼ç ") |
| | | @Column(name = "cCode", length = 80) |
| | | private String cCode; |
| | | @Column(name = "ccode", length = 80) |
| | | private String ccode; |
| | | |
| | | @PropertyDef(label = "对æ¹ç§ç®ç¼ç ") |
| | | @Column(name = "cDFCode", length = 80) |
| | | private String cDFCode; |
| | | @Column(name = "cdfcode", length = 80) |
| | | private String cdfcode; |
| | | |
| | | @PropertyDef(label = "ç°éæµé项ç®ä»£ç ") |
| | | @Column(name = "cCashCode", length = 80) |
| | | private String cCashCode; |
| | | @Column(name = "ccashcode", length = 80) |
| | | private String ccashcode; |
| | | |
| | | @PropertyDef(label = "åå½åºå·") |
| | | @Column(name = "nNo", precision = 9) |
| | | private Double nNo; |
| | | @Column(name = "nrowno") |
| | | private Integer nrowno; |
| | | |
| | | @PropertyDef(label = "éé¢") |
| | | @Column(name = "nM", precision = 20,scale = 4) |
| | | private Double nM; |
| | | @Column(name = "nm", precision = 20,scale = 4) |
| | | private Double nm; |
| | | |
| | | /** |
| | | * 1:æµå
¥ |
| | | * -1:æµåº |
| | | */ |
| | | @PropertyDef(label = "æ¹å") |
| | | @Column(name = "cDc", length = 3) |
| | | private String cDc; |
| | | @Column(name = "cdc") |
| | | private Integer cdc; |
| | | |
| | | @PropertyDef(label = "ç»ä¸åºåºç¼ç ") |
| | | @Column(name = "tykqbm", length = 22) |
| | | private String tykqbm; |
| | | |
| | | |
| | | @PropertyDef(label = "æä½æ å¿") |
| | |
| | | |
| | | import com.alibaba.fastjson.annotation.JSONField; |
| | | import com.bstek.dorado.annotation.PropertyDef; |
| | | import com.fasterxml.jackson.annotation.JsonProperty; |
| | | import lombok.Data; |
| | | import lombok.EqualsAndHashCode; |
| | | |
| | | import javax.persistence.Column; |
| | | import javax.persistence.Entity; |
| | | import javax.persistence.Id; |
| | | import javax.persistence.Table; |
| | | import javax.persistence.*; |
| | | import java.io.Serializable; |
| | | import java.util.Date; |
| | | |
| | |
| | | * éè¿æ¥å£è·åçåä½è´¦å¥åï¼å¨å±ç«¯èªå¨äº§çè´¦å¥å· |
| | | */ |
| | | @Id |
| | | @Column(name = "ID_", precision = 18) |
| | | @JSONField(serialize = false) |
| | | private String id; |
| | | |
| | | @PropertyDef(label = "è´¦å¥å·") |
| | | @Column(name = "nAcctId", length = 9) |
| | | private Double nAcctId; |
| | | @Column(name = "nacctid", length = 23) |
| | | private String nacctid; |
| | | |
| | | @PropertyDef(label = "åºå®èµäº§ç¼ç ") |
| | | @Column(name = "fixAssetCode", length = 20) |
| | | private String fixAssetCode; |
| | | @Column(name = "fixassetcode", length = 20) |
| | | private String fixassetcode; |
| | | |
| | | @PropertyDef(label = "åºå®èµäº§èªç¼ç ") |
| | | @Column(name = "origFixAssetCode", length = 20) |
| | | private String origFixAssetCode; |
| | | @Column(name = "origfixassetcode", length = 20) |
| | | private String origfixassetcode; |
| | | |
| | | @PropertyDef(label = "èµäº§ç±»å«ç¼ç ") |
| | | @Column(name = "groupCode", length = 20) |
| | | private String groupCode; |
| | | @Column(name = "groupcode", length = 20) |
| | | private String groupcode; |
| | | |
| | | @PropertyDef(label = "åºå®èµäº§åç§°") |
| | | @Column(name = "fixAssetName", length = 80) |
| | | private String fixAssetName; |
| | | @Column(name = "fixassetname", length = 80) |
| | | private String fixassetname; |
| | | |
| | | @PropertyDef(label = "计éåä½åç§°") |
| | | @Column(name = "unitName", length = 20) |
| | | private String unitName; |
| | | @Column(name = "unitname", length = 20) |
| | | private String unitname; |
| | | |
| | | @PropertyDef(label = "åå¼") |
| | | @Column(name = "valueOrg", length = 20, scale = 4) |
| | | private Double valueOrg; |
| | | @Column(name = "valueorg", length = 20, scale = 4) |
| | | private Double valueorg; |
| | | |
| | | @PropertyDef(label = "å½ååå¼") |
| | | @Column(name = "dresentValueOrg", length = 20, scale = 4) |
| | | private Double dresentValueOrg; |
| | | @Column(name = "dresentvalueorg", length = 20, scale = 4) |
| | | private Double dresentvalueorg; |
| | | /** |
| | | * 1:ä¸æææ§æ³ |
| | | * 2:å¹³åå¹´éæ³ |
| | |
| | | * 6:ååä½é¢éåæ³ |
| | | */ |
| | | @PropertyDef(label = "ææ§æ¹æ³") |
| | | @Column(name = "deprMethodId", length = 20, scale = 4) |
| | | private Double deprMethodId; |
| | | @Column(name = "deprmethodid") |
| | | private Integer deprmethodid; |
| | | |
| | | @PropertyDef(label = "åºå®èµäº§æ¥æº") |
| | | @Column(name = "sourceid", length = 12) |
| | | private Double sourceid; |
| | | /** |
| | | * 1:æèµ |
| | | * 2:èªå»º |
| | |
| | | * 7:æèµ |
| | | * 8:æ¢å
¥ |
| | | */ |
| | | @PropertyDef(label = "对æ¹ç§ç®ç¼ç ") |
| | | @Column(name = "cDFCode", length = 80) |
| | | private String cDFCode; |
| | | @PropertyDef(label = "åºå®èµäº§æ¥æº") |
| | | @Column(name = "sourceid") |
| | | private Integer sourceid; |
| | | |
| | | @PropertyDef(label = "åå·") |
| | | @Column(name = "model", length = 40) |
| | |
| | | private String manufacturer; |
| | | |
| | | @PropertyDef(label = "产å°") |
| | | @Column(name = "makingPlace", length = 40) |
| | | private String makingPlace; |
| | | @Column(name = "makingplace", length = 40) |
| | | private String makingplace; |
| | | |
| | | @JSONField(format = "yyyy-MM-dd") |
| | | @PropertyDef(label = "è¿å使¥æ") |
| | | @Column(name = "enterDay", length = 10) |
| | | private String enterDay; |
| | | @Column(name = "enterday", length = 10) |
| | | private Date enterday; |
| | | |
| | | @JSONField(format = "yyyy-MM-dd") |
| | | @PropertyDef(label = "å¼å§ä½¿ç¨æ¥æ") |
| | | @Column(name = "beginUseDay", length = 10) |
| | | private String beginUseDay; |
| | | @Column(name = "beginuseday", length = 10) |
| | | private Date beginuseday; |
| | | |
| | | @JSONField(format = "yyyy-MM-dd") |
| | | @PropertyDef(label = "å»ºå¡æ¥æ") |
| | | @Column(name = "makinDay", length = 10) |
| | | private String makinDay; |
| | | @Column(name = "makinday", length = 10) |
| | | private Date makinday; |
| | | |
| | | @PropertyDef(label = "管ç人") |
| | | @Column(name = "keeper", length = 20) |
| | |
| | | private String maker; |
| | | |
| | | @PropertyDef(label = "é¢è®¡ä½¿ç¨æé´æ°") |
| | | @Column(name = "usingPeriods", precision = 12) |
| | | private Double usingPeriods; |
| | | @Column(name = "usingperiods") |
| | | private Integer usingperiods; |
| | | |
| | | @PropertyDef(label = "é¢è®¡åæ®å¼") |
| | | @Column(name = "expecRemain", precision = 20, scale = 4) |
| | | private Double expecRemain; |
| | | @Column(name = "expecremain", precision = 20, scale = 4) |
| | | private Double expecremain; |
| | | |
| | | @PropertyDef(label = "åºå®èµäº§å¯¹åºç§ç®ç¼ç ") |
| | | @Column(name = "assetAcctCode", length = 20) |
| | | private String assetAcctCode; |
| | | @Column(name = "assetacctcode", length = 20) |
| | | private String assetacctcode; |
| | | |
| | | @PropertyDef(label = "ç´¯è®¡ææ§å¯¹åºç§ç®ç¼ç ") |
| | | @Column(name = "deprAcctCode", length = 20) |
| | | private String deprAcctCode; |
| | | @Column(name = "depracctcode", length = 20) |
| | | private String depracctcode; |
| | | |
| | | |
| | | @PropertyDef(label = "ç´¯è®¡ææ§") |
| | | @Column(name = "accumulateDepr", precision = 20, scale = 4) |
| | | private Double accumulateDepr; |
| | | @Column(name = "accumulatedepr", precision = 20, scale = 4) |
| | | private Double accumulatedepr; |
| | | /** |
| | | * 0:å¦ |
| | | * 1:æ¯ |
| | | */ |
| | | @PropertyDef(label = "æ¯å¦æ¥åºæ¸
ç") |
| | | @Column(name = "abadoned", length = 20) |
| | | @Column(name = "abadoned", length = 1) |
| | | private String abadoned; |
| | | |
| | | /** |
| | |
| | | * 6:çäº |
| | | */ |
| | | @PropertyDef(label = "å½å使ç¨ç¶æåç§°") |
| | | @Column(name = "presentStatus", length = 20) |
| | | private String presentStatus; |
| | | @Column(name = "presentstatus", length = 20) |
| | | private String presentstatus; |
| | | |
| | | @PropertyDef(label = "夿³¨") |
| | | @Column(name = "notes", length = 512) |
| | | private String notes; |
| | | |
| | | @PropertyDef(label = "ç»ä¸åºåºç¼ç ") |
| | | @Column(name = "tykqbm", length = 22) |
| | | private String tykqbm; |
| | | |
| | | @PropertyDef(label = "æä½æ å¿") |
| | | @Column(name = "czbz", length = 1) |
| | | private String czbz; |
| | |
| | | |
| | | import com.alibaba.fastjson.annotation.JSONField; |
| | | import com.bstek.dorado.annotation.PropertyDef; |
| | | import com.fasterxml.jackson.annotation.JsonProperty; |
| | | import lombok.Data; |
| | | import lombok.EqualsAndHashCode; |
| | | |
| | | import javax.persistence.Column; |
| | | import javax.persistence.Entity; |
| | | import javax.persistence.Id; |
| | | import javax.persistence.Table; |
| | | import javax.persistence.*; |
| | | import java.io.Serializable; |
| | | import java.util.Date; |
| | | |
| | |
| | | * éè¿æ¥å£è·åçåä½è´¦å¥åï¼å¨å±ç«¯èªå¨äº§çè´¦å¥å· |
| | | */ |
| | | @Id |
| | | @Column(name = "ID_", precision = 18) |
| | | @JSONField(serialize = false) |
| | | private String id; |
| | | |
| | | @PropertyDef(label = "è´¦å¥å·") |
| | | @Column(name = "nAcctId", length = 9) |
| | | private Double nAcctId; |
| | | @Column(name = "nacctid", length = 23) |
| | | private String nacctid; |
| | | |
| | | @PropertyDef(label = "åºå®èµäº§ç¼ç ") |
| | | @Column(name = "fixAssetCode", length = 20) |
| | | private String fixAssetCode; |
| | | @Column(name = "fixassetcode", length = 20) |
| | | private String fixassetcode; |
| | | |
| | | @PropertyDef(label = "æé´") |
| | | @Column(name = "period", precision = 4) |
| | | private Double period; |
| | | @Column(name = "period") |
| | | private Integer period; |
| | | |
| | | @PropertyDef(label = "年度") |
| | | @Column(name = "AcctYear", precision = 4) |
| | | private Double AcctYear; |
| | | @Column(name = "acctyear") |
| | | private Integer acctyear; |
| | | |
| | | @PropertyDef(label = "æååå¼") |
| | | @Column(name = "bValueOrg", precision = 20, scale = 4) |
| | | private Double bValueOrg; |
| | | @Column(name = "bvalueorg", precision = 20, scale = 4) |
| | | private Double bvalueorg; |
| | | |
| | | @PropertyDef(label = "ç´¯è®¡ææ§") |
| | | @Column(name = "bAccumDepr", precision = 20, scale = 4) |
| | | private Double bAccumDepr; |
| | | @Column(name = "baccumdepr", precision = 20, scale = 4) |
| | | private Double baccumdepr; |
| | | |
| | | @PropertyDef(label = "æ¬æè®¡æææ§") |
| | | @Column(name = "deprAmmount", precision = 20, scale = 4) |
| | | private Double deprAmmount; |
| | | @Column(name = "deprammount", precision = 20, scale = 4) |
| | | private Double deprammount; |
| | | |
| | | @PropertyDef(label = "æ¬å¹´ç´¯è®¡è®¡æææ§") |
| | | @Column(name = "yAccumDepr", precision = 20, scale = 4) |
| | | private Double yAccumDepr; |
| | | @Column(name = "yaccumdepr", precision = 20, scale = 4) |
| | | private Double yaccumdepr; |
| | | |
| | | @PropertyDef(label = "æ¬ææ°éå¢å ") |
| | | @Column(name = "qtyAdd", precision = 20, scale = 4) |
| | | private Double qtyAdd; |
| | | @Column(name = "qtyadd", precision = 20, scale = 4) |
| | | private Double qtyadd; |
| | | |
| | | @PropertyDef(label = "æ¬ææ°éåå°") |
| | | @Column(name = "qtyDecrease", precision = 20, scale = 4) |
| | | private Double qtyDecrease; |
| | | @Column(name = "qtydecrease", precision = 20, scale = 4) |
| | | private Double qtydecrease; |
| | | |
| | | @PropertyDef(label = "æ¬æåå¼å¢å ") |
| | | @Column(name = "valueOrgAdd", precision = 20, scale = 4) |
| | | private Double valueOrgAdd; |
| | | @Column(name = "valueorgadd", precision = 20, scale = 4) |
| | | private Double valueorgadd; |
| | | |
| | | @PropertyDef(label = "æ¬æåå¼åå°") |
| | | @Column(name = "valueOrgDerease", precision = 20, scale = 4) |
| | | private Double valueOrgDerease; |
| | | @Column(name = "valueorgderease", precision = 20, scale = 4) |
| | | private Double valueorgderease; |
| | | |
| | | @PropertyDef(label = "æ¬æç´¯è®¡ææ§è°å¢") |
| | | @Column(name = "accuDeprAdjustAdd", precision = 20, scale = 4) |
| | | private Double accuDeprAdjustAdd; |
| | | @Column(name = "accudepradjustadd", precision = 20, scale = 4) |
| | | private Double accudepradjustadd; |
| | | |
| | | @PropertyDef(label = "æ¬æç´¯è®¡ææ§è°å") |
| | | @Column(name = "accuDeprAdjustDec", precision = 20, scale = 4) |
| | | private Double accuDeprAdjustDec; |
| | | @Column(name = "accudepradjustdec", precision = 20, scale = 4) |
| | | private Double accudepradjustdec; |
| | | |
| | | @PropertyDef(label = "æ¬å¹´ç´¯è®¡æ°éå¢å ") |
| | | @Column(name = "yQtyIncrease", precision = 20, scale = 4) |
| | | private Double yQtyIncrease; |
| | | @Column(name = "yqtyincrease", precision = 20, scale = 4) |
| | | private Double yqtyIncrease; |
| | | |
| | | @PropertyDef(label = "æ¬å¹´ç´¯è®¡æ°éåå°") |
| | | @Column(name = "yQtyDecrease", precision = 20, scale = 4) |
| | | private Double yQtyDecrease; |
| | | @Column(name = "yqtydecrease", precision = 20, scale = 4) |
| | | private Double yqtydecrease; |
| | | |
| | | @PropertyDef(label = "æ¬å¹´åå¼ç´¯è®¡å¢å ") |
| | | @Column(name = "yValueIncrease", precision = 20, scale = 4) |
| | | private Double yValueIncrease; |
| | | @Column(name = "yvalueincrease", precision = 20, scale = 4) |
| | | private Double yvalueincrease; |
| | | |
| | | @PropertyDef(label = "æ¬å¹´åå¼ç´¯è®¡åå°") |
| | | @Column(name = "yValueDecrease", precision = 20, scale = 4) |
| | | private Double yValueDecrease; |
| | | @Column(name = "yvaluedecrease", precision = 20, scale = 4) |
| | | private Double yvaluedecrease; |
| | | |
| | | @PropertyDef(label = "æ¬å¹´ç´¯è®¡ææ§è°å¢") |
| | | @Column(name = "yAccuDeprIncrease", precision = 20, scale = 4) |
| | | private Double yAccuDeprIncrease; |
| | | @Column(name = "yaccudeprincrease", precision = 20, scale = 4) |
| | | private Double yaccudeprincrease; |
| | | |
| | | @PropertyDef(label = "æ¬å¹´ç´¯è®¡ææ§è°å") |
| | | @Column(name = "YAccuDeprDecrease", precision = 20, scale = 4) |
| | | private Double YAccuDeprDecrease; |
| | | @Column(name = "yaccudeprdecrease", precision = 20, scale = 4) |
| | | private Double yaccudeprdecrease; |
| | | |
| | | @PropertyDef(label = "ç»ä¸åºåºç¼ç ") |
| | | @Column(name = "tykqbm", length = 22) |
| | | private String tykqbm; |
| | | |
| | | @PropertyDef(label = "æä½æ å¿") |
| | | @Column(name = "czbz", length = 1) |
¶Ô±ÈÐÂÎļþ |
| | |
| | | <?xml version="1.0" encoding="UTF-8"?> |
| | | <ViewConfig> |
| | | <Arguments/> |
| | | <Context/> |
| | | <Model> |
| | | <DataType name="dtMain"> |
| | | <Property name="creationType">com.fzzy.api.entity.Api1504</Property> |
| | | <PropertyDef name="nacctid"> |
| | | <Property></Property> |
| | | <Property name="label">è´¦å¥å·</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="cncctname"> |
| | | <Property></Property> |
| | | <Property name="label">è´¦å¥åç§°</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="ccurrency"> |
| | | <Property></Property> |
| | | <Property name="label">æ¬ä½å¸</Property> |
| | | <Property name="defaultValue">RMB</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="cacctchief"> |
| | | <Property></Property> |
| | | <Property name="label">ä¼è®¡ä¸»ç®¡</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="cperiodstart"> |
| | | <Property></Property> |
| | | <Property name="label">å¯ç¨æé´</Property> |
| | | <Property name="dataType">Date</Property> |
| | | <Property name="displayFormat">Ym</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="cyearbmd"> |
| | | <Property></Property> |
| | | <Property name="label">å¯ç¨æ¥æ</Property> |
| | | <Property name="dataType">Date</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="nacctperiodnum"> |
| | | <Property name="dataType">Integer</Property> |
| | | <Property name="label">æé´æ°</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="caccclasscode"> |
| | | <Property></Property> |
| | | <Property name="label">ä¼è®¡å¶åº¦ä»£ç </Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="naccgrade"> |
| | | <Property name="dataType">Integer</Property> |
| | | <Property name="label">ç§ç®çº§æ¬¡</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="cacccodestr"> |
| | | <Property></Property> |
| | | <Property name="label">ç§ç®ç¼ç è§å</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="ccropname"> |
| | | <Property></Property> |
| | | <Property name="label">åä½åç§°</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="corgcode"> |
| | | <Property></Property> |
| | | <Property name="label">åä½ä»£ç </Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="tydwbm"> |
| | | <Property></Property> |
| | | <Property name="label">ç»ä¸åä½ç¼ç </Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="tykqbm"> |
| | | <Property></Property> |
| | | <Property name="label">ç»ä¸åºåºç¼ç </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="syncTime"> |
| | | <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> |
| | | <PropertyDef name="zhgxsj"> |
| | | <Property name="dataType">DateTime</Property> |
| | | <Property name="label">æåæ´æ°æ¶é´</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">api1504PR#listAll</Property> |
| | | </DataSet> |
| | | <ToolBar> |
| | | <ToolBarLabel> |
| | | <Property name="text">å·¥å
·æ ï¼</Property> |
| | | <Property name="style"> |
| | | <Property name="font-weight">bold</Property> |
| | | </Property> |
| | | </ToolBarLabel> |
| | | <ToolBarButton> |
| | | <ClientEvent name="onClick">view.get("#dsMain").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> |
| | | <ClientEvent name="onClick">//æ¾ç¤ºè®°å½
 |
| | | view.get("#iFrame").reload();
 |
| | | view.get("#dialogLog").show();</ClientEvent> |
| | | <Property name="caption">ä¸ä¼ è®°å½</Property> |
| | | <Property name="iconClass">fa fa-bars</Property> |
| | | <Property name="exClassName">toolbar-button</Property> |
| | | </ToolBarButton> |
| | | </ToolBar> |
| | | <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="kqdm"> |
| | | <Property name="property">kqdm</Property> |
| | | <Property name="align">center</Property> |
| | | </DataColumn> |
| | | <DataColumn name="nacctid"> |
| | | <Property name="property">nacctid</Property> |
| | | <Property name="align">center</Property> |
| | | </DataColumn> |
| | | <DataColumn name="cncctname"> |
| | | <Property name="property">cncctname</Property> |
| | | <Property name="align">center</Property> |
| | | </DataColumn> |
| | | <DataColumn name="cperiodstart"> |
| | | <Property name="property">cperiodstart</Property> |
| | | <Property name="align">center</Property> |
| | | </DataColumn> |
| | | <DataColumn name="cyearbmd"> |
| | | <Property name="property">cyearbmd</Property> |
| | | <Property name="align">center</Property> |
| | | </DataColumn> |
| | | <DataColumn name="cacccodestr"> |
| | | <Property name="property">cacccodestr</Property> |
| | | <Property name="align">center</Property> |
| | | </DataColumn> |
| | | <DataColumn name="ccropname"> |
| | | <Property name="property">ccropname</Property> |
| | | <Property name="align">center</Property> |
| | | </DataColumn> |
| | | <DataColumn name="corgcode"> |
| | | <Property name="property">corgcode</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> |
| | | <Dialog id="dialogMain"> |
| | | <Property name="caption">è´¦å¥ä¿¡æ¯</Property> |
| | | <Property name="iconClass">fa fa-sliders</Property> |
| | | <Property name="closeable">false</Property> |
| | | <Property name="width">80%</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> |
| | | <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">nacctid</Property> |
| | | <Property name="property">nacctid</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">cncctname</Property> |
| | | <Property name="property">cncctname</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">ccurrency</Property> |
| | | <Property name="property">ccurrency</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">cacctchief</Property> |
| | | <Property name="property">cacctchief</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">cperiodstart</Property> |
| | | <Property name="property">cperiodstart</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">cyearbmd</Property> |
| | | <Property name="property">cyearbmd</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">nacctperiodnum</Property> |
| | | <Property name="property">nacctperiodnum</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">caccclasscode</Property> |
| | | <Property name="property">caccclasscode</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">naccgrade</Property> |
| | | <Property name="property">naccgrade</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">cacccodestr</Property> |
| | | <Property name="property">cacccodestr</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">ccropname</Property> |
| | | <Property name="property">ccropname</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">corgcode</Property> |
| | | <Property name="property">corgcode</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">tydwbm</Property> |
| | | <Property name="property">tydwbm</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">tykqbm</Property> |
| | | <Property name="property">tykqbm</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">bizId</Property> |
| | | <Property name="property">bizId</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">kqdm</Property> |
| | | <Property name="property">kqdm</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">syncTime</Property> |
| | | <Property name="property">syncTime</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | </AutoForm> |
| | | </Children> |
| | | <Tools/> |
| | | </Dialog> |
| | | <UpdateAction id="updateSave"> |
| | | <Property name="dataResolver">api1504PR#updateSave</Property> |
| | | <UpdateItem> |
| | | <Property name="dataPath">[#current]</Property> |
| | | <Property name="dataSet">dsMain</Property> |
| | | </UpdateItem> |
| | | </UpdateAction> |
| | | <AjaxAction id="ajaxPush"> |
| | | <Property name="service">api1504PR#pushData</Property> |
| | | <Property name="confirmMessage">ç¡®å®è¦ä¸æ¥ä¹ï¼</Property> |
| | | </AjaxAction> |
| | | <AjaxAction id="ajaxDel"> |
| | | <Property name="service">api1504PR#delData</Property> |
| | | <Property name="confirmMessage">å½åæ°æ®å é¤åæ æ³æ¢å¤ï¼è¯·ç¡®è®¤è¦å é¤ä¹ï¼</Property> |
| | | </AjaxAction> |
| | | <AjaxAction id="ajaxDelUpdate"> |
| | | <Property name="service">api1504PR#delUpdate</Property> |
| | | <Property name="confirmMessage">ç¡®å®è¦å°æ°æ®æ 记为å é¤ä¹ï¼</Property> |
| | | </AjaxAction> |
| | | <Dialog id="dialogLog"> |
| | | <Property name="width">90%</Property> |
| | | <Property name="height">90%</Property> |
| | | <Property name="caption">ä¸ä¼ è®°å½</Property> |
| | | <Property name="iconClass">fa fa-sliders</Property> |
| | | <Buttons> |
| | | <Button> |
| | | <ClientEvent name="onClick">self.get("parent").hide();</ClientEvent> |
| | | <Property name="caption">å
³é</Property> |
| | | <Property name="iconClass">fa fa-times</Property> |
| | | <Property name="exClassName">toolbar-button-warn</Property> |
| | | </Button> |
| | | </Buttons> |
| | | <Children> |
| | | <Container> |
| | | <IFrame id="iFrame"> |
| | | <Property name="path">com.fzzy.api.view.ApiLog.d</Property> |
| | | <Property name="userData"> |
| | | <Entity> |
| | | <Property name="deptId">deptId</Property> |
| | | </Entity> |
| | | </Property> |
| | | </IFrame> |
| | | </Container> |
| | | </Children> |
| | | <Tools/> |
| | | </Dialog> |
| | | </View> |
| | | </ViewConfig> |
¶Ô±ÈÐÂÎļþ |
| | |
| | | <?xml version="1.0" encoding="UTF-8"?> |
| | | <ViewConfig> |
| | | <Arguments/> |
| | | <Context/> |
| | | <Model> |
| | | <DataType name="dtMain"> |
| | | <Property name="creationType">com.fzzy.api.entity.Api1505</Property> |
| | | <PropertyDef name="bizId"> |
| | | <Property></Property> |
| | | <Property name="label">ä¸å¡id</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="kqdm"> |
| | | <Property></Property> |
| | | <Property name="label">åºåºä»£ç </Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="syncTime"> |
| | | <Property name="dataType">Date</Property> |
| | | <Property name="label">忥æ¶é´</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="id"> |
| | | <Property></Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="nacctid"> |
| | | <Property></Property> |
| | | <Property name="label">è´¦å¥å·</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="cyear"> |
| | | <Property name="dataType">Integer</Property> |
| | | <Property name="label">年度</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="ccode"> |
| | | <Property></Property> |
| | | <Property name="label">ç§ç®ç¼ç </Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="cname"> |
| | | <Property></Property> |
| | | <Property name="label">ç§ç®åç§°</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="callname"> |
| | | <Property></Property> |
| | | <Property name="label">ç§ç®å
¨ç§°</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="nclass"> |
| | | <Property></Property> |
| | | <Property name="label">ç§ç®ç±»å«</Property> |
| | | <Property name="mapping"> |
| | | <Property name="keyProperty">key</Property> |
| | | <Property name="valueProperty">value</Property> |
| | | <Property name="mapValues"> |
| | | <Collection> |
| | | <Entity> |
| | | <Property name="key">1</Property> |
| | | <Property name="value">1:èµäº§ç±»</Property> |
| | | </Entity> |
| | | <Entity> |
| | | <Property name="key">2</Property> |
| | | <Property name="value">2:è´åºç±»</Property> |
| | | </Entity> |
| | | <Entity> |
| | | <Property name="key">3</Property> |
| | | <Property name="value">3:å
±åç±»</Property> |
| | | </Entity> |
| | | <Entity> |
| | | <Property name="key">4</Property> |
| | | <Property name="value">4:ææè
æçç±»</Property> |
| | | </Entity> |
| | | <Entity> |
| | | <Property name="key">5</Property> |
| | | <Property name="value">5:ææ¬è´¹ç¨ç±»</Property> |
| | | </Entity> |
| | | <Entity> |
| | | <Property name="key">6</Property> |
| | | <Property name="value">6:æçç±»</Property> |
| | | </Entity> |
| | | </Collection> |
| | | </Property> |
| | | </Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="cdc"> |
| | | <Property name="dataType">Integer</Property> |
| | | <Property name="label">ä½é¢æ¹å</Property> |
| | | <Property name="mapping"> |
| | | <Property name="keyProperty">key</Property> |
| | | <Property name="valueProperty">value</Property> |
| | | <Property name="mapValues"> |
| | | <Collection> |
| | | <Entity> |
| | | <Property name="key">-1</Property> |
| | | <Property name="value">(-1)-è´·æ¹</Property> |
| | | </Entity> |
| | | <Entity> |
| | | <Property name="key">1</Property> |
| | | <Property name="value">1-åæ¹</Property> |
| | | </Entity> |
| | | </Collection> |
| | | </Property> |
| | | </Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="bl"> |
| | | <Property name="dataType">Integer</Property> |
| | | <Property name="label">æ«çº§ç§ç®</Property> |
| | | <Property name="mapping"> |
| | | <Property name="keyProperty">key</Property> |
| | | <Property name="valueProperty">value</Property> |
| | | <Property name="mapValues"> |
| | | <Collection> |
| | | <Entity> |
| | | <Property name="key">0</Property> |
| | | <Property name="value">0:å¦</Property> |
| | | </Entity> |
| | | <Entity> |
| | | <Property name="key">1</Property> |
| | | <Property name="value">1:æ¯</Property> |
| | | </Entity> |
| | | </Collection> |
| | | </Property> |
| | | </Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="ngrade"> |
| | | <Property name="dataType">Integer</Property> |
| | | <Property name="label">ç§ç®çº§æ¬¡</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="bq"> |
| | | <Property name="dataType">Integer</Property> |
| | | <Property name="label">æ°éç§ç®</Property> |
| | | <Property name="mapping"> |
| | | <Property name="mapValues">[Entity]</Property> |
| | | <Property name="keyProperty">key</Property> |
| | | <Property name="valueProperty">value</Property> |
| | | </Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="cqunit"> |
| | | <Property name="dataType">Integer</Property> |
| | | <Property name="label">æ°éåä½</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="bcash"> |
| | | <Property name="dataType">Integer</Property> |
| | | <Property name="label">ç°éç±»ç§ç®</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="bbank"> |
| | | <Property name="dataType">Integer</Property> |
| | | <Property name="label">é¶è¡ç±»ç§ç®</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="bxjll"> |
| | | <Property name="dataType">Integer</Property> |
| | | <Property name="label">ç°éæµéç±»ç§ç®</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="bf"> |
| | | <Property name="dataType">Integer</Property> |
| | | <Property name="label">å»ç»</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="tykqbm"> |
| | | <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="dataType">DateTime</Property> |
| | | <Property name="label">æåæ´æ°æ¶é´</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">api1505PR#listAll</Property> |
| | | </DataSet> |
| | | <ToolBar> |
| | | <ToolBarLabel> |
| | | <Property name="text">å·¥å
·æ ï¼</Property> |
| | | <Property name="style"> |
| | | <Property name="font-weight">bold</Property> |
| | | </Property> |
| | | </ToolBarLabel> |
| | | <ToolBarButton> |
| | | <ClientEvent name="onClick">view.get("#dsMain").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> |
| | | <ClientEvent name="onClick">//æ¾ç¤ºè®°å½
 |
| | | view.get("#iFrame").reload();
 |
| | | view.get("#dialogLog").show();</ClientEvent> |
| | | <Property name="caption">ä¸ä¼ è®°å½</Property> |
| | | <Property name="iconClass">fa fa-bars</Property> |
| | | <Property name="exClassName">toolbar-button</Property> |
| | | </ToolBarButton> |
| | | </ToolBar> |
| | | <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="kqdm"> |
| | | <Property name="property">kqdm</Property> |
| | | <Property name="align">center</Property> |
| | | </DataColumn> |
| | | <DataColumn name="nacctid"> |
| | | <Property name="property">nacctid</Property> |
| | | <Property name="align">center</Property> |
| | | </DataColumn> |
| | | <DataColumn name="cyear"> |
| | | <Property name="property">cyear</Property> |
| | | <Property name="align">center</Property> |
| | | </DataColumn> |
| | | <DataColumn name="ccode"> |
| | | <Property name="property">ccode</Property> |
| | | <Property name="align">center</Property> |
| | | </DataColumn> |
| | | <DataColumn name="cname"> |
| | | <Property name="property">cname</Property> |
| | | <Property name="align">center</Property> |
| | | </DataColumn> |
| | | <DataColumn name="bq"> |
| | | <Property name="property">bq</Property> |
| | | <Property name="align">center</Property> |
| | | </DataColumn> |
| | | <DataColumn name="cqunit"> |
| | | <Property name="property">cqunit</Property> |
| | | <Property name="align">center</Property> |
| | | </DataColumn> |
| | | <DataColumn name="bcash"> |
| | | <Property name="property">bcash</Property> |
| | | <Property name="align">center</Property> |
| | | </DataColumn> |
| | | <DataColumn name="zhgxsj"> |
| | | <Property name="property">zhgxsj</Property> |
| | | <Property name="align">center</Property> |
| | | </DataColumn> |
| | | <DataColumn name="czbz"> |
| | | <Property name="property">czbz</Property> |
| | | <Property name="align">center</Property> |
| | | </DataColumn> |
| | | </DataGrid> |
| | | <Dialog id="dialogMain"> |
| | | <Property name="width">80%</Property> |
| | | <Property name="caption">婿¶¦ä¿¡æ¯</Property> |
| | | <Property name="iconClass">fa fa-sliders</Property> |
| | | <Property name="closeable">false</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> |
| | | <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">kqdm</Property> |
| | | <Property name="property">kqdm</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">nacctid</Property> |
| | | <Property name="property">nacctid</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">cyear</Property> |
| | | <Property name="property">cyear</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">ccode</Property> |
| | | <Property name="property">ccode</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">cname</Property> |
| | | <Property name="property">cname</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">callname</Property> |
| | | <Property name="property">callname</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">nclass</Property> |
| | | <Property name="property">nclass</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">cdc</Property> |
| | | <Property name="property">cdc</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">bl</Property> |
| | | <Property name="property">bl</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">ngrade</Property> |
| | | <Property name="property">ngrade</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">bq</Property> |
| | | <Property name="property">bq</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">cqunit</Property> |
| | | <Property name="property">cqunit</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">bcash</Property> |
| | | <Property name="property">bcash</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">bbank</Property> |
| | | <Property name="property">bbank</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">bxjll</Property> |
| | | <Property name="property">bxjll</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">bf</Property> |
| | | <Property name="property">bf</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">tykqbm</Property> |
| | | <Property name="property">tykqbm</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">zhgxsj</Property> |
| | | <Property name="property">zhgxsj</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">czbz</Property> |
| | | <Property name="property">czbz</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | </AutoForm> |
| | | </Children> |
| | | <Tools/> |
| | | </Dialog> |
| | | <UpdateAction id="updateSave"> |
| | | <Property name="dataResolver">api1505PR#updateSave</Property> |
| | | <UpdateItem> |
| | | <Property name="dataPath">[#current]</Property> |
| | | <Property name="dataSet">dsMain</Property> |
| | | </UpdateItem> |
| | | </UpdateAction> |
| | | <AjaxAction id="ajaxPush"> |
| | | <Property name="service">api1505PR#pushData</Property> |
| | | <Property name="confirmMessage">ç¡®å®è¦ä¸æ¥ä¹ï¼</Property> |
| | | </AjaxAction> |
| | | <AjaxAction id="ajaxDel"> |
| | | <Property name="service">api1505PR#delData</Property> |
| | | <Property name="confirmMessage">å½åæ°æ®å é¤åæ æ³æ¢å¤ï¼è¯·ç¡®è®¤è¦å é¤ä¹ï¼</Property> |
| | | </AjaxAction> |
| | | <AjaxAction id="ajaxDelUpdate"> |
| | | <Property name="service">api1505PR#delUpdate</Property> |
| | | <Property name="confirmMessage">ç¡®å®è¦å°æ°æ®æ 记为å é¤ä¹ï¼</Property> |
| | | </AjaxAction> |
| | | <Dialog id="dialogLog"> |
| | | <Property name="width">90%</Property> |
| | | <Property name="height">90%</Property> |
| | | <Property name="caption">ä¸ä¼ è®°å½</Property> |
| | | <Property name="iconClass">fa fa-sliders</Property> |
| | | <Buttons> |
| | | <Button> |
| | | <ClientEvent name="onClick">self.get("parent").hide();</ClientEvent> |
| | | <Property name="caption">å
³é</Property> |
| | | <Property name="iconClass">fa fa-times</Property> |
| | | <Property name="exClassName">toolbar-button-warn</Property> |
| | | </Button> |
| | | </Buttons> |
| | | <Children> |
| | | <Container> |
| | | <IFrame id="iFrame"> |
| | | <Property name="path">com.fzzy.api.view.ApiLog.d</Property> |
| | | <Property name="userData"> |
| | | <Entity> |
| | | <Property name="deptId">deptId</Property> |
| | | </Entity> |
| | | </Property> |
| | | </IFrame> |
| | | </Container> |
| | | </Children> |
| | | <Tools/> |
| | | </Dialog> |
| | | </View> |
| | | </ViewConfig> |
¶Ô±ÈÐÂÎļþ |
| | |
| | | <?xml version="1.0" encoding="UTF-8"?> |
| | | <ViewConfig> |
| | | <Arguments/> |
| | | <Context/> |
| | | <Model> |
| | | <DataType name="dtMain"> |
| | | <Property name="creationType">com.fzzy.api.entity.Api1506</Property> |
| | | <PropertyDef name="bizId"> |
| | | <Property></Property> |
| | | <Property name="label">ä¸å¡id</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="kqdm"> |
| | | <Property></Property> |
| | | <Property name="label">åºåºä»£ç </Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="syncTime"> |
| | | <Property name="dataType">Date</Property> |
| | | <Property name="label">忥æ¶é´</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="id"> |
| | | <Property></Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="nacctid"> |
| | | <Property></Property> |
| | | <Property name="label">è´¦å¥å·</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="cyear"> |
| | | <Property name="dataType">Integer</Property> |
| | | <Property name="label">æé´</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="nno"> |
| | | <Property name="dataType">Integer</Property> |
| | | <Property name="label">年度</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="ccode"> |
| | | <Property></Property> |
| | | <Property name="label">ç§ç®ç¼ç </Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="bm"> |
| | | <Property name="dataType">Double</Property> |
| | | <Property name="label">æåæ¬ä½å¸ä½é¢</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="em"> |
| | | <Property name="dataType">Double</Property> |
| | | <Property name="label">ææ«æ¬ä½å¸ä½é¢</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="bqty"> |
| | | <Property name="dataType">Double</Property> |
| | | <Property name="label">æåæ°é</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="eqty"> |
| | | <Property name="dataType">Double</Property> |
| | | <Property name="label">ææ«æ°é</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="cdc"> |
| | | <Property name="dataType">Integer</Property> |
| | | <Property name="label">ä½é¢æ¹å</Property> |
| | | <Property name="mapping"> |
| | | <Property name="keyProperty">key</Property> |
| | | <Property name="valueProperty">value</Property> |
| | | <Property name="mapValues"> |
| | | <Collection> |
| | | <Entity> |
| | | <Property name="key">-1</Property> |
| | | <Property name="value">(-1)-è´·æ¹</Property> |
| | | </Entity> |
| | | <Entity> |
| | | <Property name="key">1</Property> |
| | | <Property name="value">1-åæ¹</Property> |
| | | </Entity> |
| | | </Collection> |
| | | </Property> |
| | | </Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="dm"> |
| | | <Property name="dataType">Double</Property> |
| | | <Property name="label">åæ¹æ¬ä½å¸åçé¢</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="cm"> |
| | | <Property name="dataType">Double</Property> |
| | | <Property name="label">è´·æ¹æ¬ä½å¸åçé¢</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="dq"> |
| | | <Property name="dataType">Double</Property> |
| | | <Property name="label">åæ¹åçæ°é</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="cq"> |
| | | <Property name="dataType">Double</Property> |
| | | <Property name="label">è´·æ¹åçæ°é</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="bfm"> |
| | | <Property name="dataType">Double</Property> |
| | | <Property name="label">æåå¤å¸ä½é¢</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="efm"> |
| | | <Property name="dataType">Double</Property> |
| | | <Property name="label">ææ«å¤å¸ä½é¢</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="dfm"> |
| | | <Property name="dataType">Double</Property> |
| | | <Property name="label">åæ¹å¤å¸åçé¢</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="cfm"> |
| | | <Property name="dataType">Double</Property> |
| | | <Property name="label">è´·æ¹å¤å¸åçé¢</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="tykqbm"> |
| | | <Property></Property> |
| | | <Property name="label">ç»ä¸åºåºç¼ç </Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="zhgxsj"> |
| | | <Property name="dataType">DateTime</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">api1506PR#listAll</Property> |
| | | </DataSet> |
| | | <ToolBar> |
| | | <ToolBarLabel> |
| | | <Property name="text">å·¥å
·æ ï¼</Property> |
| | | <Property name="style"> |
| | | <Property name="font-weight">bold</Property> |
| | | </Property> |
| | | </ToolBarLabel> |
| | | <ToolBarButton> |
| | | <ClientEvent name="onClick">view.get("#dsMain").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> |
| | | <ClientEvent name="onClick">//æ¾ç¤ºè®°å½
 |
| | | view.get("#iFrame").reload();
 |
| | | view.get("#dialogLog").show();</ClientEvent> |
| | | <Property name="caption">ä¸ä¼ è®°å½</Property> |
| | | <Property name="iconClass">fa fa-bars</Property> |
| | | <Property name="exClassName">toolbar-button</Property> |
| | | </ToolBarButton> |
| | | </ToolBar> |
| | | <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="kqdm"> |
| | | <Property name="property">kqdm</Property> |
| | | <Property name="align">center</Property> |
| | | </DataColumn> |
| | | <DataColumn name="nacctid"> |
| | | <Property name="property">nacctid</Property> |
| | | <Property name="align">center</Property> |
| | | </DataColumn> |
| | | <DataColumn name="cyear"> |
| | | <Property name="property">cyear</Property> |
| | | <Property name="align">center</Property> |
| | | </DataColumn> |
| | | <DataColumn name="nno"> |
| | | <Property name="property">nno</Property> |
| | | <Property name="align">center</Property> |
| | | </DataColumn> |
| | | <DataColumn name="eqty"> |
| | | <Property name="property">eqty</Property> |
| | | <Property name="align">center</Property> |
| | | </DataColumn> |
| | | <DataColumn name="cfm"> |
| | | <Property name="property">cfm</Property> |
| | | <Property name="align">center</Property> |
| | | </DataColumn> |
| | | <DataColumn name="zhgxsj"> |
| | | <Property name="property">zhgxsj</Property> |
| | | <Property name="align">center</Property> |
| | | </DataColumn> |
| | | <DataColumn name="czbz"> |
| | | <Property name="property">czbz</Property> |
| | | <Property name="align">center</Property> |
| | | </DataColumn> |
| | | </DataGrid> |
| | | <Dialog id="dialogMain"> |
| | | <Property name="width">80%</Property> |
| | | <Property name="caption">婿¶¦ä¿¡æ¯</Property> |
| | | <Property name="iconClass">fa fa-sliders</Property> |
| | | <Property name="closeable">false</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> |
| | | <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">kqdm</Property> |
| | | <Property name="property">kqdm</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">nacctid</Property> |
| | | <Property name="property">nacctid</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">cyear</Property> |
| | | <Property name="property">cyear</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">nno</Property> |
| | | <Property name="property">nno</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">ccode</Property> |
| | | <Property name="property">ccode</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">bm</Property> |
| | | <Property name="property">bm</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">em</Property> |
| | | <Property name="property">em</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">bqty</Property> |
| | | <Property name="property">bqty</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">eqty</Property> |
| | | <Property name="property">eqty</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">cdc</Property> |
| | | <Property name="property">cdc</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">dm</Property> |
| | | <Property name="property">dm</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">cm</Property> |
| | | <Property name="property">cm</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">dq</Property> |
| | | <Property name="property">dq</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">cq</Property> |
| | | <Property name="property">cq</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">bfm</Property> |
| | | <Property name="property">bfm</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">efm</Property> |
| | | <Property name="property">efm</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">dfm</Property> |
| | | <Property name="property">dfm</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">cfm</Property> |
| | | <Property name="property">cfm</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">tykqbm</Property> |
| | | <Property name="property">tykqbm</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">zhgxsj</Property> |
| | | <Property name="property">zhgxsj</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">czbz</Property> |
| | | <Property name="property">czbz</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | </AutoForm> |
| | | </Children> |
| | | <Tools/> |
| | | </Dialog> |
| | | <UpdateAction id="updateSave"> |
| | | <Property name="dataResolver">api1506PR#updateSave</Property> |
| | | <UpdateItem> |
| | | <Property name="dataPath">[#current]</Property> |
| | | <Property name="dataSet">dsMain</Property> |
| | | </UpdateItem> |
| | | </UpdateAction> |
| | | <AjaxAction id="ajaxPush"> |
| | | <Property name="service">api1506PR#pushData</Property> |
| | | <Property name="confirmMessage">ç¡®å®è¦ä¸æ¥ä¹ï¼</Property> |
| | | </AjaxAction> |
| | | <AjaxAction id="ajaxDel"> |
| | | <Property name="service">api1506PR#delData</Property> |
| | | <Property name="confirmMessage">å½åæ°æ®å é¤åæ æ³æ¢å¤ï¼è¯·ç¡®è®¤è¦å é¤ä¹ï¼</Property> |
| | | </AjaxAction> |
| | | <AjaxAction id="ajaxDelUpdate"> |
| | | <Property name="service">api1506PR#delUpdate</Property> |
| | | <Property name="confirmMessage">ç¡®å®è¦å°æ°æ®æ 记为å é¤ä¹ï¼</Property> |
| | | </AjaxAction> |
| | | <Dialog id="dialogLog"> |
| | | <Property name="width">90%</Property> |
| | | <Property name="height">90%</Property> |
| | | <Property name="caption">ä¸ä¼ è®°å½</Property> |
| | | <Property name="iconClass">fa fa-sliders</Property> |
| | | <Buttons> |
| | | <Button> |
| | | <ClientEvent name="onClick">self.get("parent").hide();</ClientEvent> |
| | | <Property name="caption">å
³é</Property> |
| | | <Property name="iconClass">fa fa-times</Property> |
| | | <Property name="exClassName">toolbar-button-warn</Property> |
| | | </Button> |
| | | </Buttons> |
| | | <Children> |
| | | <Container> |
| | | <IFrame id="iFrame"> |
| | | <Property name="path">com.fzzy.api.view.ApiLog.d</Property> |
| | | <Property name="userData"> |
| | | <Entity> |
| | | <Property name="deptId">deptId</Property> |
| | | </Entity> |
| | | </Property> |
| | | </IFrame> |
| | | </Container> |
| | | </Children> |
| | | <Tools/> |
| | | </Dialog> |
| | | </View> |
| | | </ViewConfig> |
¶Ô±ÈÐÂÎļþ |
| | |
| | | <?xml version="1.0" encoding="UTF-8"?> |
| | | <ViewConfig> |
| | | <Arguments/> |
| | | <Context/> |
| | | <Model> |
| | | <DataType name="dtMain"> |
| | | <Property name="creationType">com.fzzy.api.entity.Api1507</Property> |
| | | <PropertyDef name="bizId"> |
| | | <Property></Property> |
| | | <Property name="label">ä¸å¡id</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="kqdm"> |
| | | <Property></Property> |
| | | <Property name="label">åºåºä»£ç </Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="syncTime"> |
| | | <Property name="dataType">Date</Property> |
| | | <Property name="label">忥æ¶é´</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="id"> |
| | | <Property></Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="nacctid"> |
| | | <Property></Property> |
| | | <Property name="label">è´¦å¥å·</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="cvkind"> |
| | | <Property></Property> |
| | | <Property name="label">åè¯ç±»å</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="cmon"> |
| | | <Property name="dataType">Integer</Property> |
| | | <Property name="label">æé´</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="cyear"> |
| | | <Property name="dataType">Integer</Property> |
| | | <Property name="label">年度</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="nvno"> |
| | | <Property name="dataType">Integer</Property> |
| | | <Property name="label">åè¯å·</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="nno"> |
| | | <Property name="dataType">Integer</Property> |
| | | <Property name="label">åå½åºå·</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="digest"> |
| | | <Property></Property> |
| | | <Property name="label">æè¦</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="ccode"> |
| | | <Property></Property> |
| | | <Property name="label">ç§ç®ç¼ç </Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="ccsmalldatetime"> |
| | | <Property></Property> |
| | | <Property name="label">åè¯æ¥æ</Property> |
| | | <Property name="dataType">Date</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="cmaker"> |
| | | <Property></Property> |
| | | <Property name="label">å¶å人</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="cdc"> |
| | | <Property name="dataType">Integer</Property> |
| | | <Property name="label">æ¹å</Property> |
| | | <Property name="mapping"> |
| | | <Property name="keyProperty">key</Property> |
| | | <Property name="valueProperty">value</Property> |
| | | <Property name="mapValues"> |
| | | <Collection> |
| | | <Entity> |
| | | <Property name="key">-1</Property> |
| | | <Property name="value">(-1)-è´·æ¹</Property> |
| | | </Entity> |
| | | <Entity> |
| | | <Property name="key">1</Property> |
| | | <Property name="value">1-åæ¹</Property> |
| | | </Entity> |
| | | </Collection> |
| | | </Property> |
| | | </Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="ccker"> |
| | | <Property></Property> |
| | | <Property name="label">å®¡æ ¸äºº</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="cpter"> |
| | | <Property></Property> |
| | | <Property name="label">记账人</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="nanum"> |
| | | <Property name="dataType">Integer</Property> |
| | | <Property name="label">éä»¶å¼ æ°</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="nm"> |
| | | <Property name="dataType">Double</Property> |
| | | <Property name="label">éé¢</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="nqty"> |
| | | <Property name="dataType">Double</Property> |
| | | <Property name="label">æ°é</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="nprice"> |
| | | <Property name="dataType">Double</Property> |
| | | <Property name="label">åä»·</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="ccashier"> |
| | | <Property></Property> |
| | | <Property name="label">åºçº³</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="rate"> |
| | | <Property name="dataType">Double</Property> |
| | | <Property name="label">æ±ç</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="nfm"> |
| | | <Property name="dataType">Double</Property> |
| | | <Property name="label">å¤å¸éé¢</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="meterunitid"> |
| | | <Property></Property> |
| | | <Property name="label">计éåä½</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="tykqbm"> |
| | | <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="dataType">DateTime</Property> |
| | | <Property name="label">æåæ´æ°æ¶é´</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="bpt"> |
| | | <Property name="dataType">Integer</Property> |
| | | <Property name="label">è®°è´¦æ å¿</Property> |
| | | <Property name="mapping"> |
| | | <Property name="keyProperty">key</Property> |
| | | <Property name="valueProperty">value</Property> |
| | | <Property name="mapValues"> |
| | | <Collection> |
| | | <Entity> |
| | | <Property name="key">0</Property> |
| | | <Property name="value">0:å¦</Property> |
| | | </Entity> |
| | | <Entity> |
| | | <Property name="key">1</Property> |
| | | <Property name="value">1:æ¯</Property> |
| | | </Entity> |
| | | </Collection> |
| | | </Property> |
| | | </Property> |
| | | </PropertyDef> |
| | | </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">api1507PR#listAll</Property> |
| | | </DataSet> |
| | | <ToolBar> |
| | | <ToolBarLabel> |
| | | <Property name="text">å·¥å
·æ ï¼</Property> |
| | | <Property name="style"> |
| | | <Property name="font-weight">bold</Property> |
| | | </Property> |
| | | </ToolBarLabel> |
| | | <ToolBarButton> |
| | | <ClientEvent name="onClick">view.get("#dsMain").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> |
| | | <ClientEvent name="onClick">//æ¾ç¤ºè®°å½
 |
| | | view.get("#iFrame").reload();
 |
| | | view.get("#dialogLog").show();</ClientEvent> |
| | | <Property name="caption">ä¸ä¼ è®°å½</Property> |
| | | <Property name="iconClass">fa fa-bars</Property> |
| | | <Property name="exClassName">toolbar-button</Property> |
| | | </ToolBarButton> |
| | | </ToolBar> |
| | | <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="kqdm"> |
| | | <Property name="property">kqdm</Property> |
| | | <Property name="align">center</Property> |
| | | </DataColumn> |
| | | <DataColumn name="nacctid"> |
| | | <Property name="property">nacctid</Property> |
| | | <Property name="align">center</Property> |
| | | </DataColumn> |
| | | <DataColumn name="cvkind"> |
| | | <Property name="property">cvkind</Property> |
| | | <Property name="align">center</Property> |
| | | </DataColumn> |
| | | <DataColumn name="cmon"> |
| | | <Property name="property">cmon</Property> |
| | | <Property name="align">center</Property> |
| | | </DataColumn> |
| | | <DataColumn name="cyear"> |
| | | <Property name="property">cyear</Property> |
| | | <Property name="align">center</Property> |
| | | </DataColumn> |
| | | <DataColumn name="ccsmalldatetime"> |
| | | <Property name="property">ccsmalldatetime</Property> |
| | | <Property name="align">center</Property> |
| | | </DataColumn> |
| | | <DataColumn name="cmaker"> |
| | | <Property name="property">cmaker</Property> |
| | | <Property name="align">center</Property> |
| | | </DataColumn> |
| | | <DataColumn name="cdc"> |
| | | <Property name="property">cdc</Property> |
| | | <Property name="align">center</Property> |
| | | </DataColumn> |
| | | <DataColumn name="meterunitid"> |
| | | <Property name="property">meterunitid</Property> |
| | | <Property name="align">center</Property> |
| | | </DataColumn> |
| | | <DataColumn name="zhgxsj"> |
| | | <Property name="property">zhgxsj</Property> |
| | | <Property name="align">center</Property> |
| | | </DataColumn> |
| | | <DataColumn name="czbz"> |
| | | <Property name="property">czbz</Property> |
| | | <Property name="align">center</Property> |
| | | </DataColumn> |
| | | </DataGrid> |
| | | <Dialog id="dialogMain"> |
| | | <Property name="width">80%</Property> |
| | | <Property name="caption">婿¶¦ä¿¡æ¯</Property> |
| | | <Property name="iconClass">fa fa-sliders</Property> |
| | | <Property name="closeable">false</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> |
| | | <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">kqdm</Property> |
| | | <Property name="property">kqdm</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">nacctid</Property> |
| | | <Property name="property">nacctid</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">cvkind</Property> |
| | | <Property name="property">cvkind</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">cmon</Property> |
| | | <Property name="property">cmon</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">cyear</Property> |
| | | <Property name="property">cyear</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">nvno</Property> |
| | | <Property name="property">nvno</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">nno</Property> |
| | | <Property name="property">nno</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">digest</Property> |
| | | <Property name="property">digest</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">ccode</Property> |
| | | <Property name="property">ccode</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">ccsmalldatetime</Property> |
| | | <Property name="property">ccsmalldatetime</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">cmaker</Property> |
| | | <Property name="property">cmaker</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">cdc</Property> |
| | | <Property name="property">cdc</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">ccker</Property> |
| | | <Property name="property">ccker</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">cpter</Property> |
| | | <Property name="property">cpter</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">bpt</Property> |
| | | <Property name="property">bpt</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">nanum</Property> |
| | | <Property name="property">nanum</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">nm</Property> |
| | | <Property name="property">nm</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">nqty</Property> |
| | | <Property name="property">nqty</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">nprice</Property> |
| | | <Property name="property">nprice</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">ccashier</Property> |
| | | <Property name="property">ccashier</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">rate</Property> |
| | | <Property name="property">rate</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">nfm</Property> |
| | | <Property name="property">nfm</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">meterunitid</Property> |
| | | <Property name="property">meterunitid</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">tykqbm</Property> |
| | | <Property name="property">tykqbm</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">zhgxsj</Property> |
| | | <Property name="property">zhgxsj</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">czbz</Property> |
| | | <Property name="property">czbz</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | </AutoForm> |
| | | </Children> |
| | | <Tools/> |
| | | </Dialog> |
| | | <UpdateAction id="updateSave"> |
| | | <Property name="dataResolver">api1507PR#updateSave</Property> |
| | | <UpdateItem> |
| | | <Property name="dataPath">[#current]</Property> |
| | | <Property name="dataSet">dsMain</Property> |
| | | </UpdateItem> |
| | | </UpdateAction> |
| | | <AjaxAction id="ajaxPush"> |
| | | <Property name="service">api1507PR#pushData</Property> |
| | | <Property name="confirmMessage">ç¡®å®è¦ä¸æ¥ä¹ï¼</Property> |
| | | </AjaxAction> |
| | | <AjaxAction id="ajaxDel"> |
| | | <Property name="service">api1507PR#delData</Property> |
| | | <Property name="confirmMessage">å½åæ°æ®å é¤åæ æ³æ¢å¤ï¼è¯·ç¡®è®¤è¦å é¤ä¹ï¼</Property> |
| | | </AjaxAction> |
| | | <AjaxAction id="ajaxDelUpdate"> |
| | | <Property name="service">api1507PR#delUpdate</Property> |
| | | <Property name="confirmMessage">ç¡®å®è¦å°æ°æ®æ 记为å é¤ä¹ï¼</Property> |
| | | </AjaxAction> |
| | | <Dialog id="dialogLog"> |
| | | <Property name="width">90%</Property> |
| | | <Property name="height">90%</Property> |
| | | <Property name="caption">ä¸ä¼ è®°å½</Property> |
| | | <Property name="iconClass">fa fa-sliders</Property> |
| | | <Buttons> |
| | | <Button> |
| | | <ClientEvent name="onClick">self.get("parent").hide();</ClientEvent> |
| | | <Property name="caption">å
³é</Property> |
| | | <Property name="iconClass">fa fa-times</Property> |
| | | <Property name="exClassName">toolbar-button-warn</Property> |
| | | </Button> |
| | | </Buttons> |
| | | <Children> |
| | | <Container> |
| | | <IFrame id="iFrame"> |
| | | <Property name="path">com.fzzy.api.view.ApiLog.d</Property> |
| | | <Property name="userData"> |
| | | <Entity> |
| | | <Property name="deptId">deptId</Property> |
| | | </Entity> |
| | | </Property> |
| | | </IFrame> |
| | | </Container> |
| | | </Children> |
| | | <Tools/> |
| | | </Dialog> |
| | | </View> |
| | | </ViewConfig> |
¶Ô±ÈÐÂÎļþ |
| | |
| | | <?xml version="1.0" encoding="UTF-8"?> |
| | | <ViewConfig> |
| | | <Arguments/> |
| | | <Context/> |
| | | <Model> |
| | | <DataType name="dtMain"> |
| | | <Property name="creationType">com.fzzy.api.entity.Api1508</Property> |
| | | <PropertyDef name="bizId"> |
| | | <Property></Property> |
| | | <Property name="label">ä¸å¡id</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="kqdm"> |
| | | <Property></Property> |
| | | <Property name="label">åºåºä»£ç </Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="syncTime"> |
| | | <Property name="dataType">Date</Property> |
| | | <Property name="label">忥æ¶é´</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="id"> |
| | | <Property></Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="nacctid"> |
| | | <Property></Property> |
| | | <Property name="label">è´¦å¥å·</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="cvkind"> |
| | | <Property></Property> |
| | | <Property name="label">åè¯ç±»å</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="cmon"> |
| | | <Property name="dataType">Integer</Property> |
| | | <Property name="label">æé´</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="cyear"> |
| | | <Property name="dataType">Integer</Property> |
| | | <Property name="label">年度</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="nvno"> |
| | | <Property name="dataType">Integer</Property> |
| | | <Property name="label">åè¯å·</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="ccode"> |
| | | <Property></Property> |
| | | <Property name="label">ç§ç®ç¼ç </Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="cdfcode"> |
| | | <Property></Property> |
| | | <Property name="label">对æ¹ç§ç®ç¼ç </Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="ccashcode"> |
| | | <Property></Property> |
| | | <Property name="label">ç°éæµé项ç®ä»£ç </Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="nrowno"> |
| | | <Property name="dataType">Integer</Property> |
| | | <Property name="label">åå½åºå·</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="nm"> |
| | | <Property name="dataType">Double</Property> |
| | | <Property name="label">éé¢</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="cdc"> |
| | | <Property name="dataType">Integer</Property> |
| | | <Property name="label">æ¹å</Property> |
| | | <Property name="mapping"> |
| | | <Property name="keyProperty">key</Property> |
| | | <Property name="valueProperty">value</Property> |
| | | <Property name="mapValues"> |
| | | <Collection> |
| | | <Entity> |
| | | <Property name="key">1</Property> |
| | | <Property name="value">æµå
¥</Property> |
| | | </Entity> |
| | | <Entity> |
| | | <Property name="key">-1</Property> |
| | | <Property name="value">æµåº</Property> |
| | | </Entity> |
| | | </Collection> |
| | | </Property> |
| | | </Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="tykqbm"> |
| | | <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="dataType">DateTime</Property> |
| | | <Property name="label">æåæ´æ°æ¶é´</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">api1508PR#listAll</Property> |
| | | </DataSet> |
| | | <ToolBar> |
| | | <ToolBarLabel> |
| | | <Property name="text">å·¥å
·æ ï¼</Property> |
| | | <Property name="style"> |
| | | <Property name="font-weight">bold</Property> |
| | | </Property> |
| | | </ToolBarLabel> |
| | | <ToolBarButton> |
| | | <ClientEvent name="onClick">view.get("#dsMain").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> |
| | | <ClientEvent name="onClick">//æ¾ç¤ºè®°å½
 |
| | | view.get("#iFrame").reload();
 |
| | | view.get("#dialogLog").show();</ClientEvent> |
| | | <Property name="caption">ä¸ä¼ è®°å½</Property> |
| | | <Property name="iconClass">fa fa-bars</Property> |
| | | <Property name="exClassName">toolbar-button</Property> |
| | | </ToolBarButton> |
| | | </ToolBar> |
| | | <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="kqdm"> |
| | | <Property name="property">kqdm</Property> |
| | | <Property name="align">center</Property> |
| | | </DataColumn> |
| | | <DataColumn name="nacctid"> |
| | | <Property name="property">nacctid</Property> |
| | | <Property name="align">center</Property> |
| | | </DataColumn> |
| | | <DataColumn name="cvkind"> |
| | | <Property name="property">cvkind</Property> |
| | | <Property name="align">center</Property> |
| | | </DataColumn> |
| | | <DataColumn name="cmon"> |
| | | <Property name="property">cmon</Property> |
| | | <Property name="align">center</Property> |
| | | </DataColumn> |
| | | <DataColumn name="cyear"> |
| | | <Property name="property">cyear</Property> |
| | | <Property name="align">center</Property> |
| | | </DataColumn> |
| | | <DataColumn name="nvno"> |
| | | <Property name="property">nvno</Property> |
| | | <Property name="align">center</Property> |
| | | </DataColumn> |
| | | <DataColumn name="nrowno"> |
| | | <Property name="property">nrowno</Property> |
| | | <Property name="align">center</Property> |
| | | </DataColumn> |
| | | <DataColumn name="nm"> |
| | | <Property name="property">nm</Property> |
| | | <Property name="align">center</Property> |
| | | </DataColumn> |
| | | <DataColumn name="cdc"> |
| | | <Property name="property">cdc</Property> |
| | | <Property name="align">center</Property> |
| | | </DataColumn> |
| | | <DataColumn name="zhgxsj"> |
| | | <Property name="property">zhgxsj</Property> |
| | | <Property name="align">center</Property> |
| | | </DataColumn> |
| | | <DataColumn name="czbz"> |
| | | <Property name="property">czbz</Property> |
| | | <Property name="align">center</Property> |
| | | </DataColumn> |
| | | </DataGrid> |
| | | <Dialog id="dialogMain"> |
| | | <Property name="width">80%</Property> |
| | | <Property name="caption">婿¶¦ä¿¡æ¯</Property> |
| | | <Property name="iconClass">fa fa-sliders</Property> |
| | | <Property name="closeable">false</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> |
| | | <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">kqdm</Property> |
| | | <Property name="property">kqdm</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">nacctid</Property> |
| | | <Property name="property">nacctid</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">cvkind</Property> |
| | | <Property name="property">cvkind</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">cmon</Property> |
| | | <Property name="property">cmon</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">cyear</Property> |
| | | <Property name="property">cyear</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">nvno</Property> |
| | | <Property name="property">nvno</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">ccode</Property> |
| | | <Property name="property">ccode</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">cdfcode</Property> |
| | | <Property name="property">cdfcode</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">ccashcode</Property> |
| | | <Property name="property">ccashcode</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">nrowno</Property> |
| | | <Property name="property">nrowno</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">nm</Property> |
| | | <Property name="property">nm</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">cdc</Property> |
| | | <Property name="property">cdc</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">tykqbm</Property> |
| | | <Property name="property">tykqbm</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">zhgxsj</Property> |
| | | <Property name="property">zhgxsj</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">czbz</Property> |
| | | <Property name="property">czbz</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | </AutoForm> |
| | | </Children> |
| | | <Tools/> |
| | | </Dialog> |
| | | <UpdateAction id="updateSave"> |
| | | <Property name="dataResolver">api1508PR#updateSave</Property> |
| | | <UpdateItem> |
| | | <Property name="dataPath">[#current]</Property> |
| | | <Property name="dataSet">dsMain</Property> |
| | | </UpdateItem> |
| | | </UpdateAction> |
| | | <AjaxAction id="ajaxPush"> |
| | | <Property name="service">api1508PR#pushData</Property> |
| | | <Property name="confirmMessage">ç¡®å®è¦ä¸æ¥ä¹ï¼</Property> |
| | | </AjaxAction> |
| | | <AjaxAction id="ajaxDel"> |
| | | <Property name="service">api1508PR#delData</Property> |
| | | <Property name="confirmMessage">å½åæ°æ®å é¤åæ æ³æ¢å¤ï¼è¯·ç¡®è®¤è¦å é¤ä¹ï¼</Property> |
| | | </AjaxAction> |
| | | <AjaxAction id="ajaxDelUpdate"> |
| | | <Property name="service">api1508PR#delUpdate</Property> |
| | | <Property name="confirmMessage">ç¡®å®è¦å°æ°æ®æ 记为å é¤ä¹ï¼</Property> |
| | | </AjaxAction> |
| | | <Dialog id="dialogLog"> |
| | | <Property name="width">90%</Property> |
| | | <Property name="height">90%</Property> |
| | | <Property name="caption">ä¸ä¼ è®°å½</Property> |
| | | <Property name="iconClass">fa fa-sliders</Property> |
| | | <Buttons> |
| | | <Button> |
| | | <ClientEvent name="onClick">self.get("parent").hide();</ClientEvent> |
| | | <Property name="caption">å
³é</Property> |
| | | <Property name="iconClass">fa fa-times</Property> |
| | | <Property name="exClassName">toolbar-button-warn</Property> |
| | | </Button> |
| | | </Buttons> |
| | | <Children> |
| | | <Container> |
| | | <IFrame id="iFrame"> |
| | | <Property name="path">com.fzzy.api.view.ApiLog.d</Property> |
| | | <Property name="userData"> |
| | | <Entity> |
| | | <Property name="deptId">deptId</Property> |
| | | </Entity> |
| | | </Property> |
| | | </IFrame> |
| | | </Container> |
| | | </Children> |
| | | <Tools/> |
| | | </Dialog> |
| | | </View> |
| | | </ViewConfig> |
¶Ô±ÈÐÂÎļþ |
| | |
| | | <?xml version="1.0" encoding="UTF-8"?> |
| | | <ViewConfig> |
| | | <Arguments/> |
| | | <Context/> |
| | | <Model> |
| | | <DataType name="dtMain"> |
| | | <Property name="creationType">com.fzzy.api.entity.Api1509</Property> |
| | | <PropertyDef name="bizId"> |
| | | <Property></Property> |
| | | <Property name="label">ä¸å¡id</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="kqdm"> |
| | | <Property></Property> |
| | | <Property name="label">åºåºä»£ç </Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="syncTime"> |
| | | <Property name="dataType">Date</Property> |
| | | <Property name="label">忥æ¶é´</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="id"> |
| | | <Property></Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="nacctid"> |
| | | <Property></Property> |
| | | <Property name="label">è´¦å¥å·</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="fixassetcode"> |
| | | <Property></Property> |
| | | <Property name="label">åºå®èµäº§ç¼ç </Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="origfixassetcode"> |
| | | <Property></Property> |
| | | <Property name="label">åºå®èµäº§èªç¼ç </Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="groupcode"> |
| | | <Property></Property> |
| | | <Property name="label">èµäº§ç±»å«ç¼ç </Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="fixassetname"> |
| | | <Property></Property> |
| | | <Property name="label">åºå®èµäº§åç§°</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="unitname"> |
| | | <Property></Property> |
| | | <Property name="label">计éåä½åç§°</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="valueorg"> |
| | | <Property name="dataType">Double</Property> |
| | | <Property name="label">åå¼</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="deprmethodid"> |
| | | <Property name="dataType">Integer</Property> |
| | | <Property name="label">ææ§æ¹æ³</Property> |
| | | <Property name="mapping"> |
| | | <Property name="keyProperty">key</Property> |
| | | <Property name="valueProperty">value</Property> |
| | | <Property name="mapValues"> |
| | | <Collection> |
| | | <Entity> |
| | | <Property name="key">1</Property> |
| | | <Property name="value">1:ä¸æææ§æ³</Property> |
| | | </Entity> |
| | | <Entity> |
| | | <Property name="key">2</Property> |
| | | <Property name="value">2:å¹³åå¹´éæ³</Property> |
| | | </Entity> |
| | | <Entity> |
| | | <Property name="key">3</Property> |
| | | <Property name="value">3:卿平åå¹´éæ³</Property> |
| | | </Entity> |
| | | <Entity> |
| | | <Property name="key">4</Property> |
| | | <Property name="value">4:å·¥ä½éæ³</Property> |
| | | </Entity> |
| | | <Entity> |
| | | <Property name="key">5</Property> |
| | | <Property name="value">5:å¹´æ°æ»åæ³</Property> |
| | | </Entity> |
| | | <Entity> |
| | | <Property name="key">6</Property> |
| | | <Property name="value">6:ååä½é¢éåæ³</Property> |
| | | </Entity> |
| | | </Collection> |
| | | </Property> |
| | | </Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="sourceid"> |
| | | <Property name="dataType">Integer</Property> |
| | | <Property name="label">åºå®èµäº§æ¥æº</Property> |
| | | <Property name="mapping"> |
| | | <Property name="keyProperty">key</Property> |
| | | <Property name="valueProperty">value</Property> |
| | | <Property name="mapValues"> |
| | | <Collection> |
| | | <Entity> |
| | | <Property name="key">1</Property> |
| | | <Property name="value">1:æèµ</Property> |
| | | </Entity> |
| | | <Entity> |
| | | <Property name="key">2</Property> |
| | | <Property name="value">2:èªå»º</Property> |
| | | </Entity> |
| | | <Entity> |
| | | <Property name="key">3</Property> |
| | | <Property name="value">3:è´ä¹°</Property> |
| | | </Entity> |
| | | <Entity> |
| | | <Property name="key">4</Property> |
| | | <Property name="value">4:èèµç§èµ</Property> |
| | | </Entity> |
| | | <Entity> |
| | | <Property name="key">5</Property> |
| | | <Property name="value">5:ç»è¥ç§å
¥</Property> |
| | | </Entity> |
| | | <Entity> |
| | | <Property name="key">6</Property> |
| | | <Property name="value">6:æ å¿è°å
¥</Property> |
| | | </Entity> |
| | | <Entity> |
| | | <Property name="key">7</Property> |
| | | <Property name="value">7:æèµ </Property> |
| | | </Entity> |
| | | <Entity> |
| | | <Property name="key">8</Property> |
| | | <Property name="value">8:æ¢å
¥</Property> |
| | | </Entity> |
| | | </Collection> |
| | | </Property> |
| | | </Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="dresentvalueorg"> |
| | | <Property name="dataType">Double</Property> |
| | | <Property name="label">å½ååå¼</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="model"> |
| | | <Property></Property> |
| | | <Property name="label">åå·</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="specs"> |
| | | <Property></Property> |
| | | <Property name="label">è§æ ¼</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="manufacturer"> |
| | | <Property></Property> |
| | | <Property name="label">å¶é å</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="makingplace"> |
| | | <Property></Property> |
| | | <Property name="label">产å°</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="enterday"> |
| | | <Property></Property> |
| | | <Property name="label">è¿å使¥æ</Property> |
| | | <Property name="dataType">Date</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="beginuseday"> |
| | | <Property></Property> |
| | | <Property name="label">å¼å§ä½¿ç¨æ¥æ</Property> |
| | | <Property name="dataType">Date</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="makinday"> |
| | | <Property></Property> |
| | | <Property name="label">å»ºå¡æ¥æ</Property> |
| | | <Property name="dataType">Date</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="keeper"> |
| | | <Property></Property> |
| | | <Property name="label">管ç人</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="maker"> |
| | | <Property></Property> |
| | | <Property name="label">建å¡äºº</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="usingperiods"> |
| | | <Property name="dataType">Integer</Property> |
| | | <Property name="label">é¢è®¡ä½¿ç¨æé´æ°</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="expecremain"> |
| | | <Property name="dataType">Double</Property> |
| | | <Property name="label">é¢è®¡åæ®å¼</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="assetacctcode"> |
| | | <Property></Property> |
| | | <Property name="label">åºå®èµäº§å¯¹åºç§ç®ç¼ç </Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="depracctcode"> |
| | | <Property></Property> |
| | | <Property name="label">ç´¯è®¡ææ§å¯¹åºç§ç®ç¼ç </Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="accumulatedepr"> |
| | | <Property name="dataType">Double</Property> |
| | | <Property name="label">ç´¯è®¡ææ§</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="abadoned"> |
| | | <Property></Property> |
| | | <Property name="label">æ¯å¦æ¥åºæ¸
ç</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="presentstatus"> |
| | | <Property></Property> |
| | | <Property name="label">å½å使ç¨ç¶æåç§°</Property> |
| | | <Property name="mapping"> |
| | | <Property name="keyProperty">key</Property> |
| | | <Property name="valueProperty">value</Property> |
| | | <Property name="mapValues"> |
| | | <Collection> |
| | | <Entity> |
| | | <Property name="key">1</Property> |
| | | <Property name="value">1:å¨ä½¿ç¨</Property> |
| | | </Entity> |
| | | <Entity> |
| | | <Property name="key">2</Property> |
| | | <Property name="value">2:æªä½¿ç¨</Property> |
| | | </Entity> |
| | | <Entity> |
| | | <Property name="key">3</Property> |
| | | <Property name="value">3:åç¨</Property> |
| | | </Entity> |
| | | <Entity> |
| | | <Property name="key">4</Property> |
| | | <Property name="value">4:åºå®</Property> |
| | | </Entity> |
| | | <Entity> |
| | | <Property name="key">5</Property> |
| | | <Property name="value">5:æ¥æ</Property> |
| | | </Entity> |
| | | <Entity> |
| | | <Property name="key">6</Property> |
| | | <Property name="value">6:çäº</Property> |
| | | </Entity> |
| | | </Collection> |
| | | </Property> |
| | | </Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="notes"> |
| | | <Property></Property> |
| | | <Property name="label">夿³¨</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="tykqbm"> |
| | | <Property></Property> |
| | | <Property name="label">ç»ä¸åºåºç¼ç </Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="czbz"> |
| | | <Property></Property> |
| | | <Property name="label">æä½æ å¿</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="zhgxsj"> |
| | | <Property name="dataType">DateTime</Property> |
| | | <Property name="label">æåæ´æ°æ¶é´</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">api1509PR#listAll</Property> |
| | | </DataSet> |
| | | <ToolBar> |
| | | <ToolBarLabel> |
| | | <Property name="text">å·¥å
·æ ï¼</Property> |
| | | <Property name="style"> |
| | | <Property name="font-weight">bold</Property> |
| | | </Property> |
| | | </ToolBarLabel> |
| | | <ToolBarButton> |
| | | <ClientEvent name="onClick">view.get("#dsMain").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> |
| | | <ClientEvent name="onClick">//æ¾ç¤ºè®°å½
 |
| | | view.get("#iFrame").reload();
 |
| | | view.get("#dialogLog").show();</ClientEvent> |
| | | <Property name="caption">ä¸ä¼ è®°å½</Property> |
| | | <Property name="iconClass">fa fa-bars</Property> |
| | | <Property name="exClassName">toolbar-button</Property> |
| | | </ToolBarButton> |
| | | </ToolBar> |
| | | <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="kqdm"> |
| | | <Property name="property">kqdm</Property> |
| | | <Property name="align">center</Property> |
| | | </DataColumn> |
| | | <DataColumn name="nacctid"> |
| | | <Property name="property">nacctid</Property> |
| | | <Property name="align">center</Property> |
| | | </DataColumn> |
| | | <DataColumn name="fixassetcode"> |
| | | <Property name="property">fixassetcode</Property> |
| | | <Property name="align">center</Property> |
| | | </DataColumn> |
| | | <DataColumn name="origfixassetcode"> |
| | | <Property name="property">origfixassetcode</Property> |
| | | <Property name="align">center</Property> |
| | | </DataColumn> |
| | | <DataColumn name="groupcode"> |
| | | <Property name="property">groupcode</Property> |
| | | <Property name="align">center</Property> |
| | | </DataColumn> |
| | | <DataColumn name="fixassetname"> |
| | | <Property name="property">fixassetname</Property> |
| | | <Property name="align">center</Property> |
| | | </DataColumn> |
| | | <DataColumn name="unitname"> |
| | | <Property name="property">unitname</Property> |
| | | <Property name="align">center</Property> |
| | | </DataColumn> |
| | | <DataColumn name="manufacturer"> |
| | | <Property name="property">manufacturer</Property> |
| | | <Property name="align">center</Property> |
| | | </DataColumn> |
| | | <DataColumn name="makingplace"> |
| | | <Property name="property">makingplace</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> |
| | | <Dialog id="dialogMain"> |
| | | <Property name="width">80%</Property> |
| | | <Property name="caption">婿¶¦ä¿¡æ¯</Property> |
| | | <Property name="iconClass">fa fa-sliders</Property> |
| | | <Property name="closeable">false</Property> |
| | | <Property name="height">80%</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> |
| | | <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">kqdm</Property> |
| | | <Property name="property">kqdm</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">nacctid</Property> |
| | | <Property name="property">nacctid</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">fixassetcode</Property> |
| | | <Property name="property">fixassetcode</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">origfixassetcode</Property> |
| | | <Property name="property">origfixassetcode</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">groupcode</Property> |
| | | <Property name="property">groupcode</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">fixassetname</Property> |
| | | <Property name="property">fixassetname</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">unitname</Property> |
| | | <Property name="property">unitname</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">valueorg</Property> |
| | | <Property name="property">valueorg</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">dresentvalueorg</Property> |
| | | <Property name="property">dresentvalueorg</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">deprmethodid</Property> |
| | | <Property name="property">deprmethodid</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">sourceid</Property> |
| | | <Property name="property">sourceid</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">model</Property> |
| | | <Property name="property">model</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">specs</Property> |
| | | <Property name="property">specs</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">manufacturer</Property> |
| | | <Property name="property">manufacturer</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">makingplace</Property> |
| | | <Property name="property">makingplace</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">enterday</Property> |
| | | <Property name="property">enterday</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">beginuseday</Property> |
| | | <Property name="property">beginuseday</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">makinday</Property> |
| | | <Property name="property">makinday</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">keeper</Property> |
| | | <Property name="property">keeper</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">maker</Property> |
| | | <Property name="property">maker</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">usingperiods</Property> |
| | | <Property name="property">usingperiods</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">expecremain</Property> |
| | | <Property name="property">expecremain</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">assetacctcode</Property> |
| | | <Property name="property">assetacctcode</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">depracctcode</Property> |
| | | <Property name="property">depracctcode</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">accumulatedepr</Property> |
| | | <Property name="property">accumulatedepr</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">abadoned</Property> |
| | | <Property name="property">abadoned</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">presentstatus</Property> |
| | | <Property name="property">presentstatus</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">notes</Property> |
| | | <Property name="property">notes</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">tykqbm</Property> |
| | | <Property name="property">tykqbm</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> |
| | | </AutoForm> |
| | | </Children> |
| | | <Tools/> |
| | | </Dialog> |
| | | <UpdateAction id="updateSave"> |
| | | <Property name="dataResolver">api1509PR#updateSave</Property> |
| | | <UpdateItem> |
| | | <Property name="dataPath">[#current]</Property> |
| | | <Property name="dataSet">dsMain</Property> |
| | | </UpdateItem> |
| | | </UpdateAction> |
| | | <AjaxAction id="ajaxPush"> |
| | | <Property name="service">api1509PR#pushData</Property> |
| | | <Property name="confirmMessage">ç¡®å®è¦ä¸æ¥ä¹ï¼</Property> |
| | | </AjaxAction> |
| | | <AjaxAction id="ajaxDel"> |
| | | <Property name="service">api1509PR#delData</Property> |
| | | <Property name="confirmMessage">å½åæ°æ®å é¤åæ æ³æ¢å¤ï¼è¯·ç¡®è®¤è¦å é¤ä¹ï¼</Property> |
| | | </AjaxAction> |
| | | <AjaxAction id="ajaxDelUpdate"> |
| | | <Property name="service">api1509PR#delUpdate</Property> |
| | | <Property name="confirmMessage">ç¡®å®è¦å°æ°æ®æ 记为å é¤ä¹ï¼</Property> |
| | | </AjaxAction> |
| | | <Dialog id="dialogLog"> |
| | | <Property name="width">90%</Property> |
| | | <Property name="height">90%</Property> |
| | | <Property name="caption">ä¸ä¼ è®°å½</Property> |
| | | <Property name="iconClass">fa fa-sliders</Property> |
| | | <Buttons> |
| | | <Button> |
| | | <ClientEvent name="onClick">self.get("parent").hide();</ClientEvent> |
| | | <Property name="caption">å
³é</Property> |
| | | <Property name="iconClass">fa fa-times</Property> |
| | | <Property name="exClassName">toolbar-button-warn</Property> |
| | | </Button> |
| | | </Buttons> |
| | | <Children> |
| | | <Container> |
| | | <IFrame id="iFrame"> |
| | | <Property name="path">com.fzzy.api.view.ApiLog.d</Property> |
| | | <Property name="userData"> |
| | | <Entity> |
| | | <Property name="deptId">deptId</Property> |
| | | </Entity> |
| | | </Property> |
| | | </IFrame> |
| | | </Container> |
| | | </Children> |
| | | <Tools/> |
| | | </Dialog> |
| | | </View> |
| | | </ViewConfig> |
¶Ô±ÈÐÂÎļþ |
| | |
| | | <?xml version="1.0" encoding="UTF-8"?> |
| | | <ViewConfig> |
| | | <Arguments/> |
| | | <Context/> |
| | | <Model> |
| | | <DataType name="dtMain"> |
| | | <Property name="creationType">com.fzzy.api.entity.Api1510</Property> |
| | | <PropertyDef name="id"> |
| | | <Property></Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="nacctid"> |
| | | <Property></Property> |
| | | <Property name="label">è´¦å¥å·</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="fixassetcode"> |
| | | <Property></Property> |
| | | <Property name="label">åºå®èµäº§ç¼ç </Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="period"> |
| | | <Property name="dataType">Integer</Property> |
| | | <Property name="label">æé´</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="acctyear"> |
| | | <Property name="dataType">Integer</Property> |
| | | <Property name="label">年度</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="bvalueorg"> |
| | | <Property name="dataType">Double</Property> |
| | | <Property name="label">æååå¼</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="baccumdepr"> |
| | | <Property name="dataType">Double</Property> |
| | | <Property name="label">ç´¯è®¡ææ§</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="deprammount"> |
| | | <Property name="dataType">Double</Property> |
| | | <Property name="label">æ¬æè®¡æææ§</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="yaccumdepr"> |
| | | <Property name="dataType">Double</Property> |
| | | <Property name="label">æ¬å¹´ç´¯è®¡è®¡æææ§</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="qtyadd"> |
| | | <Property name="dataType">Double</Property> |
| | | <Property name="label">æ¬ææ°éå¢å </Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="qtydecrease"> |
| | | <Property name="dataType">Double</Property> |
| | | <Property name="label">æ¬ææ°éåå°</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="valueorgadd"> |
| | | <Property name="dataType">Double</Property> |
| | | <Property name="label">æ¬æåå¼å¢å </Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="valueorgderease"> |
| | | <Property name="dataType">Double</Property> |
| | | <Property name="label">æ¬æåå¼åå°</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="accudepradjustadd"> |
| | | <Property name="dataType">Double</Property> |
| | | <Property name="label">æ¬æç´¯è®¡ææ§è°å¢</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="accudepradjustdec"> |
| | | <Property name="dataType">Double</Property> |
| | | <Property name="label">æ¬æç´¯è®¡ææ§è°å</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="yqtyIncrease"> |
| | | <Property name="dataType">Double</Property> |
| | | <Property name="label">æ¬å¹´ç´¯è®¡æ°éå¢å </Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="yqtydecrease"> |
| | | <Property name="dataType">Double</Property> |
| | | <Property name="label">æ¬å¹´ç´¯è®¡æ°éåå°</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="yvalueincrease"> |
| | | <Property name="dataType">Double</Property> |
| | | <Property name="label">æ¬å¹´åå¼ç´¯è®¡å¢å </Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="yvaluedecrease"> |
| | | <Property name="dataType">Double</Property> |
| | | <Property name="label">æ¬å¹´åå¼ç´¯è®¡åå°</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="yaccudeprincrease"> |
| | | <Property name="dataType">Double</Property> |
| | | <Property name="label">æ¬å¹´ç´¯è®¡ææ§è°å¢</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="yaccuDeprDecrease"> |
| | | <Property name="dataType">Double</Property> |
| | | <Property name="label">æ¬å¹´ç´¯è®¡ææ§è°å</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="tykqbm"> |
| | | <Property></Property> |
| | | <Property name="label">ç»ä¸åºåºç¼ç </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="syncTime"> |
| | | <Property name="dataType">Date</Property> |
| | | <Property name="label">忥æ¶é´</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="czbz"> |
| | | <Property></Property> |
| | | <Property name="label">æä½æ å¿</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="zhgxsj"> |
| | | <Property name="dataType">DateTime</Property> |
| | | <Property name="label">æåæ´æ°æ¶é´</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">api1510PR#listAll</Property> |
| | | </DataSet> |
| | | <ToolBar> |
| | | <ToolBarLabel> |
| | | <Property name="text">å·¥å
·æ ï¼</Property> |
| | | <Property name="style"> |
| | | <Property name="font-weight">bold</Property> |
| | | </Property> |
| | | </ToolBarLabel> |
| | | <ToolBarButton> |
| | | <ClientEvent name="onClick">view.get("#dsMain").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> |
| | | <ClientEvent name="onClick">//æ¾ç¤ºè®°å½
 |
| | | view.get("#iFrame").reload();
 |
| | | view.get("#dialogLog").show();</ClientEvent> |
| | | <Property name="caption">ä¸ä¼ è®°å½</Property> |
| | | <Property name="iconClass">fa fa-bars</Property> |
| | | <Property name="exClassName">toolbar-button</Property> |
| | | </ToolBarButton> |
| | | </ToolBar> |
| | | <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="kqdm"> |
| | | <Property name="property">kqdm</Property> |
| | | <Property name="align">center</Property> |
| | | </DataColumn> |
| | | <DataColumn name="nacctid"> |
| | | <Property name="property">nacctid</Property> |
| | | <Property name="align">center</Property> |
| | | </DataColumn> |
| | | <DataColumn name="fixassetcode"> |
| | | <Property name="property">fixassetcode</Property> |
| | | <Property name="align">center</Property> |
| | | </DataColumn> |
| | | <DataColumn name="period"> |
| | | <Property name="property">period</Property> |
| | | <Property name="align">center</Property> |
| | | </DataColumn> |
| | | <DataColumn name="acctyear"> |
| | | <Property name="property">acctyear</Property> |
| | | <Property name="align">center</Property> |
| | | </DataColumn> |
| | | <DataColumn name="bvalueorg"> |
| | | <Property name="property">bvalueorg</Property> |
| | | <Property name="align">center</Property> |
| | | </DataColumn> |
| | | <DataColumn name="baccumdepr"> |
| | | <Property name="property">baccumdepr</Property> |
| | | <Property name="align">center</Property> |
| | | </DataColumn> |
| | | <DataColumn name="deprammount"> |
| | | <Property name="property">deprammount</Property> |
| | | <Property name="align">center</Property> |
| | | </DataColumn> |
| | | <DataColumn name="yaccumdepr"> |
| | | <Property name="property">yaccumdepr</Property> |
| | | <Property name="align">center</Property> |
| | | </DataColumn> |
| | | <DataColumn name="zhgxsj"> |
| | | <Property name="property">zhgxsj</Property> |
| | | <Property name="align">center</Property> |
| | | </DataColumn> |
| | | <DataColumn name="czbz"> |
| | | <Property name="property">czbz</Property> |
| | | <Property name="align">center</Property> |
| | | </DataColumn> |
| | | </DataGrid> |
| | | <Dialog id="dialogMain"> |
| | | <Property name="width">80%</Property> |
| | | <Property name="caption">婿¶¦ä¿¡æ¯</Property> |
| | | <Property name="iconClass">fa fa-sliders</Property> |
| | | <Property name="closeable">false</Property> |
| | | <Property name="height">80%</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> |
| | | <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">kqdm</Property> |
| | | <Property name="property">kqdm</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">nacctid</Property> |
| | | <Property name="property">nacctid</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">fixassetcode</Property> |
| | | <Property name="property">fixassetcode</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">period</Property> |
| | | <Property name="property">period</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">acctyear</Property> |
| | | <Property name="property">acctyear</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">bvalueorg</Property> |
| | | <Property name="property">bvalueorg</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">baccumdepr</Property> |
| | | <Property name="property">baccumdepr</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">deprammount</Property> |
| | | <Property name="property">deprammount</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">yaccumdepr</Property> |
| | | <Property name="property">yaccumdepr</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">qtyadd</Property> |
| | | <Property name="property">qtyadd</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">qtydecrease</Property> |
| | | <Property name="property">qtydecrease</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">valueorgadd</Property> |
| | | <Property name="property">valueorgadd</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">valueorgderease</Property> |
| | | <Property name="property">valueorgderease</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">accudepradjustadd</Property> |
| | | <Property name="property">accudepradjustadd</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">accudepradjustdec</Property> |
| | | <Property name="property">accudepradjustdec</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">yqtyIncrease</Property> |
| | | <Property name="property">yqtyIncrease</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">yqtydecrease</Property> |
| | | <Property name="property">yqtydecrease</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">yvalueincrease</Property> |
| | | <Property name="property">yvalueincrease</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">yvaluedecrease</Property> |
| | | <Property name="property">yvaluedecrease</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">yaccudeprincrease</Property> |
| | | <Property name="property">yaccudeprincrease</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">yaccuDeprDecrease</Property> |
| | | <Property name="property">yaccuDeprDecrease</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">tykqbm</Property> |
| | | <Property name="property">tykqbm</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">zhgxsj</Property> |
| | | <Property name="property">zhgxsj</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">czbz</Property> |
| | | <Property name="property">czbz</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | </AutoForm> |
| | | </Children> |
| | | <Tools/> |
| | | </Dialog> |
| | | <UpdateAction id="updateSave"> |
| | | <Property name="dataResolver">api1510PR#updateSave</Property> |
| | | <UpdateItem> |
| | | <Property name="dataPath">[#current]</Property> |
| | | <Property name="dataSet">dsMain</Property> |
| | | </UpdateItem> |
| | | </UpdateAction> |
| | | <AjaxAction id="ajaxPush"> |
| | | <Property name="service">api1510PR#pushData</Property> |
| | | <Property name="confirmMessage">ç¡®å®è¦ä¸æ¥ä¹ï¼</Property> |
| | | </AjaxAction> |
| | | <AjaxAction id="ajaxDel"> |
| | | <Property name="service">api15110PR#delData</Property> |
| | | <Property name="confirmMessage">å½åæ°æ®å é¤åæ æ³æ¢å¤ï¼è¯·ç¡®è®¤è¦å é¤ä¹ï¼</Property> |
| | | </AjaxAction> |
| | | <AjaxAction id="ajaxDelUpdate"> |
| | | <Property name="service">api1510PR#delUpdate</Property> |
| | | <Property name="confirmMessage">ç¡®å®è¦å°æ°æ®æ 记为å é¤ä¹ï¼</Property> |
| | | </AjaxAction> |
| | | <Dialog id="dialogLog"> |
| | | <Property name="width">90%</Property> |
| | | <Property name="height">90%</Property> |
| | | <Property name="caption">ä¸ä¼ è®°å½</Property> |
| | | <Property name="iconClass">fa fa-sliders</Property> |
| | | <Buttons> |
| | | <Button> |
| | | <ClientEvent name="onClick">self.get("parent").hide();</ClientEvent> |
| | | <Property name="caption">å
³é</Property> |
| | | <Property name="iconClass">fa fa-times</Property> |
| | | <Property name="exClassName">toolbar-button-warn</Property> |
| | | </Button> |
| | | </Buttons> |
| | | <Children> |
| | | <Container> |
| | | <IFrame id="iFrame"> |
| | | <Property name="path">com.fzzy.api.view.ApiLog.d</Property> |
| | | <Property name="userData"> |
| | | <Entity> |
| | | <Property name="deptId">deptId</Property> |
| | | </Entity> |
| | | </Property> |
| | | </IFrame> |
| | | </Container> |
| | | </Children> |
| | | <Tools/> |
| | | </Dialog> |
| | | </View> |
| | | </ViewConfig> |
¶Ô±ÈÐÂÎļþ |
| | |
| | | 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.fzzy.api.Constant; |
| | | import com.fzzy.api.data.ApiParam; |
| | | import com.fzzy.api.dto.ResponseDto; |
| | | import com.fzzy.api.entity.Api1504; |
| | | 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.Api1504Rep; |
| | | import org.apache.commons.lang.StringUtils; |
| | | import org.springframework.beans.BeanUtils; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.stereotype.Component; |
| | | |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * è´¦å¥ä¿¡æ¯ |
| | | * |
| | | * @author he |
| | | */ |
| | | @Component |
| | | public class Api1504PR { |
| | | |
| | | @Autowired |
| | | private Api1504Rep api1504Rep; |
| | | |
| | | @Autowired |
| | | private ApiCommonService apiCommonService; |
| | | @Autowired |
| | | private ApiPushManager apiPushManager; |
| | | |
| | | /** |
| | | * api1504PR#listAll |
| | | * |
| | | * @return |
| | | */ |
| | | @DataProvider |
| | | public List<Api1504> listAll() { |
| | | return api1504Rep.findAll(); |
| | | } |
| | | |
| | | /** |
| | | * api1504PR#updateSave |
| | | * |
| | | * @param entity |
| | | */ |
| | | @DataResolver |
| | | public void updateSave(Api1504 entity) { |
| | | |
| | | // æå¨å°doradoEntity对象转æ¢ä¸ºæ åBean对象 |
| | | Api1504 data = new Api1504(); |
| | | if (StringUtils.isEmpty(entity.getNacctid())) { |
| | | entity.setNacctid(entity.getKqdm() + "01"); |
| | | } |
| | | BeanUtils.copyProperties(entity, data); |
| | | api1504Rep.save(data); |
| | | } |
| | | |
| | | /** |
| | | * api1504PR#delData |
| | | * |
| | | * @param data |
| | | */ |
| | | @Expose |
| | | public String delData(Api1504 data) { |
| | | |
| | | api1504Rep.deleteById(data.getNacctid()); |
| | | return null; |
| | | } |
| | | |
| | | /** |
| | | * æ´æ°å 餿 è®° api1504PR#delUpdate |
| | | * |
| | | * @param entity |
| | | */ |
| | | @Expose |
| | | public String delUpdate(Api1504 entity) { |
| | | |
| | | entity.setCzbz(Constant.CZBZ_D); |
| | | |
| | | Api1504 data = new Api1504(); |
| | | BeanUtils.copyProperties(entity, data); |
| | | |
| | | api1504Rep.save(data); |
| | | return null; |
| | | } |
| | | |
| | | /** |
| | | * api1504PR#pushData |
| | | * |
| | | * @param items |
| | | */ |
| | | @Expose |
| | | public String pushData(List<Api1504> items) { |
| | | |
| | | String kqdm = items.get(0).getKqdm(); |
| | | ApiConfs apiConf = apiCommonService.getConf(kqdm); |
| | | |
| | | if (null == apiConf) return "ç³»ç»æ²¡æè·åå°å½ååºåºé
置信æ¯ï¼æ§è¡å¤±è´¥"; |
| | | |
| | | //è·åå®ç°æ¥å£ |
| | | ApiRemoteService apiService = apiPushManager.getApiRemoteService(apiConf.getPushProtocol()); |
| | | if (null == apiService) return "ç³»ç»æ²¡æå½åæ¨éåè®®é
ç½®ï¼æ§è¡å¤±è´¥"; |
| | | |
| | | return pushDataSingle(items, apiService, apiConf); |
| | | } |
| | | |
| | | /** |
| | | * åæ¡æ°æ®jsonæ¨é |
| | | * |
| | | * @param items |
| | | * @param apiService |
| | | * @param apiConf |
| | | * @return |
| | | */ |
| | | private String pushDataSingle(List<Api1504> items, ApiRemoteService apiService, ApiConfs apiConf) { |
| | | ResponseDto responseDto; |
| | | String result = ""; |
| | | |
| | | //å°è£
åæ° |
| | | ApiParam param = new ApiParam(apiConf, Constant.API_CATEGORY_11, Constant.API_CODE_1504); |
| | | Api1504 d; |
| | | for (Api1504 data : items) { |
| | | d = new Api1504(); |
| | | BeanUtils.copyProperties(data, d); |
| | | responseDto = apiService.pushData(param, apiConf, d); |
| | | result += responseDto.toString(); |
| | | if (responseDto.getSuccess() == 0) { |
| | | //todo 代表ä¸ä¼ æå ,åæéè¦ä¿åæ¥å¿ |
| | | if ("i".equals(d.getCzbz())) { |
| | | d.setCzbz("u"); |
| | | api1504Rep.save(d); |
| | | } |
| | | } |
| | | } |
| | | return result; |
| | | } |
| | | |
| | | /** |
| | | * 夿¡æ°æ®jsonæ¨é |
| | | * |
| | | * @param items |
| | | * @param apiRemoteService |
| | | * @param apiConf |
| | | * @return |
| | | */ |
| | | private String pushDataList(List<Api1504> items, ApiRemoteService apiRemoteService, ApiConfs apiConf) { |
| | | |
| | | //å°è£
åæ° |
| | | ApiParam param = new ApiParam(apiConf, Constant.API_CATEGORY_11, Constant.API_CODE_1504); |
| | | |
| | | //æ¨éï¼æ°æ®ä¸ºéåå½¢å¼ |
| | | ResponseDto responseDto = apiRemoteService.pushData(param, apiConf, items); |
| | | if (responseDto.getSuccess() == 0) { |
| | | //æ¨éæåï¼æ´æ°æ°æ®ä¸ä¼ ç¶æ |
| | | for (Api1504 data : items) { |
| | | if (Constant.CZBZ_I.equals(data.getCzbz())) { |
| | | //æ´æ°ç¶æ |
| | | data.setCzbz(Constant.CZBZ_U); |
| | | api1504Rep.save(data); |
| | | } |
| | | } |
| | | } |
| | | 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.fzzy.api.Constant; |
| | | import com.fzzy.api.data.ApiParam; |
| | | import com.fzzy.api.dto.ResponseDto; |
| | | import com.fzzy.api.entity.Api1505; |
| | | 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.Api1505Rep; |
| | | import org.apache.commons.lang.StringUtils; |
| | | import org.springframework.beans.BeanUtils; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.stereotype.Component; |
| | | |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * 婿¶¦è¡¨ä¿¡æ¯ |
| | | * @author he |
| | | */ |
| | | @Component |
| | | public class Api1505PR { |
| | | |
| | | @Autowired |
| | | private Api1505Rep api1505Rep; |
| | | |
| | | @Autowired |
| | | private ApiCommonService apiCommonService; |
| | | @Autowired |
| | | private ApiPushManager apiPushManager; |
| | | /** |
| | | * Api1505PR#listAll |
| | | * |
| | | * @return |
| | | */ |
| | | @DataProvider |
| | | public List<Api1505> listAll() { |
| | | return api1505Rep.findAll(); |
| | | } |
| | | |
| | | /** |
| | | * Api1505PR#updateSave |
| | | * |
| | | * @param entity |
| | | */ |
| | | @DataResolver |
| | | public void updateSave(Api1505 entity) { |
| | | |
| | | // æå¨å°doradoEntity对象转æ¢ä¸ºæ åBean对象 |
| | | Api1505 data = new Api1505(); |
| | | BeanUtils.copyProperties(entity, data); |
| | | if (StringUtils.isEmpty(data.getId())){ |
| | | data.setId(ContextUtil.getUUID()); |
| | | } |
| | | api1505Rep.save(data); |
| | | } |
| | | |
| | | /** |
| | | * Api1505PR#delData |
| | | * |
| | | * @param data |
| | | */ |
| | | @Expose |
| | | public String delData(Api1505 data) { |
| | | |
| | | api1505Rep.deleteById(data.getId()); |
| | | |
| | | return null; |
| | | } |
| | | |
| | | /** |
| | | * |
| | | * æ´æ°å 餿 è®° Api1505PR#delUpdate |
| | | * |
| | | * @param entity |
| | | */ |
| | | @Expose |
| | | public String delUpdate(Api1505 entity) { |
| | | |
| | | entity.setCzbz(Constant.CZBZ_D); |
| | | |
| | | Api1505 data = new Api1505(); |
| | | BeanUtils.copyProperties(entity, data); |
| | | |
| | | api1505Rep.save(data); |
| | | return null; |
| | | } |
| | | |
| | | /** |
| | | * Api1505PR#pushData |
| | | * |
| | | * @param items |
| | | */ |
| | | @Expose |
| | | public String pushData(List<Api1505> items) { |
| | | |
| | | String kqdm = items.get(0).getKqdm(); |
| | | ApiConfs apiConf = apiCommonService.getConf(kqdm); |
| | | |
| | | if (null == apiConf) return "ç³»ç»æ²¡æè·åå°å½ååºåºé
置信æ¯ï¼æ§è¡å¤±è´¥"; |
| | | |
| | | //è·åå®ç°æ¥å£ |
| | | ApiRemoteService apiService = apiPushManager.getApiRemoteService(apiConf.getPushProtocol()); |
| | | if (null == apiService) return "ç³»ç»æ²¡æå½åæ¨éåè®®é
ç½®ï¼æ§è¡å¤±è´¥"; |
| | | |
| | | return pushDataSingle(items, apiService, apiConf); |
| | | } |
| | | |
| | | /** |
| | | * åæ¡æ°æ®jsonæ¨é |
| | | * |
| | | * @param items |
| | | * @param apiService |
| | | * @param apiConf |
| | | * @return |
| | | */ |
| | | private String pushDataSingle(List<Api1505> items, ApiRemoteService apiService, ApiConfs apiConf) { |
| | | ResponseDto responseDto; |
| | | String result = ""; |
| | | |
| | | //å°è£
åæ° |
| | | ApiParam param = new ApiParam(apiConf, Constant.API_CATEGORY_11, Constant.API_CODE_1505); |
| | | Api1505 d; |
| | | for (Api1505 data : items) { |
| | | d = new Api1505(); |
| | | BeanUtils.copyProperties(data, d); |
| | | responseDto = apiService.pushData(param, apiConf, d); |
| | | result += responseDto.toString(); |
| | | if (responseDto.getSuccess() == 0) { |
| | | //todo 代表ä¸ä¼ æå ,åæéè¦ä¿åæ¥å¿ |
| | | if("i".equals(d.getCzbz())){ |
| | | d.setCzbz("u"); |
| | | api1505Rep.save(d); |
| | | } |
| | | } |
| | | } |
| | | return result; |
| | | } |
| | | |
| | | /** |
| | | * 夿¡æ°æ®jsonæ¨é |
| | | * |
| | | * @param items |
| | | * @param apiRemoteService |
| | | * @param apiConf |
| | | * @return |
| | | */ |
| | | private String pushDataList(List<Api1505> items, ApiRemoteService apiRemoteService, ApiConfs apiConf) { |
| | | |
| | | //å°è£
åæ° |
| | | ApiParam param = new ApiParam(apiConf, Constant.API_CATEGORY_11, Constant.API_CODE_1505); |
| | | |
| | | //æ¨éï¼æ°æ®ä¸ºéåå½¢å¼ |
| | | ResponseDto responseDto = apiRemoteService.pushData(param, apiConf, items); |
| | | if (responseDto.getSuccess() == 0) { |
| | | //æ¨éæåï¼æ´æ°æ°æ®ä¸ä¼ ç¶æ |
| | | for (Api1505 data : items) { |
| | | if (Constant.CZBZ_I.equals(data.getCzbz())) { |
| | | //æ´æ°ç¶æ |
| | | data.setCzbz(Constant.CZBZ_U); |
| | | api1505Rep.save(data); |
| | | } |
| | | } |
| | | } |
| | | 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.fzzy.api.Constant; |
| | | import com.fzzy.api.data.ApiParam; |
| | | import com.fzzy.api.dto.ResponseDto; |
| | | import com.fzzy.api.entity.Api1506; |
| | | 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.Api1506Rep; |
| | | import org.apache.commons.lang.StringUtils; |
| | | import org.springframework.beans.BeanUtils; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.stereotype.Component; |
| | | |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * 婿¶¦è¡¨ä¿¡æ¯ |
| | | * @author he |
| | | */ |
| | | @Component |
| | | public class Api1506PR { |
| | | |
| | | @Autowired |
| | | private Api1506Rep api1506Rep; |
| | | |
| | | @Autowired |
| | | private ApiCommonService apiCommonService; |
| | | @Autowired |
| | | private ApiPushManager apiPushManager; |
| | | /** |
| | | * api1506PR#listAll |
| | | * |
| | | * @return |
| | | */ |
| | | @DataProvider |
| | | public List<Api1506> listAll() { |
| | | return api1506Rep.findAll(); |
| | | } |
| | | |
| | | /** |
| | | * api1506PR#updateSave |
| | | * |
| | | * @param entity |
| | | */ |
| | | @DataResolver |
| | | public void updateSave(Api1506 entity) { |
| | | |
| | | // æå¨å°doradoEntity对象转æ¢ä¸ºæ åBean对象 |
| | | Api1506 data = new Api1506(); |
| | | BeanUtils.copyProperties(entity, data); |
| | | if (StringUtils.isEmpty(data.getId())){ |
| | | data.setId(ContextUtil.getUUID()); |
| | | } |
| | | api1506Rep.save(data); |
| | | } |
| | | |
| | | /** |
| | | * api1506PR#delData |
| | | * |
| | | * @param data |
| | | */ |
| | | @Expose |
| | | public String delData(Api1506 data) { |
| | | |
| | | api1506Rep.deleteById(data.getId()); |
| | | |
| | | return null; |
| | | } |
| | | |
| | | /** |
| | | * |
| | | * æ´æ°å 餿 è®° api1506PR#delUpdate |
| | | * |
| | | * @param entity |
| | | */ |
| | | @Expose |
| | | public String delUpdate(Api1506 entity) { |
| | | |
| | | entity.setCzbz(Constant.CZBZ_D); |
| | | |
| | | Api1506 data = new Api1506(); |
| | | BeanUtils.copyProperties(entity, data); |
| | | |
| | | api1506Rep.save(data); |
| | | return null; |
| | | } |
| | | |
| | | /** |
| | | * api1506PR#pushData |
| | | * |
| | | * @param items |
| | | */ |
| | | @Expose |
| | | public String pushData(List<Api1506> items) { |
| | | |
| | | String kqdm = items.get(0).getKqdm(); |
| | | ApiConfs apiConf = apiCommonService.getConf(kqdm); |
| | | |
| | | if (null == apiConf) return "ç³»ç»æ²¡æè·åå°å½ååºåºé
置信æ¯ï¼æ§è¡å¤±è´¥"; |
| | | |
| | | //è·åå®ç°æ¥å£ |
| | | ApiRemoteService apiService = apiPushManager.getApiRemoteService(apiConf.getPushProtocol()); |
| | | if (null == apiService) return "ç³»ç»æ²¡æå½åæ¨éåè®®é
ç½®ï¼æ§è¡å¤±è´¥"; |
| | | |
| | | return pushDataSingle(items, apiService, apiConf); |
| | | } |
| | | |
| | | /** |
| | | * åæ¡æ°æ®jsonæ¨é |
| | | * |
| | | * @param items |
| | | * @param apiService |
| | | * @param apiConf |
| | | * @return |
| | | */ |
| | | private String pushDataSingle(List<Api1506> items, ApiRemoteService apiService, ApiConfs apiConf) { |
| | | ResponseDto responseDto; |
| | | String result = ""; |
| | | |
| | | //å°è£
åæ° |
| | | ApiParam param = new ApiParam(apiConf, Constant.API_CATEGORY_11, Constant.API_CODE_1506); |
| | | Api1506 d; |
| | | for (Api1506 data : items) { |
| | | d = new Api1506(); |
| | | BeanUtils.copyProperties(data, d); |
| | | responseDto = apiService.pushData(param, apiConf, d); |
| | | result += responseDto.toString(); |
| | | if (responseDto.getSuccess() == 0) { |
| | | //todo 代表ä¸ä¼ æå ,åæéè¦ä¿åæ¥å¿ |
| | | if("i".equals(d.getCzbz())){ |
| | | d.setCzbz("u"); |
| | | api1506Rep.save(d); |
| | | } |
| | | } |
| | | } |
| | | return result; |
| | | } |
| | | |
| | | /** |
| | | * 夿¡æ°æ®jsonæ¨é |
| | | * |
| | | * @param items |
| | | * @param apiRemoteService |
| | | * @param apiConf |
| | | * @return |
| | | */ |
| | | private String pushDataList(List<Api1506> items, ApiRemoteService apiRemoteService, ApiConfs apiConf) { |
| | | |
| | | //å°è£
åæ° |
| | | ApiParam param = new ApiParam(apiConf, Constant.API_CATEGORY_11, Constant.API_CODE_1506); |
| | | |
| | | //æ¨éï¼æ°æ®ä¸ºéåå½¢å¼ |
| | | ResponseDto responseDto = apiRemoteService.pushData(param, apiConf, items); |
| | | if (responseDto.getSuccess() == 0) { |
| | | //æ¨éæåï¼æ´æ°æ°æ®ä¸ä¼ ç¶æ |
| | | for (Api1506 data : items) { |
| | | if (Constant.CZBZ_I.equals(data.getCzbz())) { |
| | | //æ´æ°ç¶æ |
| | | data.setCzbz(Constant.CZBZ_U); |
| | | api1506Rep.save(data); |
| | | } |
| | | } |
| | | } |
| | | 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.fzzy.api.Constant; |
| | | import com.fzzy.api.data.ApiParam; |
| | | import com.fzzy.api.dto.ResponseDto; |
| | | import com.fzzy.api.entity.Api1507; |
| | | 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.Api1507Rep; |
| | | import org.apache.commons.lang.StringUtils; |
| | | import org.springframework.beans.BeanUtils; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.stereotype.Component; |
| | | |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * 婿¶¦è¡¨ä¿¡æ¯ |
| | | * @author he |
| | | */ |
| | | @Component |
| | | public class Api1507PR { |
| | | |
| | | @Autowired |
| | | private Api1507Rep api1507Rep; |
| | | |
| | | @Autowired |
| | | private ApiCommonService apiCommonService; |
| | | @Autowired |
| | | private ApiPushManager apiPushManager; |
| | | /** |
| | | * api1507PR#listAll |
| | | * |
| | | * @return |
| | | */ |
| | | @DataProvider |
| | | public List<Api1507> listAll() { |
| | | return api1507Rep.findAll(); |
| | | } |
| | | |
| | | /** |
| | | * api1507PR#updateSave |
| | | * |
| | | * @param entity |
| | | */ |
| | | @DataResolver |
| | | public void updateSave(Api1507 entity) { |
| | | |
| | | // æå¨å°doradoEntity对象转æ¢ä¸ºæ åBean对象 |
| | | Api1507 data = new Api1507(); |
| | | BeanUtils.copyProperties(entity, data); |
| | | if (StringUtils.isEmpty(data.getId())){ |
| | | data.setId(ContextUtil.getUUID()); |
| | | } |
| | | api1507Rep.save(data); |
| | | } |
| | | |
| | | /** |
| | | * api1507PR#delData |
| | | * |
| | | * @param data |
| | | */ |
| | | @Expose |
| | | public String delData(Api1507 data) { |
| | | |
| | | api1507Rep.deleteById(data.getId()); |
| | | |
| | | return null; |
| | | } |
| | | |
| | | /** |
| | | * |
| | | * æ´æ°å 餿 è®° api1507PR#delUpdate |
| | | * |
| | | * @param entity |
| | | */ |
| | | @Expose |
| | | public String delUpdate(Api1507 entity) { |
| | | |
| | | entity.setCzbz(Constant.CZBZ_D); |
| | | |
| | | Api1507 data = new Api1507(); |
| | | BeanUtils.copyProperties(entity, data); |
| | | |
| | | api1507Rep.save(data); |
| | | return null; |
| | | } |
| | | |
| | | /** |
| | | * api1507PR#pushData |
| | | * |
| | | * @param items |
| | | */ |
| | | @Expose |
| | | public String pushData(List<Api1507> items) { |
| | | |
| | | String kqdm = items.get(0).getKqdm(); |
| | | ApiConfs apiConf = apiCommonService.getConf(kqdm); |
| | | |
| | | if (null == apiConf) return "ç³»ç»æ²¡æè·åå°å½ååºåºé
置信æ¯ï¼æ§è¡å¤±è´¥"; |
| | | |
| | | //è·åå®ç°æ¥å£ |
| | | ApiRemoteService apiService = apiPushManager.getApiRemoteService(apiConf.getPushProtocol()); |
| | | if (null == apiService) return "ç³»ç»æ²¡æå½åæ¨éåè®®é
ç½®ï¼æ§è¡å¤±è´¥"; |
| | | |
| | | return pushDataSingle(items, apiService, apiConf); |
| | | } |
| | | |
| | | /** |
| | | * åæ¡æ°æ®jsonæ¨é |
| | | * |
| | | * @param items |
| | | * @param apiService |
| | | * @param apiConf |
| | | * @return |
| | | */ |
| | | private String pushDataSingle(List<Api1507> items, ApiRemoteService apiService, ApiConfs apiConf) { |
| | | ResponseDto responseDto; |
| | | String result = ""; |
| | | |
| | | //å°è£
åæ° |
| | | ApiParam param = new ApiParam(apiConf, Constant.API_CATEGORY_11, Constant.API_CODE_1507); |
| | | Api1507 d; |
| | | for (Api1507 data : items) { |
| | | d = new Api1507(); |
| | | BeanUtils.copyProperties(data, d); |
| | | responseDto = apiService.pushData(param, apiConf, d); |
| | | result += responseDto.toString(); |
| | | if (responseDto.getSuccess() == 0) { |
| | | //todo 代表ä¸ä¼ æå ,åæéè¦ä¿åæ¥å¿ |
| | | if("i".equals(d.getCzbz())){ |
| | | d.setCzbz("u"); |
| | | api1507Rep.save(d); |
| | | } |
| | | } |
| | | } |
| | | return result; |
| | | } |
| | | |
| | | /** |
| | | * 夿¡æ°æ®jsonæ¨é |
| | | * |
| | | * @param items |
| | | * @param apiRemoteService |
| | | * @param apiConf |
| | | * @return |
| | | */ |
| | | private String pushDataList(List<Api1507> items, ApiRemoteService apiRemoteService, ApiConfs apiConf) { |
| | | |
| | | //å°è£
åæ° |
| | | ApiParam param = new ApiParam(apiConf, Constant.API_CATEGORY_11, Constant.API_CODE_1507); |
| | | |
| | | //æ¨éï¼æ°æ®ä¸ºéåå½¢å¼ |
| | | ResponseDto responseDto = apiRemoteService.pushData(param, apiConf, items); |
| | | if (responseDto.getSuccess() == 0) { |
| | | //æ¨éæåï¼æ´æ°æ°æ®ä¸ä¼ ç¶æ |
| | | for (Api1507 data : items) { |
| | | if (Constant.CZBZ_I.equals(data.getCzbz())) { |
| | | //æ´æ°ç¶æ |
| | | data.setCzbz(Constant.CZBZ_U); |
| | | api1507Rep.save(data); |
| | | } |
| | | } |
| | | } |
| | | 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.fzzy.api.Constant; |
| | | import com.fzzy.api.data.ApiParam; |
| | | import com.fzzy.api.dto.ResponseDto; |
| | | import com.fzzy.api.entity.Api1508; |
| | | 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.Api1508Rep; |
| | | import org.apache.commons.lang.StringUtils; |
| | | import org.springframework.beans.BeanUtils; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.stereotype.Component; |
| | | |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * 婿¶¦è¡¨ä¿¡æ¯ |
| | | * @author he |
| | | */ |
| | | @Component |
| | | public class Api1508PR { |
| | | |
| | | @Autowired |
| | | private Api1508Rep api1508Rep; |
| | | |
| | | @Autowired |
| | | private ApiCommonService apiCommonService; |
| | | @Autowired |
| | | private ApiPushManager apiPushManager; |
| | | /** |
| | | * api1508PR#listAll |
| | | * |
| | | * @return |
| | | */ |
| | | @DataProvider |
| | | public List<Api1508> listAll() { |
| | | return api1508Rep.findAll(); |
| | | } |
| | | |
| | | /** |
| | | * api1508PR#updateSave |
| | | * |
| | | * @param entity |
| | | */ |
| | | @DataResolver |
| | | public void updateSave(Api1508 entity) { |
| | | |
| | | // æå¨å°doradoEntity对象转æ¢ä¸ºæ åBean对象 |
| | | Api1508 data = new Api1508(); |
| | | BeanUtils.copyProperties(entity, data); |
| | | if (StringUtils.isEmpty(data.getId())){ |
| | | data.setId(ContextUtil.getUUID()); |
| | | } |
| | | api1508Rep.save(data); |
| | | } |
| | | |
| | | /** |
| | | * api1508PR#delData |
| | | * |
| | | * @param data |
| | | */ |
| | | @Expose |
| | | public String delData(Api1508 data) { |
| | | |
| | | api1508Rep.deleteById(data.getId()); |
| | | |
| | | return null; |
| | | } |
| | | |
| | | /** |
| | | * |
| | | * æ´æ°å 餿 è®° api1508PR#delUpdate |
| | | * |
| | | * @param entity |
| | | */ |
| | | @Expose |
| | | public String delUpdate(Api1508 entity) { |
| | | |
| | | entity.setCzbz(Constant.CZBZ_D); |
| | | |
| | | Api1508 data = new Api1508(); |
| | | BeanUtils.copyProperties(entity, data); |
| | | |
| | | api1508Rep.save(data); |
| | | return null; |
| | | } |
| | | |
| | | /** |
| | | * api1508PR#pushData |
| | | * |
| | | * @param items |
| | | */ |
| | | @Expose |
| | | public String pushData(List<Api1508> items) { |
| | | |
| | | String kqdm = items.get(0).getKqdm(); |
| | | ApiConfs apiConf = apiCommonService.getConf(kqdm); |
| | | |
| | | if (null == apiConf) return "ç³»ç»æ²¡æè·åå°å½ååºåºé
置信æ¯ï¼æ§è¡å¤±è´¥"; |
| | | |
| | | //è·åå®ç°æ¥å£ |
| | | ApiRemoteService apiService = apiPushManager.getApiRemoteService(apiConf.getPushProtocol()); |
| | | if (null == apiService) return "ç³»ç»æ²¡æå½åæ¨éåè®®é
ç½®ï¼æ§è¡å¤±è´¥"; |
| | | |
| | | return pushDataSingle(items, apiService, apiConf); |
| | | } |
| | | |
| | | /** |
| | | * åæ¡æ°æ®jsonæ¨é |
| | | * |
| | | * @param items |
| | | * @param apiService |
| | | * @param apiConf |
| | | * @return |
| | | */ |
| | | private String pushDataSingle(List<Api1508> items, ApiRemoteService apiService, ApiConfs apiConf) { |
| | | ResponseDto responseDto; |
| | | String result = ""; |
| | | |
| | | //å°è£
åæ° |
| | | ApiParam param = new ApiParam(apiConf, Constant.API_CATEGORY_11, Constant.API_CODE_1508); |
| | | Api1508 d; |
| | | for (Api1508 data : items) { |
| | | d = new Api1508(); |
| | | BeanUtils.copyProperties(data, d); |
| | | responseDto = apiService.pushData(param, apiConf, d); |
| | | result += responseDto.toString(); |
| | | if (responseDto.getSuccess() == 0) { |
| | | //todo 代表ä¸ä¼ æå ,åæéè¦ä¿åæ¥å¿ |
| | | if("i".equals(d.getCzbz())){ |
| | | d.setCzbz("u"); |
| | | api1508Rep.save(d); |
| | | } |
| | | } |
| | | } |
| | | return result; |
| | | } |
| | | |
| | | /** |
| | | * 夿¡æ°æ®jsonæ¨é |
| | | * |
| | | * @param items |
| | | * @param apiRemoteService |
| | | * @param apiConf |
| | | * @return |
| | | */ |
| | | private String pushDataList(List<Api1508> items, ApiRemoteService apiRemoteService, ApiConfs apiConf) { |
| | | |
| | | //å°è£
åæ° |
| | | ApiParam param = new ApiParam(apiConf, Constant.API_CATEGORY_11, Constant.API_CODE_1508); |
| | | |
| | | //æ¨éï¼æ°æ®ä¸ºéåå½¢å¼ |
| | | ResponseDto responseDto = apiRemoteService.pushData(param, apiConf, items); |
| | | if (responseDto.getSuccess() == 0) { |
| | | //æ¨éæåï¼æ´æ°æ°æ®ä¸ä¼ ç¶æ |
| | | for (Api1508 data : items) { |
| | | if (Constant.CZBZ_I.equals(data.getCzbz())) { |
| | | //æ´æ°ç¶æ |
| | | data.setCzbz(Constant.CZBZ_U); |
| | | api1508Rep.save(data); |
| | | } |
| | | } |
| | | } |
| | | 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.fzzy.api.Constant; |
| | | import com.fzzy.api.data.ApiParam; |
| | | import com.fzzy.api.dto.ResponseDto; |
| | | import com.fzzy.api.entity.Api1509; |
| | | 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.Api1509Rep; |
| | | import org.apache.commons.lang.StringUtils; |
| | | import org.springframework.beans.BeanUtils; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.stereotype.Component; |
| | | |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * 婿¶¦è¡¨ä¿¡æ¯ |
| | | * @author he |
| | | */ |
| | | @Component |
| | | public class Api1509PR { |
| | | |
| | | @Autowired |
| | | private Api1509Rep api1509Rep; |
| | | |
| | | @Autowired |
| | | private ApiCommonService apiCommonService; |
| | | @Autowired |
| | | private ApiPushManager apiPushManager; |
| | | /** |
| | | * api1509PR#listAll |
| | | * |
| | | * @return |
| | | */ |
| | | @DataProvider |
| | | public List<Api1509> listAll() { |
| | | return api1509Rep.findAll(); |
| | | } |
| | | |
| | | /** |
| | | * api1509PR#updateSave |
| | | * |
| | | * @param entity |
| | | */ |
| | | @DataResolver |
| | | public void updateSave(Api1509 entity) { |
| | | |
| | | // æå¨å°doradoEntity对象转æ¢ä¸ºæ åBean对象 |
| | | Api1509 data = new Api1509(); |
| | | BeanUtils.copyProperties(entity, data); |
| | | if (StringUtils.isEmpty(data.getId())){ |
| | | data.setId(ContextUtil.getUUID()); |
| | | } |
| | | api1509Rep.save(data); |
| | | } |
| | | |
| | | /** |
| | | * api1509PR#delData |
| | | * |
| | | * @param data |
| | | */ |
| | | @Expose |
| | | public String delData(Api1509 data) { |
| | | |
| | | api1509Rep.deleteById(data.getId()); |
| | | |
| | | return null; |
| | | } |
| | | |
| | | /** |
| | | * |
| | | * æ´æ°å 餿 è®° api1509PR#delUpdate |
| | | * |
| | | * @param entity |
| | | */ |
| | | @Expose |
| | | public String delUpdate(Api1509 entity) { |
| | | |
| | | entity.setCzbz(Constant.CZBZ_D); |
| | | |
| | | Api1509 data = new Api1509(); |
| | | BeanUtils.copyProperties(entity, data); |
| | | |
| | | api1509Rep.save(data); |
| | | return null; |
| | | } |
| | | |
| | | /** |
| | | * api1509PR#pushData |
| | | * |
| | | * @param items |
| | | */ |
| | | @Expose |
| | | public String pushData(List<Api1509> items) { |
| | | |
| | | String kqdm = items.get(0).getKqdm(); |
| | | ApiConfs apiConf = apiCommonService.getConf(kqdm); |
| | | |
| | | if (null == apiConf) return "ç³»ç»æ²¡æè·åå°å½ååºåºé
置信æ¯ï¼æ§è¡å¤±è´¥"; |
| | | |
| | | //è·åå®ç°æ¥å£ |
| | | ApiRemoteService apiService = apiPushManager.getApiRemoteService(apiConf.getPushProtocol()); |
| | | if (null == apiService) return "ç³»ç»æ²¡æå½åæ¨éåè®®é
ç½®ï¼æ§è¡å¤±è´¥"; |
| | | |
| | | return pushDataSingle(items, apiService, apiConf); |
| | | } |
| | | |
| | | /** |
| | | * åæ¡æ°æ®jsonæ¨é |
| | | * |
| | | * @param items |
| | | * @param apiService |
| | | * @param apiConf |
| | | * @return |
| | | */ |
| | | private String pushDataSingle(List<Api1509> items, ApiRemoteService apiService, ApiConfs apiConf) { |
| | | ResponseDto responseDto; |
| | | String result = ""; |
| | | |
| | | //å°è£
åæ° |
| | | ApiParam param = new ApiParam(apiConf, Constant.API_CATEGORY_11, Constant.API_CODE_1509); |
| | | Api1509 d; |
| | | for (Api1509 data : items) { |
| | | d = new Api1509(); |
| | | BeanUtils.copyProperties(data, d); |
| | | responseDto = apiService.pushData(param, apiConf, d); |
| | | result += responseDto.toString(); |
| | | if (responseDto.getSuccess() == 0) { |
| | | //todo 代表ä¸ä¼ æå ,åæéè¦ä¿åæ¥å¿ |
| | | if("i".equals(d.getCzbz())){ |
| | | d.setCzbz("u"); |
| | | api1509Rep.save(d); |
| | | } |
| | | } |
| | | } |
| | | return result; |
| | | } |
| | | |
| | | /** |
| | | * 夿¡æ°æ®jsonæ¨é |
| | | * |
| | | * @param items |
| | | * @param apiRemoteService |
| | | * @param apiConf |
| | | * @return |
| | | */ |
| | | private String pushDataList(List<Api1509> items, ApiRemoteService apiRemoteService, ApiConfs apiConf) { |
| | | |
| | | //å°è£
åæ° |
| | | ApiParam param = new ApiParam(apiConf, Constant.API_CATEGORY_11, Constant.API_CODE_1509); |
| | | |
| | | //æ¨éï¼æ°æ®ä¸ºéåå½¢å¼ |
| | | ResponseDto responseDto = apiRemoteService.pushData(param, apiConf, items); |
| | | if (responseDto.getSuccess() == 0) { |
| | | //æ¨éæåï¼æ´æ°æ°æ®ä¸ä¼ ç¶æ |
| | | for (Api1509 data : items) { |
| | | if (Constant.CZBZ_I.equals(data.getCzbz())) { |
| | | //æ´æ°ç¶æ |
| | | data.setCzbz(Constant.CZBZ_U); |
| | | api1509Rep.save(data); |
| | | } |
| | | } |
| | | } |
| | | 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.fzzy.api.Constant; |
| | | import com.fzzy.api.data.ApiParam; |
| | | import com.fzzy.api.dto.ResponseDto; |
| | | import com.fzzy.api.entity.Api1510; |
| | | 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.Api1510Rep; |
| | | import org.apache.commons.lang.StringUtils; |
| | | import org.springframework.beans.BeanUtils; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.stereotype.Component; |
| | | |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * 婿¶¦è¡¨ä¿¡æ¯ |
| | | * |
| | | * @author he |
| | | */ |
| | | @Component |
| | | public class Api1510PR { |
| | | |
| | | @Autowired |
| | | private Api1510Rep api1510Rep; |
| | | |
| | | @Autowired |
| | | private ApiCommonService apiCommonService; |
| | | @Autowired |
| | | private ApiPushManager apiPushManager; |
| | | |
| | | /** |
| | | * api1510PR#listAll |
| | | * |
| | | * @return |
| | | */ |
| | | @DataProvider |
| | | public List<Api1510> listAll() { |
| | | return api1510Rep.findAll(); |
| | | } |
| | | |
| | | /** |
| | | * api1510PR#updateSave |
| | | * |
| | | * @param entity |
| | | */ |
| | | @DataResolver |
| | | public void updateSave(Api1510 entity) { |
| | | |
| | | // æå¨å°doradoEntity对象转æ¢ä¸ºæ åBean对象 |
| | | Api1510 data = new Api1510(); |
| | | BeanUtils.copyProperties(entity, data); |
| | | if (StringUtils.isEmpty(data.getId())) { |
| | | data.setId(ContextUtil.getUUID()); |
| | | } |
| | | api1510Rep.save(data); |
| | | } |
| | | |
| | | /** |
| | | * api1510PR#delData |
| | | * |
| | | * @param data |
| | | */ |
| | | @Expose |
| | | public String delData(Api1510 data) { |
| | | |
| | | api1510Rep.deleteById(data.getId()); |
| | | |
| | | return null; |
| | | } |
| | | |
| | | /** |
| | | * æ´æ°å 餿 è®° api1510PR#delUpdate |
| | | * |
| | | * @param entity |
| | | */ |
| | | @Expose |
| | | public String delUpdate(Api1510 entity) { |
| | | |
| | | entity.setCzbz(Constant.CZBZ_D); |
| | | |
| | | Api1510 data = new Api1510(); |
| | | BeanUtils.copyProperties(entity, data); |
| | | |
| | | api1510Rep.save(data); |
| | | return null; |
| | | } |
| | | |
| | | /** |
| | | * api1510PR#pushData |
| | | * |
| | | * @param items |
| | | */ |
| | | @Expose |
| | | public String pushData(List<Api1510> items) { |
| | | |
| | | String kqdm = items.get(0).getKqdm(); |
| | | ApiConfs apiConf = apiCommonService.getConf(kqdm); |
| | | |
| | | if (null == apiConf) return "ç³»ç»æ²¡æè·åå°å½ååºåºé
置信æ¯ï¼æ§è¡å¤±è´¥"; |
| | | |
| | | //è·åå®ç°æ¥å£ |
| | | ApiRemoteService apiService = apiPushManager.getApiRemoteService(apiConf.getPushProtocol()); |
| | | if (null == apiService) return "ç³»ç»æ²¡æå½åæ¨éåè®®é
ç½®ï¼æ§è¡å¤±è´¥"; |
| | | |
| | | return pushDataSingle(items, apiService, apiConf); |
| | | } |
| | | |
| | | /** |
| | | * åæ¡æ°æ®jsonæ¨é |
| | | * |
| | | * @param items |
| | | * @param apiService |
| | | * @param apiConf |
| | | * @return |
| | | */ |
| | | private String pushDataSingle(List<Api1510> items, ApiRemoteService apiService, ApiConfs apiConf) { |
| | | ResponseDto responseDto; |
| | | String result = ""; |
| | | |
| | | //å°è£
åæ° |
| | | ApiParam param = new ApiParam(apiConf, Constant.API_CATEGORY_11, Constant.API_CODE_1510); |
| | | Api1510 d; |
| | | for (Api1510 data : items) { |
| | | d = new Api1510(); |
| | | BeanUtils.copyProperties(data, d); |
| | | responseDto = apiService.pushData(param, apiConf, d); |
| | | result += responseDto.toString(); |
| | | if (responseDto.getSuccess() == 0) { |
| | | //todo 代表ä¸ä¼ æå ,åæéè¦ä¿åæ¥å¿ |
| | | if ("i".equals(d.getCzbz())) { |
| | | d.setCzbz("u"); |
| | | api1510Rep.save(d); |
| | | } |
| | | } |
| | | } |
| | | return result; |
| | | } |
| | | |
| | | /** |
| | | * 夿¡æ°æ®jsonæ¨é |
| | | * |
| | | * @param items |
| | | * @param apiRemoteService |
| | | * @param apiConf |
| | | * @return |
| | | */ |
| | | private String pushDataList(List<Api1510> items, ApiRemoteService apiRemoteService, ApiConfs apiConf) { |
| | | |
| | | //å°è£
åæ° |
| | | ApiParam param = new ApiParam(apiConf, Constant.API_CATEGORY_11, Constant.API_CODE_1510); |
| | | |
| | | //æ¨éï¼æ°æ®ä¸ºéåå½¢å¼ |
| | | ResponseDto responseDto = apiRemoteService.pushData(param, apiConf, items); |
| | | if (responseDto.getSuccess() == 0) { |
| | | //æ¨éæåï¼æ´æ°æ°æ®ä¸ä¼ ç¶æ |
| | | for (Api1510 data : items) { |
| | | if (Constant.CZBZ_I.equals(data.getCzbz())) { |
| | | //æ´æ°ç¶æ |
| | | data.setCzbz(Constant.CZBZ_U); |
| | | api1510Rep.save(data); |
| | | } |
| | | } |
| | | } |
| | | return responseDto.toString(); |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.fzzy.api.view.repository; |
| | | |
| | | |
| | | import com.fzzy.api.entity.Api1504; |
| | | import org.hibernate.annotations.SQLDelete; |
| | | import org.springframework.data.jpa.repository.JpaRepository; |
| | | import org.springframework.data.jpa.repository.Modifying; |
| | | import org.springframework.data.jpa.repository.Query; |
| | | import org.springframework.data.repository.query.Param; |
| | | |
| | | import java.util.Date; |
| | | import java.util.List; |
| | | |
| | | |
| | | public interface Api1504Rep extends JpaRepository<Api1504, String> { |
| | | |
| | | |
| | | /** |
| | | * æ ¹æ®è¡¨å䏻鮿´æ°æä½æ å¿ç¶æ |
| | | * |
| | | * @param id 主é®ID |
| | | * @param czbz æä½æ å¿ |
| | | * @return |
| | | */ |
| | | @Modifying |
| | | @Query("update Api1504 set czbz=:czbz where nAcctId=:nAcctId ") |
| | | int updateStatus(@Param("nAcctId") String id, @Param("czbz") String czbz); |
| | | |
| | | |
| | | /** |
| | | * @param kqdm |
| | | * @return |
| | | */ |
| | | @Query("from Api1504 where kqdm=:kqdm and zhgxsj >=:start and zhgxsj <:end order by zhgxsj ") |
| | | List<Api1504> findPushDataTime(@Param("kqdm") String kqdm, @Param("start") Date start, @Param("end") Date end); |
| | | |
| | | @Query("from Api1504 where nAcctId =:id ") |
| | | List<Api1504> findDateById(@Param("id") String id); |
| | | |
| | | @Query("delete from Api1504 where nAcctId=:nAcctId") |
| | | void deleteById(@Param("nAcctId") Double nAcctId); |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.fzzy.api.view.repository; |
| | | |
| | | |
| | | import com.fzzy.api.entity.Api1505; |
| | | import org.springframework.data.jpa.repository.JpaRepository; |
| | | import org.springframework.data.jpa.repository.Modifying; |
| | | import org.springframework.data.jpa.repository.Query; |
| | | import org.springframework.data.repository.query.Param; |
| | | |
| | | import java.util.Date; |
| | | import java.util.List; |
| | | |
| | | |
| | | public interface Api1505Rep extends JpaRepository<Api1505, String> { |
| | | |
| | | |
| | | |
| | | /** |
| | | * æ ¹æ®è¡¨å䏻鮿´æ°æä½æ å¿ç¶æ |
| | | * @param id 主é®ID |
| | | * @param czbz æä½æ å¿ |
| | | * @return |
| | | */ |
| | | @Modifying |
| | | @Query("update Api1505 set czbz=:czbz where nAcctId=:id ") |
| | | int updateStatus(@Param("id") String id, @Param("czbz") String czbz); |
| | | |
| | | |
| | | /** |
| | | * |
| | | * @param kqdm |
| | | * @return |
| | | */ |
| | | @Query("from Api1505 where kqdm=:kqdm and zhgxsj >=:start and zhgxsj <:end order by zhgxsj ") |
| | | List<Api1505> findPushDataTime(@Param("kqdm") String kqdm, @Param("start") Date start, @Param("end") Date end); |
| | | |
| | | @Query("from Api1505 where nAcctId =:id ") |
| | | List<Api1505> findDateById(@Param("id") String id); |
| | | |
| | | @Query("delete from Api1505 where nAcctId=:nAcctId") |
| | | void deleteById(@Param("nAcctId") Double nAcctId); |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.fzzy.api.view.repository; |
| | | |
| | | |
| | | import com.fzzy.api.entity.Api1506; |
| | | import org.springframework.data.jpa.repository.JpaRepository; |
| | | import org.springframework.data.jpa.repository.Modifying; |
| | | import org.springframework.data.jpa.repository.Query; |
| | | import org.springframework.data.repository.query.Param; |
| | | |
| | | import java.util.Date; |
| | | import java.util.List; |
| | | |
| | | |
| | | public interface Api1506Rep extends JpaRepository<Api1506, String> { |
| | | |
| | | |
| | | |
| | | /** |
| | | * æ ¹æ®è¡¨å䏻鮿´æ°æä½æ å¿ç¶æ |
| | | * @param id 主é®ID |
| | | * @param czbz æä½æ å¿ |
| | | * @return |
| | | */ |
| | | @Modifying |
| | | @Query("update Api1506 set czbz=:czbz where nAcctId=:id ") |
| | | int updateStatus(@Param("id") String id, @Param("czbz") String czbz); |
| | | |
| | | |
| | | /** |
| | | * |
| | | * @param kqdm |
| | | * @return |
| | | */ |
| | | @Query("from Api1506 where kqdm=:kqdm and zhgxsj >=:start and zhgxsj <:end order by zhgxsj ") |
| | | List<Api1506> findPushDataTime(@Param("kqdm") String kqdm, @Param("start") Date start, @Param("end") Date end); |
| | | |
| | | @Query("from Api1506 where nAcctId =:id ") |
| | | List<Api1506> findDateById(@Param("id") String id); |
| | | |
| | | @Query("delete from Api1506 where nAcctId=:nAcctId") |
| | | void deleteById(@Param("nAcctId") Double nAcctId); |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.fzzy.api.view.repository; |
| | | |
| | | |
| | | import com.fzzy.api.entity.Api1507; |
| | | import org.springframework.data.jpa.repository.JpaRepository; |
| | | import org.springframework.data.jpa.repository.Modifying; |
| | | import org.springframework.data.jpa.repository.Query; |
| | | import org.springframework.data.repository.query.Param; |
| | | |
| | | import java.util.Date; |
| | | import java.util.List; |
| | | |
| | | |
| | | public interface Api1507Rep extends JpaRepository<Api1507, String> { |
| | | |
| | | |
| | | |
| | | /** |
| | | * æ ¹æ®è¡¨å䏻鮿´æ°æä½æ å¿ç¶æ |
| | | * @param id 主é®ID |
| | | * @param czbz æä½æ å¿ |
| | | * @return |
| | | */ |
| | | @Modifying |
| | | @Query("update Api1507 set czbz=:czbz where nAcctId=:id ") |
| | | int updateStatus(@Param("id") String id, @Param("czbz") String czbz); |
| | | |
| | | |
| | | /** |
| | | * |
| | | * @param kqdm |
| | | * @return |
| | | */ |
| | | @Query("from Api1507 where kqdm=:kqdm and zhgxsj >=:start and zhgxsj <:end order by zhgxsj ") |
| | | List<Api1507> findPushDataTime(@Param("kqdm") String kqdm, @Param("start") Date start, @Param("end") Date end); |
| | | |
| | | @Query("from Api1507 where nAcctId =:id ") |
| | | List<Api1507> findDateById(@Param("id") String id); |
| | | |
| | | @Query("delete from Api1507 where nAcctId=:nAcctId") |
| | | void deleteById(@Param("nAcctId") Double nAcctId); |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.fzzy.api.view.repository; |
| | | |
| | | |
| | | import com.fzzy.api.entity.Api1508; |
| | | import org.springframework.data.jpa.repository.JpaRepository; |
| | | import org.springframework.data.jpa.repository.Modifying; |
| | | import org.springframework.data.jpa.repository.Query; |
| | | import org.springframework.data.repository.query.Param; |
| | | |
| | | import java.util.Date; |
| | | import java.util.List; |
| | | |
| | | |
| | | public interface Api1508Rep extends JpaRepository<Api1508, String> { |
| | | |
| | | |
| | | |
| | | /** |
| | | * æ ¹æ®è¡¨å䏻鮿´æ°æä½æ å¿ç¶æ |
| | | * @param id 主é®ID |
| | | * @param czbz æä½æ å¿ |
| | | * @return |
| | | */ |
| | | @Modifying |
| | | @Query("update Api1508 set czbz=:czbz where nAcctId=:id ") |
| | | int updateStatus(@Param("id") String id, @Param("czbz") String czbz); |
| | | |
| | | |
| | | /** |
| | | * |
| | | * @param kqdm |
| | | * @return |
| | | */ |
| | | @Query("from Api1508 where kqdm=:kqdm and zhgxsj >=:start and zhgxsj <:end order by zhgxsj ") |
| | | List<Api1508> findPushDataTime(@Param("kqdm") String kqdm, @Param("start") Date start, @Param("end") Date end); |
| | | |
| | | @Query("from Api1508 where nAcctId =:id ") |
| | | List<Api1508> findDateById(@Param("id") String id); |
| | | |
| | | @Query("delete from Api1508 where nAcctId=:nAcctId") |
| | | void deleteById(@Param("nAcctId") Double nAcctId); |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.fzzy.api.view.repository; |
| | | |
| | | |
| | | import com.fzzy.api.entity.Api1509; |
| | | import org.springframework.data.jpa.repository.JpaRepository; |
| | | import org.springframework.data.jpa.repository.Modifying; |
| | | import org.springframework.data.jpa.repository.Query; |
| | | import org.springframework.data.repository.query.Param; |
| | | |
| | | import java.util.Date; |
| | | import java.util.List; |
| | | |
| | | |
| | | public interface Api1509Rep extends JpaRepository<Api1509, String> { |
| | | |
| | | |
| | | |
| | | /** |
| | | * æ ¹æ®è¡¨å䏻鮿´æ°æä½æ å¿ç¶æ |
| | | * @param id 主é®ID |
| | | * @param czbz æä½æ å¿ |
| | | * @return |
| | | */ |
| | | @Modifying |
| | | @Query("update Api1509 set czbz=:czbz where nAcctId=:id ") |
| | | int updateStatus(@Param("id") String id, @Param("czbz") String czbz); |
| | | |
| | | |
| | | /** |
| | | * |
| | | * @param kqdm |
| | | * @return |
| | | */ |
| | | @Query("from Api1509 where kqdm=:kqdm and zhgxsj >=:start and zhgxsj <:end order by zhgxsj ") |
| | | List<Api1509> findPushDataTime(@Param("kqdm") String kqdm, @Param("start") Date start, @Param("end") Date end); |
| | | |
| | | @Query("from Api1509 where nAcctId =:id ") |
| | | List<Api1509> findDateById(@Param("id") String id); |
| | | |
| | | @Query("delete from Api1509 where nAcctId=:nAcctId") |
| | | void deleteById(@Param("nAcctId") Double nAcctId); |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.fzzy.api.view.repository; |
| | | |
| | | |
| | | import com.fzzy.api.entity.Api1510; |
| | | import org.springframework.data.jpa.repository.JpaRepository; |
| | | import org.springframework.data.jpa.repository.Modifying; |
| | | import org.springframework.data.jpa.repository.Query; |
| | | import org.springframework.data.repository.query.Param; |
| | | |
| | | import java.util.Date; |
| | | import java.util.List; |
| | | |
| | | |
| | | public interface Api1510Rep extends JpaRepository<Api1510, String> { |
| | | |
| | | |
| | | /** |
| | | * æ ¹æ®è¡¨å䏻鮿´æ°æä½æ å¿ç¶æ |
| | | * |
| | | * @param id 主é®ID |
| | | * @param czbz æä½æ å¿ |
| | | * @return |
| | | */ |
| | | @Modifying |
| | | @Query("update Api1510 set czbz=:czbz where nAcctId=:id ") |
| | | int updateStatus(@Param("id") String id, @Param("czbz") String czbz); |
| | | |
| | | |
| | | /** |
| | | * @param kqdm |
| | | * @return |
| | | */ |
| | | @Query("from Api1510 where kqdm=:kqdm and zhgxsj >=:start and zhgxsj <:end order by zhgxsj ") |
| | | List<Api1510> findPushDataTime(@Param("kqdm") String kqdm, @Param("start") Date start, @Param("end") Date end); |
| | | |
| | | @Query("from Api1510 where nAcctId =:id ") |
| | | List<Api1510> findDateById(@Param("id") String id); |
| | | |
| | | @Query("delete from Api1510 where nAcctId=:nAcctId") |
| | | void deleteById(@Param("nAcctId") Double nAcctId); |
| | | } |