src/main/java/com/fzzy/async/whhpjl/impl/Fz40ToWhjlSync1207.java
@@ -10,7 +10,7 @@ import com.fzzy.async.whhpjl.entity.Fz40WhjlDefaultContract; import com.fzzy.async.whhpjl.repository.Fz40ToWhjlSync1207Rep; import com.fzzy.otherview.whhpjl.WhjlConstant; import com.fzzy.otherview.whhpjl.dto.WhjlApi1207; import com.fzzy.otherview.whhpjl.dto.WhjlApi1206; import lombok.extern.slf4j.Slf4j; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Component; @@ -56,9 +56,9 @@ try { List<Fz40WhjlDefaultContract> list = fz40ToWhjlSync1207Rep.listApi1207(deptId.substring(0, 4)); List<ApiInfoData> apiInfoDataList; WhjlApi1207 apiData; WhjlApi1206 apiData; for (Fz40WhjlDefaultContract sysData : list) { apiData = new WhjlApi1207(); apiData = new WhjlApi1206(); apiData.setHtid(sysData.getId()); //ååID apiData.setJlqybh(""); //åç²®ä¼ä¸ç¼å· apiData.setSsqymc(""); //åç²®ä¼ä¸åç§° src/main/java/com/fzzy/async/whhpjl/impl/Fz40ToWhjlSync1214.java
@@ -10,7 +10,7 @@ import com.fzzy.async.whhpjl.entity.Fz40WhjlDefaultInoutRecord; import com.fzzy.async.whhpjl.repository.Fz40ToWhjlSync1214Rep; import com.fzzy.otherview.whhpjl.WhjlConstant; import com.fzzy.otherview.whhpjl.dto.WhjlApi1214; import com.fzzy.otherview.whhpjl.dto.WhjlApi1212; import lombok.extern.slf4j.Slf4j; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Component; @@ -56,9 +56,9 @@ try { List<Fz40WhjlDefaultInoutRecord> list = fz40ToWhjlSync1214Rep.listApi1214(deptId.substring(0, 4)); List<ApiInfoData> apiInfoDataList; WhjlApi1214 apiData; WhjlApi1212 apiData; for (Fz40WhjlDefaultInoutRecord sysData : list) { apiData = new WhjlApi1214(); apiData = new WhjlApi1212(); apiData.setCrkid(sysData.getId()); //åºå ¥åºè®°å½ID apiData.setJlqybh(""); //åç²®ä¼ä¸ç¼å· apiData.setSsqymc(""); //åç²®ä¼ä¸åç§° src/main/java/com/fzzy/otherview/whhpjl/WhjlApi1109.view.xml
@@ -6,55 +6,55 @@ <DataType name="dtMain"> <Property name="creationType">com.fzzy.otherview.whhpjl.dto.WhjlApi1109</Property> <PropertyDef name="dadm"> <Property/> <Property></Property> <Property name="label">æ¡£æ¡ä»£ç </Property> </PropertyDef> <PropertyDef name="jlqybh"> <Property/> <Property></Property> <Property name="label">åç²®ä¼ä¸ç¼å·</Property> </PropertyDef> <PropertyDef name="jlqymc"> <Property/> <Property></Property> <Property name="label">åç²®ä¼ä¸åç§°</Property> </PropertyDef> <PropertyDef name="jgzdbh"> <Property/> <Property></Property> <Property name="label">åä¾ç«ç¹ç¼å·</Property> </PropertyDef> <PropertyDef name="jgzdmc"> <Property/> <Property></Property> <Property name="label">åä¾ç«ç¹åç§°</Property> </PropertyDef> <PropertyDef name="cfbh"> <Property/> <Property></Property> <Property name="label">仿¿ç¼å·</Property> </PropertyDef> <PropertyDef name="sscfmc"> <Property/> <Property></Property> <Property name="label">仿¿åç§°</Property> </PropertyDef> <PropertyDef name="dalx"> <Property/> <Property></Property> <Property name="label">æ¡£æ¡ç±»å</Property> </PropertyDef> <PropertyDef name="damc"> <Property/> <Property></Property> <Property name="label">æ¡£æ¡åç§°</Property> </PropertyDef> <PropertyDef name="dawj"> <Property/> <Property></Property> <Property name="label">æ¡£æ¡æä»¶</Property> </PropertyDef> <PropertyDef name="sfyx"> <Property/> <Property></Property> <Property name="label">æ¯å¦ææ</Property> </PropertyDef> <PropertyDef name="bz"> <Property/> <Property></Property> <Property name="label">夿³¨</Property> </PropertyDef> <PropertyDef name="bizId"> <Property/> <Property></Property> <Property name="label">ä¸å¡ID</Property> </PropertyDef> <PropertyDef name="updateTime"> @@ -62,11 +62,11 @@ <Property name="label">æåæ´æ°æ¶é´</Property> </PropertyDef> <PropertyDef name="czbz"> <Property/> <Property></Property> <Property name="label">æä½æ å¿</Property> </PropertyDef> <PropertyDef name="kqdm"> <Property/> <Property></Property> <Property name="label">åºåºä»£ç </Property> </PropertyDef> </DataType> @@ -99,7 +99,7 @@ <Property name="packages">font-awesome,css-common</Property> <DataSet id="dsMain"> <Property name="dataType">[dtMain]</Property> <Property name="dataProvider">whjlApi1110PR#listData</Property> <Property name="dataProvider">whjlApi1109PR#listData</Property> <Property name="pageSize">20</Property> </DataSet> <DataSet id="dsQuery"> @@ -324,7 +324,7 @@ <Tools/> </Dialog> <UpdateAction id="updateSave"> <Property name="dataResolver">whjlApi1110PR#saveData</Property> <Property name="dataResolver">whjlApi1109PR#saveData</Property> <UpdateItem> <Property name="dataPath">[#current]</Property> <Property name="dataSet">dsMain</Property> @@ -332,10 +332,10 @@ </UpdateAction> <AjaxAction id="ajaxDel"> <Property name="confirmMessage">å½åæ°æ®å é¤åæ æ³æ¢å¤ï¼è¯·ç¡®è®¤è¦å é¤ä¹ï¼</Property> <Property name="service">whjlApi1110PR#delData</Property> <Property name="service">whjlApi1109PR#delData</Property> </AjaxAction> <AjaxAction id="ajaxPush"> <Property name="service">whjlApi1110PR#pushData</Property> <Property name="service">whjlApi1109PR#pushData</Property> </AjaxAction> <Dialog id="dialogLog"> <Property name="width">90%</Property> src/main/java/com/fzzy/otherview/whhpjl/WhjlApi1110.view.xml
@@ -119,7 +119,7 @@ <Property name="packages">font-awesome,css-common</Property> <DataSet id="dsMain"> <Property name="dataType">[dtMain]</Property> <Property name="dataProvider">whjlApi1108PR#listData</Property> <Property name="dataProvider">whjlApi1110PR#listData</Property> <Property name="pageSize">20</Property> </DataSet> <DataSet id="dsQuery"> @@ -391,7 +391,7 @@ <Tools/> </Dialog> <UpdateAction id="updateSave"> <Property name="dataResolver">whjlApi1108PR#saveData</Property> <Property name="dataResolver">whjlApi1110PR#saveData</Property> <UpdateItem> <Property name="dataPath">[#current]</Property> <Property name="dataSet">dsMain</Property> @@ -399,10 +399,10 @@ </UpdateAction> <AjaxAction id="ajaxDel"> <Property name="confirmMessage">å½åæ°æ®å é¤åæ æ³æ¢å¤ï¼è¯·ç¡®è®¤è¦å é¤ä¹ï¼</Property> <Property name="service">whjlApi1108PR#delData</Property> <Property name="service">whjlApi1110PR#delData</Property> </AjaxAction> <AjaxAction id="ajaxPush"> <Property name="service">whjlApi1108PR#pushData</Property> <Property name="service">whjlApi1110PR#pushData</Property> </AjaxAction> <Dialog id="dialogLog"> <Property name="width">90%</Property> src/main/java/com/fzzy/otherview/whhpjl/WhjlApi1113.view.xml
@@ -6,88 +6,88 @@ <DataType name="dtMain"> <Property name="creationType">com.fzzy.otherview.whhpjl.dto.WhjlApi1113</Property> <PropertyDef name="sbwhjlbh"> <Property/> <Property></Property> </PropertyDef> <PropertyDef name="jlqybh"> <Property/> <Property></Property> </PropertyDef> <PropertyDef name="jlqymc"> <Property/> <Property></Property> </PropertyDef> <PropertyDef name="jgzdbh"> <Property/> <Property></Property> </PropertyDef> <PropertyDef name="jgzdmc"> <Property/> <Property></Property> </PropertyDef> <PropertyDef name="sbbh"> <Property/> <Property></Property> </PropertyDef> <PropertyDef name="sbmc"> <Property/> <Property></Property> </PropertyDef> <PropertyDef name="wbrq"> <Property name="dataType">Date</Property> </PropertyDef> <PropertyDef name="wbdw"> <Property/> <Property></Property> </PropertyDef> <PropertyDef name="wbr"> <Property/> <Property></Property> </PropertyDef> <PropertyDef name="lxdh"> <Property/> <Property></Property> </PropertyDef> <PropertyDef name="whlr"> <Property/> <Property></Property> </PropertyDef> <PropertyDef name="whjl"> <Property/> <Property></Property> </PropertyDef> <PropertyDef name="fxwt"> <Property/> <Property></Property> </PropertyDef> <PropertyDef name="jjcs"> <Property/> <Property></Property> </PropertyDef> <PropertyDef name="xcwbrq"> <Property name="dataType">Date</Property> </PropertyDef> <PropertyDef name="ysr"> <Property/> <Property></Property> </PropertyDef> <PropertyDef name="whjy"> <Property/> <Property></Property> </PropertyDef> <PropertyDef name="whjlzp"> <Property/> <Property></Property> </PropertyDef> <PropertyDef name="bz"> <Property/> <Property></Property> </PropertyDef> <PropertyDef name="zpid"> <Property/> <Property></Property> </PropertyDef> <PropertyDef name="zpmc"> <Property/> <Property></Property> </PropertyDef> <PropertyDef name="zplj"> <Property/> <Property></Property> </PropertyDef> <PropertyDef name="zpdx"> <Property/> <Property></Property> </PropertyDef> <PropertyDef name="bizId"> <Property/> <Property></Property> </PropertyDef> <PropertyDef name="updateTime"> <Property name="dataType">Date</Property> </PropertyDef> <PropertyDef name="czbz"> <Property/> <Property></Property> </PropertyDef> <PropertyDef name="kqdm"> <Property/> <Property></Property> </PropertyDef> </DataType> <DataType name="dtParam"> @@ -119,7 +119,7 @@ <Property name="packages">font-awesome,css-common</Property> <DataSet id="dsMain"> <Property name="dataType">[dtMain]</Property> <Property name="dataProvider">whjlApi1108PR#listData</Property> <Property name="dataProvider">whjlApi1113PR#listData</Property> </DataSet> <DataSet id="dsQuery"> <ClientEvent name="onReady">self.insert();</ClientEvent> @@ -431,7 +431,7 @@ <Tools/> </Dialog> <UpdateAction id="updateSave"> <Property name="dataResolver">whjlApi1108PR#saveData</Property> <Property name="dataResolver">whjlApi1113PR#saveData</Property> <UpdateItem> <Property name="dataPath">[#current]</Property> <Property name="dataSet">dsMain</Property> @@ -439,10 +439,10 @@ </UpdateAction> <AjaxAction id="ajaxDel"> <Property name="confirmMessage">å½åæ°æ®å é¤åæ æ³æ¢å¤ï¼è¯·ç¡®è®¤è¦å é¤ä¹ï¼</Property> <Property name="service">whjlApi1108PR#delData</Property> <Property name="service">whjlApi1113PR#delData</Property> </AjaxAction> <AjaxAction id="ajaxPush"> <Property name="service">whjlApi1108PR#pushData</Property> <Property name="service">whjlApi1113PR#pushData</Property> </AjaxAction> <Dialog id="dialogLog"> <Property name="width">90%</Property> src/main/java/com/fzzy/otherview/whhpjl/WhjlApi1115.view.xml
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,412 @@ <?xml version="1.0" encoding="UTF-8"?> <ViewConfig> <Arguments/> <Context/> <Model> <DataType name="dtMain"> <Property name="creationType">com.fzzy.otherview.whhpjl.dto.WhjlApi1115</Property> <PropertyDef name="sbbfjlbh"> <Property/> <Property name="label">è®¾å¤æ¥åºè®°å½ç¼å·</Property> </PropertyDef> <PropertyDef name="jlqybh"> <Property/> <Property name="label">åç²®ä¼ä¸ç¼å·</Property> </PropertyDef> <PropertyDef name="jlqymc"> <Property/> <Property name="label">åç²®ä¼ä¸åç§°</Property> </PropertyDef> <PropertyDef name="jgzdbh"> <Property/> <Property name="label">åä¾ç«ç¹ç¼å·</Property> </PropertyDef> <PropertyDef name="jgzdmc"> <Property/> <Property name="label">åä¾ç«ç¹åç§°</Property> </PropertyDef> <PropertyDef name="sbbh"> <Property/> <Property name="label">设å¤ç¼å·</Property> </PropertyDef> <PropertyDef name="sbmc"> <Property/> <Property name="label">设å¤åç§°</Property> </PropertyDef> <PropertyDef name="bfsqsj"> <Property name="dataType">Date</Property> <Property name="label">æ¥åºç³è¯·æ¥æ</Property> </PropertyDef> <PropertyDef name="sqr"> <Property/> <Property name="label">ç³è¯·äºº</Property> </PropertyDef> <PropertyDef name="ysynx"> <Property/> <Property name="label">已使ç¨å¹´é</Property> </PropertyDef> <PropertyDef name="bfyy"> <Property/> <Property name="label">æ¥åºåå </Property> </PropertyDef> <PropertyDef name="pzr"> <Property/> <Property name="label">æ¹å人</Property> </PropertyDef> <PropertyDef name="pzrq"> <Property name="dataType">Date</Property> <Property name="label">æ¹åæ¥æ</Property> </PropertyDef> <PropertyDef name="sm"> <Property/> <Property name="label">说æ</Property> </PropertyDef> <PropertyDef name="bz"> <Property/> <Property name="label">夿³¨</Property> </PropertyDef> <PropertyDef name="bizId"> <Property/> <Property name="label">ä¸å¡ID</Property> </PropertyDef> <PropertyDef name="updateTime"> <Property name="dataType">DateTime</Property> <Property name="label">æåæ´æ°æ¶é´</Property> </PropertyDef> <PropertyDef name="czbz"> <Property/> <Property name="label">æä½æ å¿</Property> </PropertyDef> <PropertyDef name="kqdm"> <Property/> <Property name="label">åºåºä»£ç </Property> </PropertyDef> </DataType> <DataType name="dtParam"> <Property name="creationType">com.fzzy.api.data.ApiParam</Property> <PropertyDef name="kqdm"> <Property></Property> <Property name="label">æå±åºåº</Property> </PropertyDef> <PropertyDef name="start"> <Property name="dataType">Date</Property> <Property name="label">å¼å§æ¶é´</Property> </PropertyDef> <PropertyDef name="end"> <Property name="dataType">Date</Property> <Property name="label">æªæ¢æ¶é´</Property> </PropertyDef> <PropertyDef name="czbz"> <Property></Property> <Property name="label">æä½æ å¿</Property> <Property name="mapping"> <Property name="mapValues">${dorado.getDataProvider("apiTriggerService#trigger").getResult("CZBZ")}</Property> <Property name="keyProperty">code</Property> <Property name="valueProperty">name</Property> </Property> </PropertyDef> </DataType> </Model> <View layout="regionPadding:10"> <Property name="packages">font-awesome,css-common</Property> <DataSet id="dsMain"> <Property name="dataType">[dtMain]</Property> <Property name="dataProvider">whjlApi1115PR#listData</Property> <Property name="parameter">20</Property> </DataSet> <DataSet id="dsQuery"> <ClientEvent name="onReady">self.insert();</ClientEvent> <Property name="dataType">dtParam</Property> </DataSet> <Container layout="regionPadding:10" layoutConstraint="top"> <Property name="exClassName">bg-color</Property> <Property name="height">55</Property> <Property name="contentOverflow">hidden</Property> <Label layoutConstraint="left"> <Property name="text">èåæ ï¼</Property> </Label> <Button layoutConstraint="left"> <ClientEvent name="onClick">view.get("#dsMain").insert();
 view.get("#dialogMain").show();</ClientEvent> <Property name="iconClass">fa fa-plus</Property> <Property name="caption">æ°å¢</Property> <Property name="exClassName">btn-default</Property> </Button> <Button layoutConstraint="left"> <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="exClassName">btn-warm</Property> </Button> <Button layoutConstraint="left"> <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">btn-warn</Property> </Button> <Button layoutConstraint="left"> <ClientEvent name="onClick">view.get("#dsMain").flushAsync();</ClientEvent> <Property name="caption">å·æ°</Property> <Property name="iconClass">fa fa-search</Property> <Property name="exClassName">btn-flush</Property> </Button> <Button layoutConstraint="left"> <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">btn-default</Property> </Button> <Button layoutConstraint="right"> <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">btn-flush</Property> </Button> </Container> <Container layoutConstraint="center"> <Property name="exClassName">bg-color</Property> <DataGrid id="dgMain"> <ClientEvent name="onDataRowDoubleClick">var data = view.get("#dsMain.data:#");
 if(data){
 view.get("#dialogMain").show();
 }</ClientEvent> <Property name="dataSet">dsMain</Property> <Property name="selectionMode">multiRows</Property> <Property name="readOnly">true</Property> <RowNumColumn/> <RowSelectorColumn> <Property name="caption">ä¸ä¼ </Property> </RowSelectorColumn> <DataColumn name="sbbfjlbh"> <Property name="property">sbbfjlbh</Property> </DataColumn> <DataColumn name="jlqybh"> <Property name="property">jlqybh</Property> </DataColumn> <DataColumn name="jlqymc"> <Property name="property">jlqymc</Property> </DataColumn> <DataColumn name="jgzdmc"> <Property name="property">jgzdmc</Property> </DataColumn> <DataColumn name="sbmc"> <Property name="property">sbmc</Property> </DataColumn> <DataColumn name="sqr"> <Property name="property">sqr</Property> </DataColumn> <DataColumn name="ysynx"> <Property name="property">ysynx</Property> </DataColumn> <DataColumn name="czbz"> <Property name="property">czbz</Property> </DataColumn> </DataGrid> </Container> <Container layoutConstraint="bottom"> <Property name="exClassName">bg-color</Property> <DataPilot layoutConstraint="right"> <Property name="dataSet">dsMain</Property> <Property name="itemCodes">pageSize,pages</Property> </DataPilot> </Container> <Dialog id="dialogMain"> <Property name="width">60%</Property> <Property name="closeable">false</Property> <Property name="iconClass">fa fa-sliders</Property> <Property name="caption">è´§ä½ä¿¡æ¯</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> </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> </Button> </Buttons> <Children> <AutoForm> <Property name="dataSet">dsMain</Property> <Property name="cols">*,*,*</Property> <Property name="labelPosition">top</Property> <Property name="labelSeparator">:</Property> <Property name="labelWidth">120</Property> <AutoFormElement> <Property name="name">sbbfjlbh</Property> <Property name="property">sbbfjlbh</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">jlqybh</Property> <Property name="property">jlqybh</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">jlqymc</Property> <Property name="property">jlqymc</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">jgzdbh</Property> <Property name="property">jgzdbh</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">jgzdmc</Property> <Property name="property">jgzdmc</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">sbbh</Property> <Property name="property">sbbh</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">sbmc</Property> <Property name="property">sbmc</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">bfsqsj</Property> <Property name="property">bfsqsj</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">sqr</Property> <Property name="property">sqr</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">ysynx</Property> <Property name="property">ysynx</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">bfyy</Property> <Property name="property">bfyy</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">pzr</Property> <Property name="property">pzr</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">pzrq</Property> <Property name="property">pzrq</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">sm</Property> <Property name="property">sm</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">bz</Property> <Property name="property">bz</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">bizId</Property> <Property name="property">bizId</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">updateTime</Property> <Property name="property">updateTime</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">czbz</Property> <Property name="property">czbz</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">kqdm</Property> <Property name="property">kqdm</Property> <Editor/> </AutoFormElement> </AutoForm> </Children> <Tools/> </Dialog> <UpdateAction id="updateSave"> <Property name="dataResolver">whjlApi1115PR#saveData</Property> <UpdateItem> <Property name="dataPath">[#current]</Property> <Property name="dataSet">dsMain</Property> </UpdateItem> </UpdateAction> <AjaxAction id="ajaxDel"> <Property name="confirmMessage">å½åæ°æ®å é¤åæ æ³æ¢å¤ï¼è¯·ç¡®è®¤è¦å é¤ä¹ï¼</Property> <Property name="service">whjlApi1115PR#delData</Property> </AjaxAction> <AjaxAction id="ajaxPush"> <Property name="service">whjlApi1115PR#pushData</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> </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> <ListDropDown id="listDropYN"> <Property name="items">æ¯,å¦</Property> </ListDropDown> </View> </ViewConfig> src/main/java/com/fzzy/otherview/whhpjl/WhjlApi1205.view.xmlcopy from src/main/java/com/fzzy/otherview/whhpjl/WhjlApi1214.view.xml copy to src/main/java/com/fzzy/otherview/whhpjl/WhjlApi1205.view.xml
Îļþ´Ó src/main/java/com/fzzy/otherview/whhpjl/WhjlApi1214.view.xml ¸´ÖÆ @@ -4,107 +4,153 @@ <Context/> <Model> <DataType name="dtMain"> <Property name="creationType">com.fzzy.otherview.whhpjl.dto.WhjlApi1214</Property> <PropertyDef name="crkid"> <Property/> <Property name="label">åºå ¥åºè®°å½ID</Property> <Property name="creationType">com.fzzy.otherview.whhpjl.dto.WhjlApi1205</Property> <PropertyDef name="ddid"> <Property></Property> <Property name="label">订åID</Property> </PropertyDef> <PropertyDef name="ddbh"> <Property></Property> <Property name="label">订åç¼å·</Property> </PropertyDef> <PropertyDef name="jhid"> <Property></Property> <Property name="label">计åid</Property> </PropertyDef> <PropertyDef name="jlqybh"> <Property/> <Property></Property> <Property name="label">åç²®ä¼ä¸ç¼å·</Property> </PropertyDef> <PropertyDef name="ssqymc"> <Property/> <Property></Property> <Property name="label">åç²®ä¼ä¸åç§°</Property> </PropertyDef> <PropertyDef name="jgzdbh"> <Property/> <Property></Property> <Property name="label">åä¾ç«ç¹ç¼å·</Property> </PropertyDef> <PropertyDef name="jgzdmc"> <Property/> <Property></Property> <Property name="label">åä¾ç«ç¹åç§°</Property> </PropertyDef> <PropertyDef name="ywrq"> <Property/> <Property name="label">ä¸å¡æ¥æ</Property> <PropertyDef name="ddlx"> <Property></Property> <Property name="label">订åç±»å</Property> </PropertyDef> <PropertyDef name="grxsrq"> <Property name="dataType">Date</Property> </PropertyDef> <PropertyDef name="crklx"> <Property/> <Property name="label">åºå ¥åºç±»å</Property> </PropertyDef> <PropertyDef name="ywlx"> <Property/> <Property name="label">ä¸å¡ç±»å</Property> </PropertyDef> <PropertyDef name="crkpz"> <Property/> <Property name="label">åºå ¥åºåè¯</Property> <Property name="label">è´å ¥/é宿¥æ</Property> </PropertyDef> <PropertyDef name="jljgqybh"> <Property/> <Property name="label">å å·¥ä¼ä¸ç¼å·</Property> </PropertyDef> <PropertyDef name="jljgqymc"> <Property/> <Property name="label">å å·¥ä¼ä¸åç§°</Property> <Property></Property> <Property name="label">ä¾åºåä¼ä¸ç¼å·</Property> </PropertyDef> <PropertyDef name="khbh"> <Property/> <Property></Property> <Property name="label">客æ·ç¼å·</Property> </PropertyDef> <PropertyDef name="glzxm"> <Property/> <Property name="label">客æ·å§å</Property> <PropertyDef name="sjjlpzbh"> <Property></Property> <Property name="label">å®é åç²®åç§ç¼å·</Property> </PropertyDef> <PropertyDef name="shdw"> <Property/> <Property name="label">æ¶è´§åä½</Property> <PropertyDef name="sjjlppbh"> <Property></Property> <Property name="label">å®é åç²®åçç¼å·</Property> </PropertyDef> <PropertyDef name="shlxr"> <Property/> <Property name="label">æ¶è´§è系人</Property> <PropertyDef name="jlcpbh"> <Property></Property> <Property name="label">å粮产åç¼å·</Property> </PropertyDef> <PropertyDef name="shlxrdh"> <Property/> <Property name="label">æ¶è´§èç³»çµè¯</Property> <PropertyDef name="cpmc"> <Property></Property> <Property name="label">产ååç§°</Property> </PropertyDef> <PropertyDef name="rjfaid"> <Property/> <Property name="label">åºæ¥æ¹æ¡ID</Property> <PropertyDef name="sjjldjbh"> <Property></Property> <Property name="label">å®é åç²®ç级ç¼å·</Property> </PropertyDef> <PropertyDef name="jhid"> <Property/> <Property name="label">ç¹æªè®¡åID</Property> <PropertyDef name="sjjlsl"> <Property name="dataType">Double</Property> <Property name="label">å®é åç²®æ°é</Property> </PropertyDef> <PropertyDef name="htid"> <Property/> <Property name="label">ååID</Property> <PropertyDef name="sjjlzl"> <Property name="dataType">Double</Property> <Property name="label">å®é åç²®éé</Property> </PropertyDef> <PropertyDef name="psrwid"> <Property/> <Property name="label">é éä»»å¡id</Property> <PropertyDef name="sjdj"> <Property name="dataType">Double</Property> <Property name="label">å®é åä»·</Property> </PropertyDef> <PropertyDef name="yscch"> <Property/> <Property name="label">è¿è¾è½¦è¹å·</Property> <PropertyDef name="sjzj"> <Property name="dataType">Double</Property> <Property name="label">å®é æ»ä»·</Property> </PropertyDef> <PropertyDef name="cyr"> <Property/> <Property name="label">æ¿è¿äºº</Property> <PropertyDef name="zljybhbh"> <Property></Property> <Property name="label">è´¨éæ£éªæ¥åç¼å·</Property> </PropertyDef> <PropertyDef name="cyrdh"> <Property/> <Property name="label">æ¿è¿äººçµè¯</Property> <PropertyDef name="chfs"> <Property></Property> <Property name="label">åºè´§æ¹å¼</Property> </PropertyDef> <PropertyDef name="shdz"> <Property></Property> <Property name="label">æ¶è´§å°å</Property> </PropertyDef> <PropertyDef name="lxdh"> <Property></Property> <Property name="label">èç³»çµè¯</Property> </PropertyDef> <PropertyDef name="lxr"> <Property></Property> <Property name="label">è系人</Property> </PropertyDef> <PropertyDef name="ddjhrq"> <Property name="dataType">Date</Property> <Property name="label">äº¤è´§æ¥æ</Property> </PropertyDef> <PropertyDef name="xh"> <Property></Property> <Property name="label">åºå·</Property> </PropertyDef> <PropertyDef name="sfyx"> <Property></Property> <Property name="label">æ¯å¦ææ</Property> </PropertyDef> <PropertyDef name="bz"> <Property></Property> <Property name="label">夿³¨</Property> </PropertyDef> <PropertyDef name="bizId"> <Property></Property> <Property name="label">ä¸å¡ID</Property> </PropertyDef> <PropertyDef name="updateTime"> <Property name="dataType">DateTime</Property> <Property name="label">æåæ´æ°æ¶é´</Property> </PropertyDef> <PropertyDef name="czbz"> <Property></Property> <Property name="label">æä½æ å¿</Property> </PropertyDef> <PropertyDef name="kqdm"> <Property></Property> <Property name="label">åºåºä»£ç </Property> </PropertyDef> </DataType> <DataType name="dtParam"> <Property name="creationType">com.fzzy.api.data.ApiParam</Property> <PropertyDef name="kqdm"> <Property></Property> <Property name="label">æå±åºåº</Property> </PropertyDef> <PropertyDef name="start"> <Property name="dataType">Date</Property> <Property name="label">æ´æ°æ¶é´</Property> <Property name="label">å¼å§æ¶é´</Property> </PropertyDef> <PropertyDef name="end"> <Property name="dataType">Date</Property> <Property name="label">æªæ¢æ¶é´</Property> </PropertyDef> <PropertyDef name="czbz"> <Property></Property> @@ -115,21 +161,18 @@ <Property name="valueProperty">name</Property> </Property> </PropertyDef> <PropertyDef name="kqdm"> <Property></Property> <Property name="label">åºåºä»£ç </Property> </PropertyDef> <PropertyDef name="bz"> <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">whjlApi1214PR#listData</Property> <Property name="dataProvider">whjlApi1205PR#listData</Property> <Property name="parameter">20</Property> </DataSet> <DataSet id="dsQuery"> <ClientEvent name="onReady">self.insert();</ClientEvent> <Property name="dataType">dtParam</Property> </DataSet> <Container layout="regionPadding:10" layoutConstraint="top"> <Property name="exClassName">bg-color</Property> @@ -216,57 +259,47 @@ <RowSelectorColumn> <Property name="caption">ä¸ä¼ </Property> </RowSelectorColumn> <DataColumn name="crkid"> <Property name="property">crkid</Property> <Property name="align">center</Property> <DataColumn name="ddid"> <Property name="property">ddid</Property> </DataColumn> <DataColumn name="jhid"> <Property name="property">jhid</Property> </DataColumn> <DataColumn name="ssqymc"> <Property name="property">ssqymc</Property> <Property name="align">center</Property> </DataColumn> <DataColumn name="jgzdmc"> <Property name="property">jgzdmc</Property> <Property name="align">center</Property> </DataColumn> <DataColumn name="ywrq"> <Property name="property">ywrq</Property> <Property name="align">center</Property> <DataColumn name="ddlx"> <Property name="property">ddlx</Property> </DataColumn> <DataColumn name="crklx"> <Property name="property">crklx</Property> <Property name="align">center</Property> <DataColumn name="grxsrq"> <Property name="property">grxsrq</Property> </DataColumn> <DataColumn name="ywlx"> <Property name="property">ywlx</Property> <Property name="align">center</Property> <DataColumn name="khbh"> <Property name="property">khbh</Property> </DataColumn> <DataColumn name="crkpz"> <Property name="property">crkpz</Property> <Property name="align">center</Property> <DataColumn name="cpmc"> <Property name="property">cpmc</Property> </DataColumn> <DataColumn name="glzxm"> <Property name="property">glzxm</Property> <Property name="align">center</Property> </DataColumn> <DataColumn name="cyr"> <Property name="property">cyr</Property> <Property name="align">center</Property> </DataColumn> <DataColumn name="cyrdh"> <Property name="property">cyrdh</Property> <Property name="align">center</Property> </DataColumn> <DataColumn name="yscch"> <Property name="property">yscch</Property> <Property name="align">center</Property> <DataColumn name="czbz"> <Property name="property">czbz</Property> </DataColumn> </DataGrid> </Container> <Container layoutConstraint="bottom"> <Property name="exClassName">bg-color</Property> <DataPilot layoutConstraint="right"> <Property name="dataSet">dsMain</Property> <Property name="itemCodes">pageSize,pages</Property> </DataPilot> </Container> <Dialog id="dialogMain"> <Property name="width">85%</Property> <Property name="width">60%</Property> <Property name="closeable">false</Property> <Property name="iconClass">fa fa-sliders</Property> <Property name="caption">客æ·ä¿¡æ¯</Property> <Property name="caption">è´§ä½ä¿¡æ¯</Property> <Buttons> <Button> <ClientEvent name="onClick">var cur = view.get("#dgMain").getCurrentItem();
 @@ -291,10 +324,20 @@ <Property name="cols">*,*,*,*</Property> <Property name="labelPosition">top</Property> <Property name="labelSeparator">:</Property> <Property name="labelAlign">left</Property> <Property name="labelWidth">120</Property> <AutoFormElement> <Property name="name">crkid</Property> <Property name="property">crkid</Property> <Property name="name">ddid</Property> <Property name="property">ddid</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">ddbh</Property> <Property name="property">ddbh</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">jhid</Property> <Property name="property">jhid</Property> <Editor/> </AutoFormElement> <AutoFormElement> @@ -318,115 +361,113 @@ <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">ywrq</Property> <Property name="property">ywrq</Property> <Property name="name">ddlx</Property> <Property name="property">ddlx</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">crklx</Property> <Property name="property">crklx</Property> <Property name="trigger">listDropInOut</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">ywlx</Property> <Property name="property">ywlx</Property> <Property name="trigger">listDropType</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">crkpz</Property> <Property name="property">crkpz</Property> <Property name="name">grxsrq</Property> <Property name="property">grxsrq</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">jljgqybh</Property> <Property name="property">jljgqybh</Property> <Editor> <TextEditor> <Property name="blankText">-----ç¨äºå ¥åº-----</Property> </TextEditor> </Editor> </AutoFormElement> <AutoFormElement> <Property name="name">jljgqymc</Property> <Property name="property">jljgqymc</Property> <Editor> <TextEditor> <Property name="blankText">-----ç¨äºå ¥åº-----</Property> </TextEditor> </Editor> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">khbh</Property> <Property name="property">khbh</Property> <Editor> <TextEditor> <Property name="blankText">-----ç¨äºåºåº-----</Property> </TextEditor> </Editor> </AutoFormElement> <AutoFormElement> <Property name="name">glzxm</Property> <Property name="property">glzxm</Property> <Editor> <TextEditor> <Property name="blankText">-----ç¨äºåºåº-----</Property> </TextEditor> </Editor> </AutoFormElement> <AutoFormElement> <Property name="name">shdw</Property> <Property name="property">shdw</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">shlxr</Property> <Property name="property">shlxr</Property> <Property name="name">sjjlpzbh</Property> <Property name="property">sjjlpzbh</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">shlxrdh</Property> <Property name="property">shlxrdh</Property> <Property name="name">sjjlppbh</Property> <Property name="property">sjjlppbh</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">rjfaid</Property> <Property name="property">rjfaid</Property> <Property name="name">jlcpbh</Property> <Property name="property">jlcpbh</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">jhid</Property> <Property name="property">jhid</Property> <Editor> <TextEditor> <Property name="blankText">-----ç¨äºå ¥åº-----</Property> </TextEditor> </Editor> </AutoFormElement> <AutoFormElement> <Property name="name">htid</Property> <Property name="property">htid</Property> <Property name="name">cpmc</Property> <Property name="property">cpmc</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">psrwid</Property> <Property name="property">psrwid</Property> <Property name="name">sjjldjbh</Property> <Property name="property">sjjldjbh</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">yscch</Property> <Property name="property">yscch</Property> <Property name="name">sjjlsl</Property> <Property name="property">sjjlsl</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">cyr</Property> <Property name="property">cyr</Property> <Property name="name">sjjlzl</Property> <Property name="property">sjjlzl</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">cyrdh</Property> <Property name="property">cyrdh</Property> <Property name="name">sjdj</Property> <Property name="property">sjdj</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">sjzj</Property> <Property name="property">sjzj</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">zljybhbh</Property> <Property name="property">zljybhbh</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">chfs</Property> <Property name="property">chfs</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">shdz</Property> <Property name="property">shdz</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">lxdh</Property> <Property name="property">lxdh</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">lxr</Property> <Property name="property">lxr</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">ddjhrq</Property> <Property name="property">ddjhrq</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">xh</Property> <Property name="property">xh</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">sfyx</Property> <Property name="property">sfyx</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">bz</Property> <Property name="property">bz</Property> <Editor/> </AutoFormElement> <AutoFormElement> @@ -449,17 +490,12 @@ <Property name="property">kqdm</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">bz</Property> <Property name="property">bz</Property> <Editor/> </AutoFormElement> </AutoForm> </Children> <Tools/> </Dialog> <UpdateAction id="updateSave"> <Property name="dataResolver">whjlApi1214PR#saveData</Property> <Property name="dataResolver">whjlApi1205PR#saveData</Property> <UpdateItem> <Property name="dataPath">[#current]</Property> <Property name="dataSet">dsMain</Property> @@ -467,10 +503,10 @@ </UpdateAction> <AjaxAction id="ajaxDel"> <Property name="confirmMessage">å½åæ°æ®å é¤åæ æ³æ¢å¤ï¼è¯·ç¡®è®¤è¦å é¤ä¹ï¼</Property> <Property name="service">whjlApi1214PR#delData</Property> <Property name="service">whjlApi1205PR#delData</Property> </AjaxAction> <AjaxAction id="ajaxPush"> <Property name="service">whjlApi1214PR#pushData</Property> <Property name="service">whjlApi1205PR#pushData</Property> </AjaxAction> <Dialog id="dialogLog"> <Property name="width">90%</Property> @@ -500,12 +536,6 @@ </Dialog> <ListDropDown id="listDropYN"> <Property name="items">æ¯,å¦</Property> </ListDropDown> <ListDropDown id="listDropType"> <Property name="items">æ¥å¸¸åºåº,æ¥å¸¸å ¥åº,åºæ¥åºåº,åºæ¥å ¥åº</Property> </ListDropDown> <ListDropDown id="listDropInOut"> <Property name="items">å ¥åº,åºåº</Property> </ListDropDown> </View> </ViewConfig> src/main/java/com/fzzy/otherview/whhpjl/WhjlApi1206.view.xml
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,774 @@ <?xml version="1.0" encoding="UTF-8"?> <ViewConfig> <Arguments/> <Context/> <Model> <DataType name="dtMain"> <Property name="creationType">com.fzzy.otherview.whhpjl.dto.WhjlApi1206</Property> <PropertyDef name="htid"> <Property></Property> <Property name="label">ååID</Property> </PropertyDef> <PropertyDef name="jlqybh"> <Property></Property> <Property name="label">åç²®ä¼ä¸ç¼å·</Property> </PropertyDef> <PropertyDef name="ssqymc"> <Property></Property> <Property name="label">åç²®ä¼ä¸åç§°</Property> </PropertyDef> <PropertyDef name="jgzdbh"> <Property></Property> <Property name="label">åä¾ç«ç¹ç¼å·</Property> </PropertyDef> <PropertyDef name="jgzdmc"> <Property></Property> <Property name="label">åä¾ç«ç¹åç§°</Property> </PropertyDef> <PropertyDef name="htlx"> <Property></Property> <Property name="label">ååç±»å</Property> <Property name="mapping"> <Property name="mapValues">${dorado.getDataProvider("apiTriggerService#trigger").getResult("HT_YWLX")}</Property> <Property name="keyProperty">code</Property> <Property name="valueProperty">name</Property> </Property> </PropertyDef> <PropertyDef name="htbh"> <Property></Property> <Property name="label">ååç¼å·</Property> </PropertyDef> <PropertyDef name="htbt"> <Property></Property> <Property name="label">ååæ é¢</Property> </PropertyDef> <PropertyDef name="jljgqybh"> <Property></Property> <Property name="label">å å·¥ä¼ä¸ç¼å·</Property> </PropertyDef> <PropertyDef name="jljgqymc"> <Property></Property> <Property name="label">å å·¥ä¼ä¸åç§°</Property> </PropertyDef> <PropertyDef name="htkhbh"> <Property></Property> <Property name="label">åå客æ·ç¼å·</Property> </PropertyDef> <PropertyDef name="htkhmc"> <Property></Property> <Property name="label">åå客æ·åç§°</Property> </PropertyDef> <PropertyDef name="htspdj"> <Property></Property> <Property name="label">åååååä»·</Property> </PropertyDef> <PropertyDef name="htspsl"> <Property name="dataType">Double</Property> <Property name="label">ååååæ°é</Property> <Property name="displayFormat">#0.00</Property> </PropertyDef> <PropertyDef name="spbm"> <Property></Property> <Property name="label">ååç¼ç </Property> </PropertyDef> <PropertyDef name="zje"> <Property name="dataType">Double</Property> <Property name="label">æ»éé¢</Property> </PropertyDef> <PropertyDef name="htqdr"> <Property></Property> <Property name="label">ååç¾è®¢äºº</Property> </PropertyDef> <PropertyDef name="htqdsj"> <Property name="dataType">DateTime</Property> <Property name="label">ååç¾è®¢æ¶é´</Property> </PropertyDef> <PropertyDef name="htsxrq"> <Property name="dataType">Date</Property> <Property name="label">ååçææ¥æ</Property> </PropertyDef> <PropertyDef name="htjzrq"> <Property name="dataType">Date</Property> <Property name="label">ååæªæ¢æ¶é´</Property> </PropertyDef> <PropertyDef name="htcjr"> <Property></Property> <Property name="label">ååå建人</Property> </PropertyDef> <PropertyDef name="htcjsj"> <Property name="dataType">DateTime</Property> <Property name="label">ååå建æ¶é´</Property> </PropertyDef> <PropertyDef name="htdbgjlbz"> <Property></Property> <Property name="label">ååçåæ´è®°å½æ å¿</Property> </PropertyDef> <PropertyDef name="htbgyy"> <Property></Property> <Property name="label">åååæ´åå </Property> </PropertyDef> <PropertyDef name="htgylx"> <Property></Property> <Property name="label">ååä¾åºç±»å</Property> </PropertyDef> <PropertyDef name="yhtbh"> <Property></Property> <Property name="label">åååç¼å·</Property> </PropertyDef> <PropertyDef name="zffs"> <Property></Property> <Property name="label">æ¯ä»æ¹å¼</Property> <Property name="mapping"> <Property name="mapValues">${dorado.getDataProvider("apiTriggerService#trigger").getResult("JSFS")}</Property> <Property name="keyProperty">code</Property> <Property name="valueProperty">name</Property> </Property> </PropertyDef> <PropertyDef name="ywcsl"> <Property name="dataType">Double</Property> <Property name="label">已宿æ°é</Property> </PropertyDef> <PropertyDef name="ywcslje"> <Property></Property> <Property name="label">已宿æ°ééé¢</Property> </PropertyDef> <PropertyDef name="htbz"> <Property></Property> <Property name="label">åå夿³¨</Property> </PropertyDef> <PropertyDef name="xh"> <Property></Property> <Property name="label">åºå·</Property> <Property name="dataType">Integer</Property> </PropertyDef> <PropertyDef name="sfyx"> <Property></Property> <Property name="label">æ¯å¦ææ</Property> </PropertyDef> <PropertyDef name="bz"> <Property></Property> <Property name="label">夿³¨</Property> </PropertyDef> <PropertyDef name="bizId"> <Property></Property> <Property name="label">ä¸å¡ID</Property> </PropertyDef> <PropertyDef name="updateTime"> <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="kqdm"> <Property></Property> <Property name="label">åºåºä»£ç </Property> </PropertyDef> <Reference name="htspqd"> <Property name="parameter">$${this.htid}</Property> <Property name="dataProvider">whjlApi1206PR#listItem</Property> <Property name="dataType">[dtItem]</Property> </Reference> </DataType> <DataType name="dtItem"> <Property name="creationType">com.fzzy.otherview.whhpjl.dto.WhjlQDItem</Property> <PropertyDef name="htspid"> <Property></Property> <Property name="label">ååååID</Property> </PropertyDef> <PropertyDef name="htid"> <Property></Property> <Property name="label">ååID</Property> </PropertyDef> <PropertyDef name="ddid"> <Property></Property> <Property name="label">订åID</Property> </PropertyDef> <PropertyDef name="lspzbm"> <Property></Property> <Property name="label">åç§ç¼å·</Property> </PropertyDef> <PropertyDef name="lspzmc"> <Property></Property> <Property name="label">åç§åç§°</Property> </PropertyDef> <PropertyDef name="cpbh"> <Property></Property> <Property name="label">产åç¼å·</Property> </PropertyDef> <PropertyDef name="cpmc"> <Property></Property> <Property name="label">产ååç§°</Property> </PropertyDef> <PropertyDef name="spsl"> <Property></Property> <Property name="label">ååæ°é</Property> <Property name="dataType">Double</Property> <Property name="displayFormat">#0.00</Property> </PropertyDef> <PropertyDef name="spdj"> <Property></Property> <Property name="label">åååä»·</Property> <Property name="dataType">Double</Property> <Property name="displayFormat">#0.00</Property> </PropertyDef> <PropertyDef name="je"> <Property></Property> <Property name="label">éé¢</Property> <Property name="dataType">Double</Property> <Property name="displayFormat">#0.00</Property> </PropertyDef> <PropertyDef name="ywcsl"> <Property></Property> <Property name="label">已宿æ°é</Property> <Property name="dataType">Double</Property> <Property name="displayFormat">#0.00</Property> </PropertyDef> <PropertyDef name="ywcje"> <Property></Property> <Property name="label">已宿éé¢</Property> <Property name="dataType">Double</Property> <Property name="displayFormat">#0.00</Property> </PropertyDef> <PropertyDef name="bz"> <Property></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">whjlApi1206PR#listData</Property> </DataSet> <Container layout="regionPadding:10" layoutConstraint="top"> <Property name="exClassName">bg-color</Property> <Property name="height">55</Property> <Property name="contentOverflow">hidden</Property> <Label layoutConstraint="left"> <Property name="text">èåæ ï¼</Property> </Label> <Button layoutConstraint="left"> <ClientEvent name="onClick">view.get("#dsMain").insert();
 view.get("#dialogMain").show();</ClientEvent> <Property name="iconClass">fa fa-plus</Property> <Property name="caption">æ°å¢</Property> <Property name="exClassName">btn-default</Property> </Button> <Button layoutConstraint="left"> <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="exClassName">btn-warm</Property> </Button> <Button layoutConstraint="left"> <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">btn-warn</Property> </Button> <Button layoutConstraint="left"> <ClientEvent name="onClick">view.get("#dsMain").flushAsync();</ClientEvent> <Property name="caption">å·æ°</Property> <Property name="iconClass">fa fa-search</Property> <Property name="exClassName">btn-flush</Property> </Button> <Button layoutConstraint="left"> <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">btn-default</Property> </Button> <Button layoutConstraint="right"> <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">btn-flush</Property> </Button> </Container> <Container layoutConstraint="center"> <Property name="exClassName">bg-color</Property> <DataGrid id="dgMain"> <ClientEvent name="onDataRowDoubleClick">var data = view.get("#dsMain.data:#");
 if(data){
 view.get("#dialogMain").show();
 }</ClientEvent> <Property name="dataSet">dsMain</Property> <Property name="selectionMode">multiRows</Property> <Property name="readOnly">true</Property> <RowNumColumn/> <RowSelectorColumn> <Property name="caption">ä¸ä¼ </Property> </RowSelectorColumn> <DataColumn name="htbh"> <Property name="property">htbh</Property> <Property name="align">center</Property> </DataColumn> <DataColumn name="ssqymc"> <Property name="property">ssqymc</Property> <Property name="align">center</Property> </DataColumn> <DataColumn name="jgzdmc"> <Property name="property">jgzdmc</Property> <Property name="align">center</Property> </DataColumn> <DataColumn name="htlx"> <Property name="property">htlx</Property> <Property name="align">center</Property> </DataColumn> <DataColumn name="htbt"> <Property name="property">htbt</Property> <Property name="align">center</Property> </DataColumn> <DataColumn name="htkhmc"> <Property name="property">htkhmc</Property> <Property name="align">center</Property> </DataColumn> <DataColumn name="zje"> <Property name="property">zje</Property> <Property name="align">center</Property> </DataColumn> <DataColumn name="zffs"> <Property name="property">zffs</Property> <Property name="align">center</Property> </DataColumn> <DataColumn name="ywcsl"> <Property name="property">ywcsl</Property> <Property name="align">center</Property> </DataColumn> <DataColumn name="ywcslje"> <Property name="property">ywcslje</Property> <Property name="align">center</Property> </DataColumn> <DataColumn name="htbz"> <Property name="property">htbz</Property> <Property name="align">center</Property> </DataColumn> <DataColumn name="xh"> <Property name="property">xh</Property> <Property name="align">center</Property> </DataColumn> <DataColumn name="sfyx"> <Property name="property">sfyx</Property> <Property name="align">center</Property> </DataColumn> </DataGrid> </Container> <Dialog id="dialogMain" layout="regionPadding:10;padding:5"> <Property name="width">85%</Property> <Property name="closeable">false</Property> <Property name="iconClass">fa fa-sliders</Property> <Property name="caption">客æ·ä¿¡æ¯</Property> <Property name="height">85%</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> </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> </Button> </Buttons> <Children> <FieldSet> <Property name="caption">ååä¿¡æ¯</Property> <Buttons/> <Children> <AutoForm> <Property name="dataSet">dsMain</Property> <Property name="cols">*,*,*,*</Property> <Property name="labelPosition">top</Property> <Property name="labelSeparator">:</Property> <Property name="labelAlign">left</Property> <AutoFormElement> <Property name="name">htlx</Property> <Property name="property">htlx</Property> <Property name="editorType">RadioGroup</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">htid</Property> <Property name="property">htid</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">jlqybh</Property> <Property name="property">jlqybh</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">ssqymc</Property> <Property name="property">ssqymc</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">jgzdbh</Property> <Property name="property">jgzdbh</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">jgzdmc</Property> <Property name="property">jgzdmc</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">htbh</Property> <Property name="property">htbh</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">htbt</Property> <Property name="property">htbt</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">jljgqybh</Property> <Property name="property">jljgqybh</Property> <Editor> <TextEditor> <Property name="blankText">----ç¨äºéè´åå----</Property> </TextEditor> </Editor> </AutoFormElement> <AutoFormElement> <Property name="name">jljgqymc</Property> <Property name="property">jljgqymc</Property> <Editor> <TextEditor> <Property name="blankText">----ç¨äºéè´åå----</Property> </TextEditor> </Editor> </AutoFormElement> <AutoFormElement> <Property name="name">htkhbh</Property> <Property name="property">htkhbh</Property> <Editor> <TextEditor> <Property name="blankText">----ç¨äºéå®åå----</Property> </TextEditor> </Editor> </AutoFormElement> <AutoFormElement> <Property name="name">htkhmc</Property> <Property name="property">htkhmc</Property> <Editor> <TextEditor> <Property name="blankText">----ç¨äºéå®åå----</Property> </TextEditor> </Editor> </AutoFormElement> <AutoFormElement> <Property name="name">htspdj</Property> <Property name="property">htspdj</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">htspsl</Property> <Property name="property">htspsl</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">spbm</Property> <Property name="property">spbm</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">zje</Property> <Property name="property">zje</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">htqdr</Property> <Property name="property">htqdr</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">htqdsj</Property> <Property name="property">htqdsj</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">htsxrq</Property> <Property name="property">htsxrq</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">htjzrq</Property> <Property name="property">htjzrq</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">htcjr</Property> <Property name="property">htcjr</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">htcjsj</Property> <Property name="property">htcjsj</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">htdbgjlbz</Property> <Property name="property">htdbgjlbz</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">htbgyy</Property> <Property name="property">htbgyy</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">htgylx</Property> <Property name="property">htgylx</Property> <Property name="trigger">listDropLX</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">yhtbh</Property> <Property name="property">yhtbh</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">zffs</Property> <Property name="property">zffs</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">ywcsl</Property> <Property name="property">ywcsl</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">ywcslje</Property> <Property name="property">ywcslje</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">htbz</Property> <Property name="property">htbz</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">xh</Property> <Property name="property">xh</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">sfyx</Property> <Property name="property">sfyx</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">bz</Property> <Property name="property">bz</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">bizId</Property> <Property name="property">bizId</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">updateTime</Property> <Property name="property">updateTime</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">czbz</Property> <Property name="property">czbz</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">kqdm</Property> <Property name="property">kqdm</Property> <Editor/> </AutoFormElement> </AutoForm> </Children> </FieldSet> <Panel layout="regionPadding:5"> <Property name="caption">ååå忏 å</Property> <Property name="height">400</Property> <Buttons/> <Children> <Container layout="regionPadding:10"> <Label layoutConstraint="left"> <Property name="text">èåæ ï¼</Property> </Label> <Button layoutConstraint="left"> <ClientEvent name="onClick">var list = view.get("#dsMain.data:#").get("htspqd");
 list.insert({});</ClientEvent> <Property name="caption">æ°å¢</Property> <Property name="exClassName">btn-default</Property> <Property name="iconClass">fa fa-plus</Property> </Button> <Button layoutConstraint="left"> <ClientEvent name="onClick">var data = view.get("#dataGridDetail.currentEntity");
 if(!data){
 return;
 }
 view.get("#ajaxItem").set("parameter",data).execute(function(result){
 if(result){
 $alert(result);
 return;
 }else{
 data.remove();
 }
 });</ClientEvent> <Property name="caption">å é¤</Property> <Property name="exClassName">btn-warn</Property> <Property name="iconClass">fa fa-minus</Property> </Button> </Container> <DataGrid id="dataGridDetail"> <Property name="dataSet">dsMain</Property> <Property name="dataPath">#.htspqd</Property> <DataColumn name="htspid"> <Property name="property">htspid</Property> <Property name="align">center</Property> </DataColumn> <DataColumn name="ddid"> <Property name="property">ddid</Property> <Property name="align">center</Property> </DataColumn> <DataColumn name="lspzbm"> <Property name="property">lspzbm</Property> <Property name="align">center</Property> </DataColumn> <DataColumn name="lspzmc"> <Property name="property">lspzmc</Property> <Property name="align">center</Property> </DataColumn> <DataColumn name="cpbh"> <Property name="property">cpbh</Property> <Property name="align">center</Property> </DataColumn> <DataColumn name="cpmc"> <Property name="property">cpmc</Property> <Property name="align">center</Property> </DataColumn> <DataColumn name="spsl"> <Property name="property">spsl</Property> <Property name="align">center</Property> </DataColumn> <DataColumn name="spdj"> <Property name="property">spdj</Property> <Property name="align">center</Property> </DataColumn> <DataColumn name="je"> <Property name="property">je</Property> <Property name="align">center</Property> </DataColumn> <DataColumn name="ywcsl"> <Property name="property">ywcsl</Property> <Property name="align">center</Property> </DataColumn> <DataColumn name="ywcje"> <Property name="property">ywcje</Property> <Property name="align">center</Property> </DataColumn> <DataColumn name="bz"> <Property name="property">bz</Property> <Property name="align">center</Property> </DataColumn> </DataGrid> </Children> <Tools/> </Panel> </Children> <Tools/> </Dialog> <UpdateAction id="updateSave"> <Property name="dataResolver">whjlApi1206PR#saveData</Property> <UpdateItem> <Property name="dataPath">[#current]</Property> <Property name="dataSet">dsMain</Property> </UpdateItem> </UpdateAction> <AjaxAction id="ajaxDel"> <Property name="confirmMessage">å½åæ°æ®å é¤åæ æ³æ¢å¤ï¼è¯·ç¡®è®¤è¦å é¤ä¹ï¼</Property> <Property name="service">whjlApi1206PR#delData</Property> </AjaxAction> <AjaxAction id="ajaxItem"> <Property name="confirmMessage">å½åæ°æ®å é¤åæ æ³æ¢å¤ï¼è¯·ç¡®è®¤è¦å é¤ä¹ï¼</Property> <Property name="service">whjlApi1206PR#delItem</Property> </AjaxAction> <AjaxAction id="ajaxPush"> <Property name="service">whjlApi1206PR#pushData</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> </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> <ListDropDown id="listDropYN"> <Property name="items">æ¯,å¦</Property> </ListDropDown> <ListDropDown id="listDropLX"> <Property name="items">åç²®ä¾åºåå,å¯é£ä¾åºåå</Property> </ListDropDown> </View> </ViewConfig> src/main/java/com/fzzy/otherview/whhpjl/WhjlApi1207.view.xml
@@ -5,9 +5,9 @@ <Model> <DataType name="dtMain"> <Property name="creationType">com.fzzy.otherview.whhpjl.dto.WhjlApi1207</Property> <PropertyDef name="htid"> <PropertyDef name="kctzbh"> <Property></Property> <Property name="label">ååID</Property> <Property name="label">åºåå°å¸ID</Property> </PropertyDef> <PropertyDef name="jlqybh"> <Property></Property> @@ -25,125 +25,141 @@ <Property></Property> <Property name="label">åä¾ç«ç¹åç§°</Property> </PropertyDef> <PropertyDef name="htlx"> <PropertyDef name="cfbh"> <Property></Property> <Property name="label">ååç±»å</Property> <Property name="mapping"> <Property name="mapValues">${dorado.getDataProvider("apiTriggerService#trigger").getResult("HT_YWLX")}</Property> <Property name="keyProperty">code</Property> <Property name="valueProperty">name</Property> </Property> <Property name="label">仿¿ç¼å·</Property> </PropertyDef> <PropertyDef name="htbh"> <PropertyDef name="cfmc"> <Property></Property> <Property name="label">ååç¼å·</Property> <Property name="label">仿¿åç§°</Property> </PropertyDef> <PropertyDef name="htbt"> <PropertyDef name="ajbh"> <Property></Property> <Property name="label">ååæ é¢</Property> <Property name="label">å»é´ç¼å·</Property> </PropertyDef> <PropertyDef name="jljgqybh"> <PropertyDef name="ajmc"> <Property></Property> <Property name="label">å å·¥ä¼ä¸ç¼å·</Property> <Property name="label">å»é´åç§°</Property> </PropertyDef> <PropertyDef name="jljgqymc"> <PropertyDef name="hwbh"> <Property></Property> <Property name="label">å å·¥ä¼ä¸åç§°</Property> <Property name="label">è´§ä½ç¼å·</Property> </PropertyDef> <PropertyDef name="htkhbh"> <PropertyDef name="hwmc"> <Property></Property> <Property name="label">åå客æ·ç¼å·</Property> <Property name="label">è´§ä½åç§°</Property> </PropertyDef> <PropertyDef name="htkhmc"> <PropertyDef name="lspzbm"> <Property></Property> <Property name="label">åå客æ·åç§°</Property> <Property name="label">åç§ç¼å·</Property> </PropertyDef> <PropertyDef name="htspdj"> <PropertyDef name="lspzmc"> <Property></Property> <Property name="label">åååååä»·</Property> <Property name="label">åç§åç§°</Property> </PropertyDef> <PropertyDef name="htspsl"> <PropertyDef name="cpbm"> <Property></Property> <Property name="label">产åç¼å·</Property> </PropertyDef> <PropertyDef name="cpmc"> <Property></Property> <Property name="label">产ååç§°</Property> </PropertyDef> <PropertyDef name="lqdw"> <Property></Property> <Property name="label">ç²®æåä½</Property> </PropertyDef> <PropertyDef name="bgms"> <Property></Property> <Property name="label">ä¿ç®¡æ¨¡å¼</Property> </PropertyDef> <PropertyDef name="sjsl"> <Property name="dataType">Double</Property> <Property name="label">ååååæ°é</Property> <Property name="displayFormat">#0.00</Property> <Property name="label">å®é æ°é</Property> </PropertyDef> <PropertyDef name="spbm"> <PropertyDef name="jldwbm"> <Property></Property> <Property name="label">ååç¼ç </Property> <Property name="label">计éåä½ç¼ç </Property> </PropertyDef> <PropertyDef name="zje"> <Property name="dataType">Double</Property> <Property name="label">æ»éé¢</Property> </PropertyDef> <PropertyDef name="htqdr"> <PropertyDef name="jldwmc"> <Property></Property> <Property name="label">ååç¾è®¢äºº</Property> <Property name="label">计éåä½åç§°</Property> </PropertyDef> <PropertyDef name="htqdsj"> <Property name="dataType">DateTime</Property> <Property name="label">ååç¾è®¢æ¶é´</Property> <PropertyDef name="jsdwbm"> <Property></Property> <Property name="label">计æ°åä½ç¼ç </Property> </PropertyDef> <PropertyDef name="htsxrq"> <PropertyDef name="jsdwmc"> <Property></Property> <Property name="label">计æ°åä½åç§°</Property> </PropertyDef> <PropertyDef name="clfs"> <Property></Property> <Property name="label">å¨ç²®æ¹å¼</Property> </PropertyDef> <PropertyDef name="kcsbm"> <Property></Property> <Property name="label">åºåè¯å«ç </Property> </PropertyDef> <PropertyDef name="jkrq"> <Property name="dataType">Date</Property> <Property name="label">ååçææ¥æ</Property> <Property name="label">å»ºå¡æ¥æ</Property> </PropertyDef> <PropertyDef name="htjzrq"> <Property name="dataType">Date</Property> <Property name="label">ååæªæ¢æ¶é´</Property> </PropertyDef> <PropertyDef name="htcjr"> <PropertyDef name="sfgd"> <Property></Property> <Property name="label">ååå建人</Property> <Property name="label">æ¯å¦å½æ¡£</Property> </PropertyDef> <PropertyDef name="htcjsj"> <PropertyDef name="gdsj"> <Property name="dataType">DateTime</Property> <Property name="label">ååå建æ¶é´</Property> <Property name="label">彿¡£æ¶é´</Property> </PropertyDef> <PropertyDef name="htdbgjlbz"> <PropertyDef name="kczt"> <Property></Property> <Property name="label">ååçåæ´è®°å½æ å¿</Property> <Property name="label">åºåç¶æ</Property> </PropertyDef> <PropertyDef name="htbgyy"> <Property></Property> <Property name="label">åååæ´åå </Property> </PropertyDef> <PropertyDef name="htgylx"> <Property></Property> <Property name="label">ååä¾åºç±»å</Property> </PropertyDef> <PropertyDef name="yhtbh"> <Property></Property> <Property name="label">åååç¼å·</Property> </PropertyDef> <PropertyDef name="zffs"> <Property></Property> <Property name="label">æ¯ä»æ¹å¼</Property> <Property name="mapping"> <Property name="mapValues">${dorado.getDataProvider("apiTriggerService#trigger").getResult("JSFS")}</Property> <Property name="keyProperty">code</Property> <Property name="valueProperty">name</Property> </Property> </PropertyDef> <PropertyDef name="ywcsl"> <PropertyDef name="rksl"> <Property name="dataType">Double</Property> <Property name="label">已宿æ°é</Property> <Property name="label">å ¥åºæ°é</Property> </PropertyDef> <PropertyDef name="ywcslje"> <Property></Property> <Property name="label">已宿æ°ééé¢</Property> <PropertyDef name="cksl"> <Property name="dataType">Double</Property> <Property name="label">åºåºæ°é</Property> </PropertyDef> <PropertyDef name="htbz"> <Property></Property> <Property name="label">åå夿³¨</Property> <PropertyDef name="kcsl"> <Property name="dataType">Double</Property> <Property name="label">åºåæ°é</Property> </PropertyDef> <PropertyDef name="xh"> <Property></Property> <Property name="label">åºå·</Property> <Property name="dataType">Integer</Property> <PropertyDef name="rkzl"> <Property name="dataType">Double</Property> <Property name="label">å ¥åºéé</Property> </PropertyDef> <PropertyDef name="sfyx"> <Property></Property> <Property name="label">æ¯å¦ææ</Property> <PropertyDef name="ckzl"> <Property name="dataType">Double</Property> <Property name="label">åºåºéé</Property> </PropertyDef> <PropertyDef name="kczl"> <Property name="dataType">Double</Property> <Property name="label">åºåéé</Property> </PropertyDef> <PropertyDef name="ztsl"> <Property name="dataType">Double</Property> <Property name="label">å¨éæ°é</Property> </PropertyDef> <PropertyDef name="ztzl"> <Property name="dataType">Double</Property> <Property name="label">å¨ééé</Property> </PropertyDef> <PropertyDef name="zssl"> <Property name="dataType">Double</Property> <Property name="label">å¨å®æ°é</Property> </PropertyDef> <PropertyDef name="zszl"> <Property name="dataType">Double</Property> <Property name="label">å¨å®éé</Property> </PropertyDef> <PropertyDef name="sxh"> <Property name="dataType">int</Property> <Property name="label">顺åºå·</Property> </PropertyDef> <PropertyDef name="bz"> <Property></Property> @@ -154,91 +170,16 @@ <Property name="label">ä¸å¡ID</Property> </PropertyDef> <PropertyDef name="updateTime"> <Property name="dataType">Date</Property> <Property name="label">æ´æ°æ¶é´</Property> <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> <PropertyDef name="kqdm"> <Property></Property> <Property name="label">åºåºä»£ç </Property> </PropertyDef> <Reference name="htspqd"> <Property name="parameter">$${this.htid}</Property> <Property name="dataProvider">whjlApi1207PR#listItem</Property> <Property name="dataType">[dtItem]</Property> </Reference> </DataType> <DataType name="dtItem"> <Property name="creationType">com.fzzy.otherview.whhpjl.dto.WhjlQDItem</Property> <PropertyDef name="htspid"> <Property></Property> <Property name="label">ååååID</Property> </PropertyDef> <PropertyDef name="htid"> <Property></Property> <Property name="label">ååID</Property> </PropertyDef> <PropertyDef name="ddid"> <Property></Property> <Property name="label">订åID</Property> </PropertyDef> <PropertyDef name="lspzbm"> <Property></Property> <Property name="label">åç§ç¼å·</Property> </PropertyDef> <PropertyDef name="lspzmc"> <Property></Property> <Property name="label">åç§åç§°</Property> </PropertyDef> <PropertyDef name="cpbh"> <Property></Property> <Property name="label">产åç¼å·</Property> </PropertyDef> <PropertyDef name="cpmc"> <Property></Property> <Property name="label">产ååç§°</Property> </PropertyDef> <PropertyDef name="spsl"> <Property></Property> <Property name="label">ååæ°é</Property> <Property name="dataType">Double</Property> <Property name="displayFormat">#0.00</Property> </PropertyDef> <PropertyDef name="spdj"> <Property></Property> <Property name="label">åååä»·</Property> <Property name="dataType">Double</Property> <Property name="displayFormat">#0.00</Property> </PropertyDef> <PropertyDef name="je"> <Property></Property> <Property name="label">éé¢</Property> <Property name="dataType">Double</Property> <Property name="displayFormat">#0.00</Property> </PropertyDef> <PropertyDef name="ywcsl"> <Property></Property> <Property name="label">已宿æ°é</Property> <Property name="dataType">Double</Property> <Property name="displayFormat">#0.00</Property> </PropertyDef> <PropertyDef name="ywcje"> <Property></Property> <Property name="label">已宿éé¢</Property> <Property name="dataType">Double</Property> <Property name="displayFormat">#0.00</Property> </PropertyDef> <PropertyDef name="bz"> <Property></Property> <Property name="label">夿³¨</Property> </PropertyDef> </DataType> </Model> @@ -246,7 +187,8 @@ <Property name="packages">font-awesome,css-common</Property> <DataSet id="dsMain"> <Property name="dataType">[dtMain]</Property> <Property name="dataProvider">whjlApi1207PR#listData</Property> <Property name="dataProvider">whjlApi1206PR#listData</Property> <Property name="pageSize">20</Property> </DataSet> <Container layout="regionPadding:10" layoutConstraint="top"> <Property name="exClassName">bg-color</Property> @@ -333,66 +275,64 @@ <RowSelectorColumn> <Property name="caption">ä¸ä¼ </Property> </RowSelectorColumn> <DataColumn name="htbh"> <Property name="property">htbh</Property> <Property name="align">center</Property> <DataColumn name="kctzbh"> <Property name="property">kctzbh</Property> </DataColumn> <DataColumn name="jlqybh"> <Property name="property">jlqybh</Property> </DataColumn> <DataColumn name="ssqymc"> <Property name="property">ssqymc</Property> <Property name="align">center</Property> </DataColumn> <DataColumn name="jgzdbh"> <Property name="property">jgzdbh</Property> </DataColumn> <DataColumn name="jgzdmc"> <Property name="property">jgzdmc</Property> <Property name="align">center</Property> </DataColumn> <DataColumn name="htlx"> <Property name="property">htlx</Property> <Property name="align">center</Property> <DataColumn name="cfbh"> <Property name="property">cfbh</Property> </DataColumn> <DataColumn name="htbt"> <Property name="property">htbt</Property> <Property name="align">center</Property> <DataColumn name="jldwmc"> <Property name="property">jldwmc</Property> </DataColumn> <DataColumn name="htkhmc"> <Property name="property">htkhmc</Property> <Property name="align">center</Property> <DataColumn name="jsdwmc"> <Property name="property">jsdwmc</Property> </DataColumn> <DataColumn name="zje"> <Property name="property">zje</Property> <Property name="align">center</Property> <DataColumn name="clfs"> <Property name="property">clfs</Property> </DataColumn> <DataColumn name="zffs"> <Property name="property">zffs</Property> <Property name="align">center</Property> </DataColumn> <DataColumn name="ywcsl"> <Property name="property">ywcsl</Property> <Property name="align">center</Property> </DataColumn> <DataColumn name="ywcslje"> <Property name="property">ywcslje</Property> <Property name="align">center</Property> </DataColumn> <DataColumn name="htbz"> <Property name="property">htbz</Property> <Property name="align">center</Property> </DataColumn> <DataColumn name="xh"> <Property name="property">xh</Property> <Property name="align">center</Property> </DataColumn> <DataColumn name="sfyx"> <Property name="property">sfyx</Property> <Property name="align">center</Property> <DataColumn name="czbz"> <Property name="property">czbz</Property> </DataColumn> </DataGrid> </Container> <Dialog id="dialogMain" layout="regionPadding:10;padding:5"> <Property name="width">85%</Property> <Container layoutConstraint="bottom"> <Property name="exClassName">bg-color</Property> <DataPilot layoutConstraint="right"> <Property name="dataSet">dsMain</Property> <Property name="itemCodes">pageSize,pages</Property> </DataPilot> </Container> <UpdateAction id="updateSave"> <Property name="dataResolver">whjlApi1207PR#saveData</Property> <UpdateItem> <Property name="dataPath">[#current]</Property> <Property name="dataSet">dsMain</Property> </UpdateItem> </UpdateAction> <AjaxAction id="ajaxDel"> <Property name="confirmMessage">å½åæ°æ®å é¤åæ æ³æ¢å¤ï¼è¯·ç¡®è®¤è¦å é¤ä¹ï¼</Property> <Property name="service">whjlApi1207PR#delData</Property> </AjaxAction> <AjaxAction id="ajaxPush"> <Property name="service">whjlApi1207PR#pushData</Property> </AjaxAction> <Dialog id="dialogMain"> <Property name="width">60%</Property> <Property name="closeable">false</Property> <Property name="iconClass">fa fa-sliders</Property> <Property name="caption">客æ·ä¿¡æ¯</Property> <Property name="height">85%</Property> <Property name="caption">è´§ä½ä¿¡æ¯</Property> <Buttons> <Button> <ClientEvent name="onClick">var cur = view.get("#dgMain").getCurrentItem();
 @@ -412,332 +352,236 @@ </Button> </Buttons> <Children> <FieldSet> <Property name="caption">ååä¿¡æ¯</Property> <Buttons/> <Children> <AutoForm> <Property name="dataSet">dsMain</Property> <Property name="cols">*,*,*,*</Property> <Property name="labelPosition">top</Property> <Property name="labelSeparator">:</Property> <Property name="labelAlign">left</Property> <AutoFormElement> <Property name="name">htlx</Property> <Property name="property">htlx</Property> <Property name="editorType">RadioGroup</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">htid</Property> <Property name="property">htid</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">jlqybh</Property> <Property name="property">jlqybh</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">ssqymc</Property> <Property name="property">ssqymc</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">jgzdbh</Property> <Property name="property">jgzdbh</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">jgzdmc</Property> <Property name="property">jgzdmc</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">htbh</Property> <Property name="property">htbh</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">htbt</Property> <Property name="property">htbt</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">jljgqybh</Property> <Property name="property">jljgqybh</Property> <Editor> <TextEditor> <Property name="blankText">----ç¨äºéè´åå----</Property> </TextEditor> </Editor> </AutoFormElement> <AutoFormElement> <Property name="name">jljgqymc</Property> <Property name="property">jljgqymc</Property> <Editor> <TextEditor> <Property name="blankText">----ç¨äºéè´åå----</Property> </TextEditor> </Editor> </AutoFormElement> <AutoFormElement> <Property name="name">htkhbh</Property> <Property name="property">htkhbh</Property> <Editor> <TextEditor> <Property name="blankText">----ç¨äºéå®åå----</Property> </TextEditor> </Editor> </AutoFormElement> <AutoFormElement> <Property name="name">htkhmc</Property> <Property name="property">htkhmc</Property> <Editor> <TextEditor> <Property name="blankText">----ç¨äºéå®åå----</Property> </TextEditor> </Editor> </AutoFormElement> <AutoFormElement> <Property name="name">htspdj</Property> <Property name="property">htspdj</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">htspsl</Property> <Property name="property">htspsl</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">spbm</Property> <Property name="property">spbm</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">zje</Property> <Property name="property">zje</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">htqdr</Property> <Property name="property">htqdr</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">htqdsj</Property> <Property name="property">htqdsj</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">htsxrq</Property> <Property name="property">htsxrq</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">htjzrq</Property> <Property name="property">htjzrq</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">htcjr</Property> <Property name="property">htcjr</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">htcjsj</Property> <Property name="property">htcjsj</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">htdbgjlbz</Property> <Property name="property">htdbgjlbz</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">htbgyy</Property> <Property name="property">htbgyy</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">htgylx</Property> <Property name="property">htgylx</Property> <Property name="trigger">listDropLX</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">yhtbh</Property> <Property name="property">yhtbh</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">zffs</Property> <Property name="property">zffs</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">ywcsl</Property> <Property name="property">ywcsl</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">ywcslje</Property> <Property name="property">ywcslje</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">htbz</Property> <Property name="property">htbz</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">xh</Property> <Property name="property">xh</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">sfyx</Property> <Property name="property">sfyx</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">bz</Property> <Property name="property">bz</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">bizId</Property> <Property name="property">bizId</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">updateTime</Property> <Property name="property">updateTime</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">czbz</Property> <Property name="property">czbz</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">kqdm</Property> <Property name="property">kqdm</Property> <Editor/> </AutoFormElement> </AutoForm> </Children> </FieldSet> <Panel layout="regionPadding:5"> <Property name="caption">ååå忏 å</Property> <Property name="height">400</Property> <Buttons/> <Children> <Container layout="regionPadding:10"> <Label layoutConstraint="left"> <Property name="text">èåæ ï¼</Property> </Label> <Button layoutConstraint="left"> <ClientEvent name="onClick">var list = view.get("#dsMain.data:#").get("htspqd");
 list.insert({});</ClientEvent> <Property name="caption">æ°å¢</Property> <Property name="exClassName">btn-default</Property> <Property name="iconClass">fa fa-plus</Property> </Button> <Button layoutConstraint="left"> <ClientEvent name="onClick">var data = view.get("#dataGridDetail.currentEntity");
 if(!data){
 return;
 }
 view.get("#ajaxItem").set("parameter",data).execute(function(result){
 if(result){
 $alert(result);
 return;
 }else{
 data.remove();
 }
 });</ClientEvent> <Property name="caption">å é¤</Property> <Property name="exClassName">btn-warn</Property> <Property name="iconClass">fa fa-minus</Property> </Button> </Container> <DataGrid id="dataGridDetail"> <Property name="dataSet">dsMain</Property> <Property name="dataPath">#.htspqd</Property> <DataColumn name="htspid"> <Property name="property">htspid</Property> <Property name="align">center</Property> </DataColumn> <DataColumn name="ddid"> <Property name="property">ddid</Property> <Property name="align">center</Property> </DataColumn> <DataColumn name="lspzbm"> <Property name="property">lspzbm</Property> <Property name="align">center</Property> </DataColumn> <DataColumn name="lspzmc"> <Property name="property">lspzmc</Property> <Property name="align">center</Property> </DataColumn> <DataColumn name="cpbh"> <Property name="property">cpbh</Property> <Property name="align">center</Property> </DataColumn> <DataColumn name="cpmc"> <Property name="property">cpmc</Property> <Property name="align">center</Property> </DataColumn> <DataColumn name="spsl"> <Property name="property">spsl</Property> <Property name="align">center</Property> </DataColumn> <DataColumn name="spdj"> <Property name="property">spdj</Property> <Property name="align">center</Property> </DataColumn> <DataColumn name="je"> <Property name="property">je</Property> <Property name="align">center</Property> </DataColumn> <DataColumn name="ywcsl"> <Property name="property">ywcsl</Property> <Property name="align">center</Property> </DataColumn> <DataColumn name="ywcje"> <Property name="property">ywcje</Property> <Property name="align">center</Property> </DataColumn> <DataColumn name="bz"> <Property name="property">bz</Property> <Property name="align">center</Property> </DataColumn> </DataGrid> </Children> <Tools/> </Panel> <AutoForm> <Property name="dataSet">dsMain</Property> <Property name="cols">*,*,*,*</Property> <Property name="labelPosition">top</Property> <Property name="labelSeparator">:</Property> <Property name="labelWidth">120</Property> <AutoFormElement> <Property name="name">kctzbh</Property> <Property name="property">kctzbh</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">jlqybh</Property> <Property name="property">jlqybh</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">ssqymc</Property> <Property name="property">ssqymc</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">jgzdbh</Property> <Property name="property">jgzdbh</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">jgzdmc</Property> <Property name="property">jgzdmc</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">cfbh</Property> <Property name="property">cfbh</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">cfmc</Property> <Property name="property">cfmc</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">ajbh</Property> <Property name="property">ajbh</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">ajmc</Property> <Property name="property">ajmc</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">hwbh</Property> <Property name="property">hwbh</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">hwmc</Property> <Property name="property">hwmc</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">lspzbm</Property> <Property name="property">lspzbm</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">lspzmc</Property> <Property name="property">lspzmc</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">cpbm</Property> <Property name="property">cpbm</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">cpmc</Property> <Property name="property">cpmc</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">lqdw</Property> <Property name="property">lqdw</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">bgms</Property> <Property name="property">bgms</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">sjsl</Property> <Property name="property">sjsl</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">jldwbm</Property> <Property name="property">jldwbm</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">jldwmc</Property> <Property name="property">jldwmc</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">jsdwbm</Property> <Property name="property">jsdwbm</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">jsdwmc</Property> <Property name="property">jsdwmc</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">clfs</Property> <Property name="property">clfs</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">kcsbm</Property> <Property name="property">kcsbm</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">jkrq</Property> <Property name="property">jkrq</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">sfgd</Property> <Property name="property">sfgd</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">gdsj</Property> <Property name="property">gdsj</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">kczt</Property> <Property name="property">kczt</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">rksl</Property> <Property name="property">rksl</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">cksl</Property> <Property name="property">cksl</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">kcsl</Property> <Property name="property">kcsl</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">rkzl</Property> <Property name="property">rkzl</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">ckzl</Property> <Property name="property">ckzl</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">kczl</Property> <Property name="property">kczl</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">ztsl</Property> <Property name="property">ztsl</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">ztzl</Property> <Property name="property">ztzl</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">zssl</Property> <Property name="property">zssl</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">zszl</Property> <Property name="property">zszl</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">sxh</Property> <Property name="property">sxh</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">bz</Property> <Property name="property">bz</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">bizId</Property> <Property name="property">bizId</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">updateTime</Property> <Property name="property">updateTime</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">czbz</Property> <Property name="property">czbz</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">kqdm</Property> <Property name="property">kqdm</Property> <Editor/> </AutoFormElement> </AutoForm> </Children> <Tools/> </Dialog> <UpdateAction id="updateSave"> <Property name="dataResolver">whjlApi1207PR#saveData</Property> <UpdateItem> <Property name="dataPath">[#current]</Property> <Property name="dataSet">dsMain</Property> </UpdateItem> </UpdateAction> <AjaxAction id="ajaxDel"> <Property name="confirmMessage">å½åæ°æ®å é¤åæ æ³æ¢å¤ï¼è¯·ç¡®è®¤è¦å é¤ä¹ï¼</Property> <Property name="service">whjlApi1207PR#delData</Property> </AjaxAction> <AjaxAction id="ajaxItem"> <Property name="confirmMessage">å½åæ°æ®å é¤åæ æ³æ¢å¤ï¼è¯·ç¡®è®¤è¦å é¤ä¹ï¼</Property> <Property name="service">whjlApi1207PR#delItem</Property> </AjaxAction> <AjaxAction id="ajaxPush"> <Property name="service">whjlApi1207PR#pushData</Property> </AjaxAction> <Dialog id="dialogLog"> <Property name="width">90%</Property> <Property name="height">90%</Property> src/main/java/com/fzzy/otherview/whhpjl/WhjlApi1208.view.xml
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,601 @@ <?xml version="1.0" encoding="UTF-8"?> <ViewConfig> <Arguments/> <Context/> <Model> <DataType name="dtMain"> <Property name="creationType">com.fzzy.otherview.whhpjl.dto.WhjlApi1208</Property> <PropertyDef name="kctzcppcid"> <Property></Property> <Property name="label">åºåå°äº§åæ¹æ¬¡ID</Property> </PropertyDef> <PropertyDef name="kctzbh"> <Property></Property> <Property name="label">åºåå°å¸ID</Property> </PropertyDef> <PropertyDef name="jlqybh"> <Property></Property> <Property name="label">åç²®ä¼ä¸ç¼å·</Property> </PropertyDef> <PropertyDef name="ssqymc"> <Property></Property> <Property name="label">åç²®ä¼ä¸åç§°</Property> </PropertyDef> <PropertyDef name="jgzdbh"> <Property></Property> <Property name="label">åä¾ç«ç¹ç¼å·</Property> </PropertyDef> <PropertyDef name="jgzdmc"> <Property></Property> <Property name="label">åä¾ç«ç¹åç§°</Property> </PropertyDef> <PropertyDef name="cpbm"> <Property></Property> <Property name="label">产åç¼å·</Property> </PropertyDef> <PropertyDef name="cpmc"> <Property></Property> <Property name="label">产ååç§°</Property> </PropertyDef> <PropertyDef name="cpnd"> <Property></Property> <Property name="label">产å年度</Property> </PropertyDef> <PropertyDef name="cpcd"> <Property></Property> <Property name="label">产å产å°</Property> </PropertyDef> <PropertyDef name="yssj"> <Property></Property> <Property name="label">éªæ¶æ¶é´</Property> <Property name="dataType">DateTime</Property> </PropertyDef> <PropertyDef name="cppc"> <Property></Property> <Property name="label">äº§åæ¹æ¬¡</Property> </PropertyDef> <PropertyDef name="scrq"> <Property name="dataType">Date</Property> <Property name="label">çäº§æ¥æ</Property> </PropertyDef> <PropertyDef name="bzq"> <Property name="dataType">Double</Property> <Property name="label">ä¿è´¨æ</Property> </PropertyDef> <PropertyDef name="bzjzrq"> <Property name="dataType">Date</Property> <Property name="label">ä¿è´¨æªæ¢æ¥æ</Property> </PropertyDef> <PropertyDef name="rksl"> <Property name="dataType">Double</Property> <Property name="label">å ¥åºæ°é</Property> </PropertyDef> <PropertyDef name="cksl"> <Property name="dataType">Double</Property> <Property name="label">åºåºæ°é</Property> </PropertyDef> <PropertyDef name="kcsl"> <Property name="dataType">Double</Property> <Property name="label">åºåæ°é</Property> </PropertyDef> <PropertyDef name="rkzl"> <Property name="dataType">Double</Property> <Property name="label">å ¥åºéé</Property> </PropertyDef> <PropertyDef name="ckzl"> <Property name="dataType">Double</Property> <Property name="label">åºåºéé</Property> </PropertyDef> <PropertyDef name="kczl"> <Property name="dataType">Double</Property> <Property name="label">åºåéé</Property> </PropertyDef> <PropertyDef name="dj"> <Property name="dataType">Double</Property> <Property name="label">åä»·</Property> </PropertyDef> <PropertyDef name="je"> <Property name="dataType">Double</Property> <Property name="label">éé¢</Property> </PropertyDef> <PropertyDef name="jldwbm"> <Property></Property> <Property name="label">计éåä½ç¼ç </Property> </PropertyDef> <PropertyDef name="jldwmc"> <Property></Property> <Property name="label">计éåä½åç§°</Property> </PropertyDef> <PropertyDef name="jsdwbm"> <Property></Property> <Property name="label">计æ°åä½ç¼ç </Property> </PropertyDef> <PropertyDef name="jsdwmc"> <Property></Property> <Property name="label">计æ°åä½åç§°</Property> </PropertyDef> <PropertyDef name="rkkssj"> <Property name="dataType">DateTime</Property> <Property name="label">å ¥åºå¼å§æ¶é´</Property> </PropertyDef> <PropertyDef name="rkjssj"> <Property></Property> <Property name="label">å ¥åºç»ææ¶é´</Property> <Property name="dataType">DateTime</Property> </PropertyDef> <PropertyDef name="ckkssj"> <Property></Property> <Property name="dataType">DateTime</Property> <Property name="label">åºåºå¼å§æ¶é´</Property> </PropertyDef> <PropertyDef name="ckjssj"> <Property></Property> <Property name="label">åºåºç»ææ¶é´</Property> <Property name="dataType">DateTime</Property> </PropertyDef> <PropertyDef name="sjsl"> <Property name="dataType">Double</Property> <Property name="label">å®é æ°é</Property> </PropertyDef> <PropertyDef name="zlzt"> <Property></Property> <Property name="label">è´¨éç¶æ</Property> </PropertyDef> <PropertyDef name="kczt"> <Property></Property> <Property name="label">åºåç¶æ</Property> </PropertyDef> <PropertyDef name="sxh"> <Property name="dataType">int</Property> <Property name="label">顺åºå·</Property> </PropertyDef> <PropertyDef name="bz"> <Property></Property> <Property name="label">夿³¨</Property> </PropertyDef> <PropertyDef name="bizId"> <Property></Property> <Property name="label">ä¸å¡ID</Property> </PropertyDef> <PropertyDef name="updateTime"> <Property name="dataType">DateTime</Property> <Property name="label">æåæ´æ°æ¶é´</Property> </PropertyDef> <PropertyDef name="czbz"> <Property></Property> <Property name="label">æä½æ å¿</Property> </PropertyDef> <PropertyDef name="kqdm"> <Property></Property> <Property name="label">åºåºä»£ç </Property> </PropertyDef> </DataType> <DataType name="dtParam"> <Property name="creationType">com.fzzy.api.data.ApiParam</Property> <PropertyDef name="kqdm"> <Property></Property> <Property name="label">æå±åºåº</Property> </PropertyDef> <PropertyDef name="start"> <Property name="dataType">Date</Property> <Property name="label">å¼å§æ¶é´</Property> </PropertyDef> <PropertyDef name="end"> <Property name="dataType">Date</Property> <Property name="label">æªæ¢æ¶é´</Property> </PropertyDef> <PropertyDef name="czbz"> <Property></Property> <Property name="label">æä½æ å¿</Property> <Property name="mapping"> <Property name="mapValues">${dorado.getDataProvider("apiTriggerService#trigger").getResult("CZBZ")}</Property> <Property name="keyProperty">code</Property> <Property name="valueProperty">name</Property> </Property> </PropertyDef> </DataType> </Model> <View layout="regionPadding:10"> <Property name="packages">font-awesome,css-common</Property> <DataSet id="dsMain"> <Property name="dataType">[dtMain]</Property> <Property name="dataProvider">whjlApi1208PR#listData</Property> </DataSet> <DataSet id="dsQuery"> <ClientEvent name="onReady">self.insert();</ClientEvent> <Property name="dataType">dtParam</Property> </DataSet> <Container layout="regionPadding:10" layoutConstraint="top"> <Property name="exClassName">bg-color</Property> <Property name="height">55</Property> <Property name="contentOverflow">hidden</Property> <Label layoutConstraint="left"> <Property name="text">èåæ ï¼</Property> </Label> <Button layoutConstraint="left"> <ClientEvent name="onClick">view.get("#dsMain").insert();
 view.get("#dialogMain").show();</ClientEvent> <Property name="iconClass">fa fa-plus</Property> <Property name="caption">æ°å¢</Property> <Property name="exClassName">btn-default</Property> </Button> <Button layoutConstraint="left"> <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="exClassName">btn-warm</Property> </Button> <Button layoutConstraint="left"> <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">btn-warn</Property> </Button> <Button layoutConstraint="left"> <ClientEvent name="onClick">view.get("#dsMain").flushAsync();</ClientEvent> <Property name="caption">å·æ°</Property> <Property name="iconClass">fa fa-search</Property> <Property name="exClassName">btn-flush</Property> </Button> <Button layoutConstraint="left"> <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">btn-default</Property> </Button> <Button layoutConstraint="right"> <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">btn-flush</Property> </Button> </Container> <Container layoutConstraint="center"> <Property name="exClassName">bg-color</Property> <DataGrid id="dgMain"> <ClientEvent name="onDataRowDoubleClick">var data = view.get("#dsMain.data:#");
 if(data){
 view.get("#dialogMain").show();
 }</ClientEvent> <Property name="dataSet">dsMain</Property> <Property name="selectionMode">multiRows</Property> <Property name="readOnly">true</Property> <RowNumColumn/> <RowSelectorColumn> <Property name="caption">ä¸ä¼ </Property> </RowSelectorColumn> <DataColumn name="kctzcppcid"> <Property name="property">kctzcppcid</Property> </DataColumn> <DataColumn name="kctzbh"> <Property name="property">kctzbh</Property> </DataColumn> <DataColumn name="jlqybh"> <Property name="property">jlqybh</Property> </DataColumn> <DataColumn name="ssqymc"> <Property name="property">ssqymc</Property> </DataColumn> <DataColumn name="jgzdbh"> <Property name="property">jgzdbh</Property> </DataColumn> <DataColumn name="jgzdmc"> <Property name="property">jgzdmc</Property> </DataColumn> <DataColumn name="czbz"> <Property name="property">czbz</Property> </DataColumn> </DataGrid> </Container> <Container layoutConstraint="bottom"> <Property name="exClassName">bg-color</Property> <DataPilot layoutConstraint="right"> <Property name="dataSet">dsMain</Property> <Property name="itemCodes">pageSize,pages</Property> </DataPilot> </Container> <Dialog id="dialogMain"> <Property name="width">60%</Property> <Property name="closeable">false</Property> <Property name="iconClass">fa fa-sliders</Property> <Property name="caption">è´§ä½ä¿¡æ¯</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> </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> </Button> </Buttons> <Children> <AutoForm> <Property name="dataSet">dsMain</Property> <Property name="cols">*,*,*,*</Property> <Property name="labelPosition">top</Property> <Property name="labelSeparator">:</Property> <Property name="labelWidth">120</Property> <AutoFormElement> <Property name="name">kctzcppcid</Property> <Property name="property">kctzcppcid</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">kctzbh</Property> <Property name="property">kctzbh</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">jlqybh</Property> <Property name="property">jlqybh</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">ssqymc</Property> <Property name="property">ssqymc</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">jgzdbh</Property> <Property name="property">jgzdbh</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">jgzdmc</Property> <Property name="property">jgzdmc</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">cpbm</Property> <Property name="property">cpbm</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">cpmc</Property> <Property name="property">cpmc</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">cpnd</Property> <Property name="property">cpnd</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">cpcd</Property> <Property name="property">cpcd</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">yssj</Property> <Property name="property">yssj</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">cppc</Property> <Property name="property">cppc</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">scrq</Property> <Property name="property">scrq</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">bzq</Property> <Property name="property">bzq</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">bzjzrq</Property> <Property name="property">bzjzrq</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">rksl</Property> <Property name="property">rksl</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">cksl</Property> <Property name="property">cksl</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">kcsl</Property> <Property name="property">kcsl</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">rkzl</Property> <Property name="property">rkzl</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">ckzl</Property> <Property name="property">ckzl</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">kczl</Property> <Property name="property">kczl</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">dj</Property> <Property name="property">dj</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">je</Property> <Property name="property">je</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">jldwbm</Property> <Property name="property">jldwbm</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">jldwmc</Property> <Property name="property">jldwmc</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">jsdwbm</Property> <Property name="property">jsdwbm</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">jsdwmc</Property> <Property name="property">jsdwmc</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">rkkssj</Property> <Property name="property">rkkssj</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">rkjssj</Property> <Property name="property">rkjssj</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">ckkssj</Property> <Property name="property">ckkssj</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">ckjssj</Property> <Property name="property">ckjssj</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">sjsl</Property> <Property name="property">sjsl</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">zlzt</Property> <Property name="property">zlzt</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">kczt</Property> <Property name="property">kczt</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">sxh</Property> <Property name="property">sxh</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">bz</Property> <Property name="property">bz</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">bizId</Property> <Property name="property">bizId</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">updateTime</Property> <Property name="property">updateTime</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">czbz</Property> <Property name="property">czbz</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">kqdm</Property> <Property name="property">kqdm</Property> <Editor/> </AutoFormElement> </AutoForm> </Children> <Tools/> </Dialog> <UpdateAction id="updateSave"> <Property name="dataResolver">whjlApi1208PR#saveData</Property> <UpdateItem> <Property name="dataPath">[#current]</Property> <Property name="dataSet">dsMain</Property> </UpdateItem> </UpdateAction> <AjaxAction id="ajaxDel"> <Property name="confirmMessage">å½åæ°æ®å é¤åæ æ³æ¢å¤ï¼è¯·ç¡®è®¤è¦å é¤ä¹ï¼</Property> <Property name="service">whjlApi1208PR#delData</Property> </AjaxAction> <AjaxAction id="ajaxPush"> <Property name="service">whjlApi1208PR#pushData</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> </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> <ListDropDown id="listDropYN"> <Property name="items">æ¯,å¦</Property> </ListDropDown> </View> </ViewConfig> src/main/java/com/fzzy/otherview/whhpjl/WhjlApi1212.view.xml
ÎļþÃû´Ó src/main/java/com/fzzy/otherview/whhpjl/WhjlApi1214.view.xml ÐÞ¸Ä @@ -4,98 +4,98 @@ <Context/> <Model> <DataType name="dtMain"> <Property name="creationType">com.fzzy.otherview.whhpjl.dto.WhjlApi1214</Property> <Property name="creationType">com.fzzy.otherview.whhpjl.dto.WhjlApi1212</Property> <PropertyDef name="crkid"> <Property/> <Property></Property> <Property name="label">åºå ¥åºè®°å½ID</Property> </PropertyDef> <PropertyDef name="jlqybh"> <Property/> <Property></Property> <Property name="label">åç²®ä¼ä¸ç¼å·</Property> </PropertyDef> <PropertyDef name="ssqymc"> <Property/> <Property></Property> <Property name="label">åç²®ä¼ä¸åç§°</Property> </PropertyDef> <PropertyDef name="jgzdbh"> <Property/> <Property></Property> <Property name="label">åä¾ç«ç¹ç¼å·</Property> </PropertyDef> <PropertyDef name="jgzdmc"> <Property/> <Property></Property> <Property name="label">åä¾ç«ç¹åç§°</Property> </PropertyDef> <PropertyDef name="ywrq"> <Property/> <Property></Property> <Property name="label">ä¸å¡æ¥æ</Property> <Property name="dataType">Date</Property> </PropertyDef> <PropertyDef name="crklx"> <Property/> <Property></Property> <Property name="label">åºå ¥åºç±»å</Property> </PropertyDef> <PropertyDef name="ywlx"> <Property/> <Property></Property> <Property name="label">ä¸å¡ç±»å</Property> </PropertyDef> <PropertyDef name="crkpz"> <Property/> <Property></Property> <Property name="label">åºå ¥åºåè¯</Property> </PropertyDef> <PropertyDef name="jljgqybh"> <Property/> <Property></Property> <Property name="label">å å·¥ä¼ä¸ç¼å·</Property> </PropertyDef> <PropertyDef name="jljgqymc"> <Property/> <Property></Property> <Property name="label">å å·¥ä¼ä¸åç§°</Property> </PropertyDef> <PropertyDef name="khbh"> <Property/> <Property></Property> <Property name="label">客æ·ç¼å·</Property> </PropertyDef> <PropertyDef name="glzxm"> <Property/> <Property></Property> <Property name="label">客æ·å§å</Property> </PropertyDef> <PropertyDef name="shdw"> <Property/> <Property></Property> <Property name="label">æ¶è´§åä½</Property> </PropertyDef> <PropertyDef name="shlxr"> <Property/> <Property></Property> <Property name="label">æ¶è´§è系人</Property> </PropertyDef> <PropertyDef name="shlxrdh"> <Property/> <Property></Property> <Property name="label">æ¶è´§èç³»çµè¯</Property> </PropertyDef> <PropertyDef name="rjfaid"> <Property/> <Property></Property> <Property name="label">åºæ¥æ¹æ¡ID</Property> </PropertyDef> <PropertyDef name="jhid"> <Property/> <Property></Property> <Property name="label">ç¹æªè®¡åID</Property> </PropertyDef> <PropertyDef name="htid"> <Property/> <Property></Property> <Property name="label">ååID</Property> </PropertyDef> <PropertyDef name="psrwid"> <Property/> <Property></Property> <Property name="label">é éä»»å¡id</Property> </PropertyDef> <PropertyDef name="yscch"> <Property/> <Property></Property> <Property name="label">è¿è¾è½¦è¹å·</Property> </PropertyDef> <PropertyDef name="cyr"> <Property/> <Property></Property> <Property name="label">æ¿è¿äºº</Property> </PropertyDef> <PropertyDef name="cyrdh"> <Property/> <Property></Property> <Property name="label">æ¿è¿äººçµè¯</Property> </PropertyDef> <PropertyDef name="bizId"> @@ -120,7 +120,7 @@ <Property name="label">åºåºä»£ç </Property> </PropertyDef> <PropertyDef name="bz"> <Property/> <Property></Property> <Property name="label">夿³¨</Property> </PropertyDef> </DataType> @@ -129,7 +129,7 @@ <Property name="packages">font-awesome,css-common</Property> <DataSet id="dsMain"> <Property name="dataType">[dtMain]</Property> <Property name="dataProvider">whjlApi1214PR#listData</Property> <Property name="dataProvider">whjlApi1212PR#listData</Property> </DataSet> <Container layout="regionPadding:10" layoutConstraint="top"> <Property name="exClassName">bg-color</Property> @@ -459,7 +459,7 @@ <Tools/> </Dialog> <UpdateAction id="updateSave"> <Property name="dataResolver">whjlApi1214PR#saveData</Property> <Property name="dataResolver">whjlApi1212PR#saveData</Property> <UpdateItem> <Property name="dataPath">[#current]</Property> <Property name="dataSet">dsMain</Property> @@ -467,10 +467,10 @@ </UpdateAction> <AjaxAction id="ajaxDel"> <Property name="confirmMessage">å½åæ°æ®å é¤åæ æ³æ¢å¤ï¼è¯·ç¡®è®¤è¦å é¤ä¹ï¼</Property> <Property name="service">whjlApi1214PR#delData</Property> <Property name="service">whjlApi1212PR#delData</Property> </AjaxAction> <AjaxAction id="ajaxPush"> <Property name="service">whjlApi1214PR#pushData</Property> <Property name="service">whjlApi1212PR#pushData</Property> </AjaxAction> <Dialog id="dialogLog"> <Property name="width">90%</Property> src/main/java/com/fzzy/otherview/whhpjl/WhjlConstant.java
@@ -83,6 +83,10 @@ */ public static String API_CODE_1114 = "1114"; /** * æ¥å£ç¼ç -1114 ä»å¨è®¾å¤æ¥åºè®°å½æ°æ®æ¥å£ */ public static String API_CODE_1115 = "1115"; /** * æ¥å£ç¼ç -1201 å¯é£ä¾åºåä¿¡æ¯æ°æ®æ¥å£ */ public static String API_CODE_1201 = "1201"; @@ -131,10 +135,19 @@ */ public static String API_CODE_1212 = "1212"; /** * æ¥å£ç¼ç -1212 åºå ¥åºç»ç®è®°å½æ®æ¥å£ */ public static String API_CODE_1213 = "1213"; /** * /** * æ¥å£ç¼ç -1214 åºå ¥åºè®°å½æ°æ®æ¥å£ */ public static String API_CODE_1214 = "1214"; /** * æ¥å£ç¼ç -1214 æ ·åç»è®°ä¿¡æ¯æ°æ®æ¥å£ */ public static String API_CODE_1215 = "1215"; /** * æ¥å£ç¼ç -1216 è´¨æ£æ¥åæ°æ®æ¥å£ */ public static String API_CODE_1216 = "1216"; src/main/java/com/fzzy/otherview/whhpjl/dto/WhjlApi1115.java
@@ -39,4 +39,14 @@ private String sm; //说æ private String bz; //夿³¨ //åç¬å¢å ï¼ä¸è¿è¡ä¸ä¼ @JSONField(serialize = false) private String bizId; //ä¸å¡ID @JSONField(serialize = false) private Date updateTime; //æåæ´æ°æ¶é´ @JSONField(serialize = false) private String czbz; //æä½æ å¿ @JSONField(serialize = false) private String kqdm; //åºåºä»£ç } src/main/java/com/fzzy/otherview/whhpjl/dto/WhjlApi1205.java
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,65 @@ package com.fzzy.otherview.whhpjl.dto; import com.alibaba.fastjson.annotation.JSONField; import lombok.Data; import lombok.EqualsAndHashCode; import java.io.Serializable; import java.util.Date; /** * @Author: YYC * @Description:订åä¿¡æ¯ * @DateTime: 2023-10-29 20:57 **/ @Data @EqualsAndHashCode(callSuper = false) public class WhjlApi1205 implements Serializable { /** * */ private static final long serialVersionUID = 1L; private String ddid ;//订åID private String ddbh ;//订åç¼å· private String jhid ;//计åid private String jlqybh ;//åç²®ä¼ä¸ç¼å· private String ssqymc ;//åç²®ä¼ä¸åç§° private String jgzdbh ;//åä¾ç«ç¹ç¼å· private String jgzdmc ;//åä¾ç«ç¹åç§° private String ddlx ;//订åç±»å @JSONField(format = "yyyy-MM-dd") private Date grxsrq ;//è´å ¥/é宿¥æ private String jljgqybh ;//ä¾åºåä¼ä¸ç¼å· private String khbh ;//客æ·ç¼å· private String sjjlpzbh ;//å®é åç²®åç§ç¼å· private String sjjlppbh ;//å®é åç²®åçç¼å· private String jlcpbh ;//å粮产åç¼å· private String cpmc ;//产ååç§° private String sjjldjbh ;//å®é åç²®ç级ç¼å· private Double sjjlsl ;//å®é åç²®æ°é private Double sjjlzl ;//å®é åç²®éé private Double sjdj ;//å®é åä»· private Double sjzj ;//å®é æ»ä»· private String zljybhbh ;//è´¨éæ£éªæ¥åç¼å· private String chfs ;//åºè´§æ¹å¼ private String shdz ;//æ¶è´§å°å private String lxdh ;//èç³»çµè¯ private String lxr ;//è系人 @JSONField(format = "yyyy-MM-dd") private Date ddjhrq ;//äº¤è´§æ¥æ private String xh ;//åºå· private String sfyx ;//æ¯å¦ææ private String bz ;//夿³¨ //åç¬å¢å ï¼ä¸è¿è¡ä¸ä¼ @JSONField(serialize = false) private String bizId; //ä¸å¡ID @JSONField(serialize = false) private Date updateTime; //æåæ´æ°æ¶é´ @JSONField(serialize = false) private String czbz; //æä½æ å¿ @JSONField(serialize = false) private String kqdm; //åºåºä»£ç } src/main/java/com/fzzy/otherview/whhpjl/dto/WhjlApi1206.java
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,70 @@ package com.fzzy.otherview.whhpjl.dto; import com.alibaba.fastjson.annotation.JSONField; import lombok.Data; import lombok.EqualsAndHashCode; import java.io.Serializable; import java.util.Date; import java.util.List; /** * ç»è¥ç®¡ç-ååä¿¡æ¯ * * @author czt * @date 2023/8/2 20:10 */ @Data @EqualsAndHashCode(callSuper = false) public class WhjlApi1206 implements Serializable { /** * */ private static final long serialVersionUID = 1L; private String htid; //ååID private String jlqybh; //åç²®ä¼ä¸ç¼å· private String ssqymc; //åç²®ä¼ä¸åç§° private String jgzdbh; //åä¾ç«ç¹ç¼å· private String jgzdmc; //åä¾ç«ç¹åç§° private String htlx; //ååç±»å private String htbh; //ååç¼å· private String htbt; //ååæ é¢ private String jljgqybh; //å å·¥ä¼ä¸ç¼å· private String jljgqymc; //å å·¥ä¼ä¸åç§° private String htkhbh; //åå客æ·ç¼å· private String htkhmc; //åå客æ·åç§° private Double htspdj; //åååååä»· private Double htspsl; //ååååæ°é private String spbm; //ååç¼ç private Double zje; //æ»éé¢ private String htqdr; //ååç¾è®¢äºº private Date htqdsj; //ååç¾è®¢æ¶é´ private Date htsxrq; //ååçææ¥æ private Date htjzrq; //ååæªæ¢æ¶é´ private String htcjr; //ååå建人 private Date htcjsj; //ååå建æ¶é´ private String htdbgjlbz; //ååçåæ´è®°å½æ å¿ private String htbgyy; //åååæ´åå private String htgylx; //ååä¾åºç±»å private String yhtbh; //åååç¼å· private String zffs; //æ¯ä»æ¹å¼ private Double ywcsl; //已宿æ°é private Double ywcslje; //已宿æ°ééé¢ private String htbz; //åå夿³¨ private Integer xh; //åºå· private String sfyx; //æ¯å¦ææ private String bz; //夿³¨ private List<WhjlQDItem> htspqd; //å忏 å //åç¬å¢å ï¼ä¸è¿è¡ä¸ä¼ @JSONField(serialize = false) private String bizId; //ä¸å¡ID @JSONField(serialize = false) private Date updateTime; //æåæ´æ°æ¶é´ @JSONField(serialize = false) private String czbz; //æä½æ å¿ @JSONField(serialize = false) private String kqdm; //åºåºä»£ç } src/main/java/com/fzzy/otherview/whhpjl/dto/WhjlApi1207.java
@@ -6,13 +6,12 @@ import java.io.Serializable; import java.util.Date; import java.util.List; /** * ç»è¥ç®¡ç-ååä¿¡æ¯ * åºå ¥åºä¸å¡-åºåå°è´¦ * * @author czt * @date 2023/8/2 20:10 * @date 2023/8/2 20:15 */ @Data @EqualsAndHashCode(callSuper = false) @@ -22,41 +21,48 @@ */ private static final long serialVersionUID = 1L; private String htid; //ååID private String kctzbh; //åºåå°å¸ID private String jlqybh; //åç²®ä¼ä¸ç¼å· private String ssqymc; //åç²®ä¼ä¸åç§° private String jgzdbh; //åä¾ç«ç¹ç¼å· private String jgzdmc; //åä¾ç«ç¹åç§° private String htlx; //ååç±»å private String htbh; //ååç¼å· private String htbt; //ååæ é¢ private String jljgqybh; //å å·¥ä¼ä¸ç¼å· private String jljgqymc; //å å·¥ä¼ä¸åç§° private String htkhbh; //åå客æ·ç¼å· private String htkhmc; //åå客æ·åç§° private Double htspdj; //åååååä»· private Double htspsl; //ååååæ°é private String spbm; //ååç¼ç private Double zje; //æ»éé¢ private String htqdr; //ååç¾è®¢äºº private Date htqdsj; //ååç¾è®¢æ¶é´ private Date htsxrq; //ååçææ¥æ private Date htjzrq; //ååæªæ¢æ¶é´ private String htcjr; //ååå建人 private Date htcjsj; //ååå建æ¶é´ private String htdbgjlbz; //ååçåæ´è®°å½æ å¿ private String htbgyy; //åååæ´åå private String htgylx; //ååä¾åºç±»å private String yhtbh; //åååç¼å· private String zffs; //æ¯ä»æ¹å¼ private Double ywcsl; //已宿æ°é private Double ywcslje; //已宿æ°ééé¢ private String htbz; //åå夿³¨ private Integer xh; //åºå· private String sfyx; //æ¯å¦ææ private String cfbh; //仿¿ç¼å· private String cfmc; //仿¿åç§° private String ajbh; //å»é´ç¼å· private String ajmc; //å»é´åç§° private String hwbh; //è´§ä½ç¼å· private String hwmc; //è´§ä½åç§° private String lspzbm; //åç§ç¼å· private String lspzmc; //åç§åç§° private String cpbm; //产åç¼å· private String cpmc; //产ååç§° private String lqdw; //ç²®æåä½ private String bgms; //ä¿ç®¡æ¨¡å¼ private Double sjsl; //å®é æ°é private String jldwbm; //计éåä½ç¼ç private String jldwmc; //计éåä½åç§° private String jsdwbm; //计æ°åä½ç¼ç private String jsdwmc; //计æ°åä½åç§° private String clfs; //å¨ç²®æ¹å¼ private String kcsbm; //åºåè¯å«ç @JSONField(format = "yyyy-MM-dd") private Date jkrq; //å»ºå¡æ¥æ private String sfgd; //æ¯å¦å½æ¡£ @JSONField(format = "yyyy-MM-dd HH:mm:ss") private Date gdsj; //彿¡£æ¶é´ private String kczt; //åºåç¶æ private Double rksl; //å ¥åºæ°é private Double cksl; //åºåºæ°é private Double kcsl; //åºåæ°é private Double rkzl; //å ¥åºéé private Double ckzl; //åºåºéé private Double kczl; //åºåéé private Double ztsl; //å¨éæ°é private Double ztzl; //å¨ééé private Double zssl; //å¨å®æ°é private Double zszl; //å¨å®éé private int sxh; //顺åºå· private String bz; //夿³¨ private List<WhjlQDItem> htspqd; //å忏 å //åç¬å¢å ï¼ä¸è¿è¡ä¸ä¼ @JSONField(serialize = false) @@ -67,4 +73,5 @@ private String czbz; //æä½æ å¿ @JSONField(serialize = false) private String kqdm; //åºåºä»£ç } src/main/java/com/fzzy/otherview/whhpjl/dto/WhjlApi1208.java
@@ -1,15 +1,17 @@ package com.fzzy.otherview.whhpjl.dto; import com.alibaba.fastjson.annotation.JSONField; import lombok.Data; import lombok.EqualsAndHashCode; import java.io.Serializable; import java.util.Date; /** * åºå ¥åºä¸å¡-åºåå°è´¦ * åºå ¥åºä¸å¡-åºåå°è´¦äº§åæ¹æ¬¡ * * @author czt * @date 2023/8/2 20:15 * @date 2023/8/2 20:25 */ @Data @EqualsAndHashCode(callSuper = false) @@ -19,45 +21,58 @@ */ private static final long serialVersionUID = 1L; private String kctzcppcid; //åºåå°äº§åæ¹æ¬¡ID private String kctzbh; //åºåå°å¸ID private String jlqybh; //åç²®ä¼ä¸ç¼å· private String ssqymc; //åç²®ä¼ä¸åç§° private String jgzdbh; //åä¾ç«ç¹ç¼å· private String jgzdmc; //åä¾ç«ç¹åç§° private String cfbh; //仿¿ç¼å· private String cfmc; //仿¿åç§° private String ajbh; //å»é´ç¼å· private String ajmc; //å»é´åç§° private String hwbh; //è´§ä½ç¼å· private String hwmc; //è´§ä½åç§° private String lspzbm; //åç§ç¼å· private String lspzmc; //åç§åç§° private String cpbm; //产åç¼å· private String cpmc; //产ååç§° private String lqdw; //ç²®æåä½ private String bgms; //ä¿ç®¡æ¨¡å¼ private String sjsl; //å®é æ°é private String cpnd; //产å年度 private String cpcd; //产åäº§å° @JSONField(format = "yyyy-MM-dd HH:mm:ss") private Date yssj; //éªæ¶æ¶é´ private String cppc; //äº§åæ¹æ¬¡ @JSONField(format = "yyyy-MM-dd") private Date scrq; //çäº§æ¥æ private Double bzq; //ä¿è´¨æ @JSONField(format = "yyyy-MM-dd") private Date bzjzrq; //ä¿è´¨æªæ¢æ¥æ private Double rksl; //å ¥åºæ°é private Double cksl; //åºåºæ°é private Double kcsl; //åºåæ°é private Double rkzl; //å ¥åºéé private Double ckzl; //åºåºéé private Double kczl; //åºåéé private Double dj; //åä»· private Double je; //éé¢ private String jldwbm; //计éåä½ç¼ç private String jldwmc; //计éåä½åç§° private String jsdwbm; //计æ°åä½ç¼ç private String jsdwmc; //计æ°åä½åç§° private String clfs; //å¨ç²®æ¹å¼ private String kcsbm; //åºåè¯å«ç private String jkrq; //å»ºå¡æ¥æ private String sfgd; //æ¯å¦å½æ¡£ private String gdsj; //彿¡£æ¶é´ @JSONField(format = "yyyy-MM-dd HH:mm:ss") private Date rkkssj; //å ¥åºå¼å§æ¶é´ @JSONField(format = "yyyy-MM-dd HH:mm:ss") private Date rkjssj; //å ¥åºç»ææ¶é´ @JSONField(format = "yyyy-MM-dd HH:mm:ss") private Date ckkssj; //åºåºå¼å§æ¶é´ @JSONField(format = "yyyy-MM-dd HH:mm:ss") private Date ckjssj; //åºåºç»ææ¶é´ private Double sjsl; //å®é æ°é private String zlzt; //è´¨éç¶æ private String kczt; //åºåç¶æ private String rksl; //å ¥åºæ°é private String cksl; //åºåºæ°é private String kcsl; //åºåæ°é private String rkzl; //å ¥åºéé private String ckzl; //åºåºéé private String kczl; //åºåéé private String ztsl; //å¨éæ°é private String ztzl; //å¨ééé private String zssl; //å¨å®æ°é private String zszl; //å¨å®æ°é private String sxh; //顺åºå· private int sxh; //顺åºå· private String bz; //夿³¨ //åç¬å¢å ï¼ä¸è¿è¡ä¸ä¼ @JSONField(serialize = false) private String bizId; //ä¸å¡ID @JSONField(serialize = false) private Date updateTime; //æåæ´æ°æ¶é´ @JSONField(serialize = false) private String czbz; //æä½æ å¿ @JSONField(serialize = false) private String kqdm; //åºåºä»£ç } src/main/java/com/fzzy/otherview/whhpjl/dto/WhjlApi1209.java
@@ -1,15 +1,17 @@ package com.fzzy.otherview.whhpjl.dto; import com.alibaba.fastjson.annotation.JSONField; import lombok.Data; import lombok.EqualsAndHashCode; import java.io.Serializable; import java.util.Date; /** * åºå ¥åºä¸å¡-åºåå°è´¦äº§åæ¹æ¬¡ * åºå ¥åºä¸å¡-åºåå°è´¦åºå ¥åºè®°å½ * * @author czt * @date 2023/8/2 20:25 * @date 2023/8/2 20:35 */ @Data @EqualsAndHashCode(callSuper = false) @@ -19,41 +21,31 @@ */ private static final long serialVersionUID = 1L; private String kctzcppcid; //åºåå°äº§åæ¹æ¬¡ID private String kctzbh; //åºåå°å¸ID private String kctzcpcrjlid; //åºåå°è´¦åºå ¥è®°å½ID private String kctzcppcid; //åºåå°è´¦äº§åæ¹æ¬¡ID private String jlqybh; //åç²®ä¼ä¸ç¼å· private String ssqymc; //åç²®ä¼ä¸åç§° private String jgzdbh; //åä¾ç«ç¹ç¼å· private String jgzdmc; //åä¾ç«ç¹åç§° private String cpbm; //产åç¼å· private String cpmc; //产ååç§° private String cpnd; //产å年度 private String cpcd; //产åäº§å° private String yssj; //éªæ¶æ¶é´ private String cppc; //äº§åæ¹æ¬¡ private String scrq; //çäº§æ¥æ private String bzq; //ä¿è´¨æ private String bzjzrq; //ä¿è´¨æªæ¢æ¥æ private String rksl; //å ¥åºæ°é private String cksl; //åºåºæ°é private String kcsl; //åºåæ°é private String rkzl; //å ¥åºéé private String ckzl; //åºåºéé private String kczl; //åºåéé private String dj; //åä»· private String je; //éé¢ private String jldwbm; //计éåä½ç¼ç private String jldwmc; //计éåä½åç§° private String jsdwbm; //计æ°åä½ç¼ç private String jsdwmc; //计æ°åä½åç§° private String rkkssj; //å ¥åºå¼å§æ¶é´ private String rkjssj; //å ¥åºç»ææ¶é´ private String ckkssj; //åºåºå¼å§æ¶é´ private String ckjssj; //åºåºç»ææ¶é´ private String sjsl; //å®é æ°é private String zlzt; //è´¨éç¶æ private String kczt; //åºåç¶æ private String sxh; //顺åºå· private String bz; //夿³¨ private String crlx; //åºå ¥ç±»å private String jllx; //è®°å½ç±»å @JSONField(format = "yyyy-MM-dd HH:mm:ss") private String jlsj; //è®°å½æ¶é´ private Double crqsl; //åºå ¥åºåæ°é private Double crqzl; //åºå ¥åºåéé private Double crsl; //åºå ¥æ°é private Double crzl; //åºå ¥éé private Double crhsl; //åºå ¥åºåæ°é private Double crhzl; //åºå ¥åºåéé //åç¬å¢å ï¼ä¸è¿è¡ä¸ä¼ @JSONField(serialize = false) private String bizId; //ä¸å¡ID @JSONField(serialize = false) private Date updateTime; //æåæ´æ°æ¶é´ @JSONField(serialize = false) private String czbz; //æä½æ å¿ @JSONField(serialize = false) private String kqdm; //åºåºä»£ç } src/main/java/com/fzzy/otherview/whhpjl/dto/WhjlApi1210.java
@@ -1,38 +1,49 @@ package com.fzzy.otherview.whhpjl.dto; import com.alibaba.fastjson.annotation.JSONField; import lombok.Data; import lombok.EqualsAndHashCode; import java.io.Serializable; import java.util.Date; import java.util.List; /** * åºå ¥åºä¸å¡-åºåå°è´¦åºå ¥åºè®°å½ * * @author czt * @date 2023/8/2 20:35 */ * @Author: YYC * @Description:åºåçç¹è®°å½ * @DateTime: 2023-10-29 21:11 **/ @Data @EqualsAndHashCode(callSuper = false) public class WhjlApi1210 implements Serializable { /** * */ private static final long serialVersionUID = 1L; private String kctzcpcrjlid; //åºåå°è´¦åºå ¥è®°å½ID private String kctzcppcid; //åºåå°è´¦äº§åæ¹æ¬¡ID private String jlqybh; //åç²®ä¼ä¸ç¼å· private String ssqymc; //åç²®ä¼ä¸åç§° private String jgzdbh; //åä¾ç«ç¹ç¼å· private String jgzdmc; //åä¾ç«ç¹åç§° private String crlx; //åºå ¥ç±»å private String jllx; //è®°å½ç±»å private String jlsj; //è®°å½æ¶é´ private String crqsl; //åºå ¥åºåæ°é private String crqzl; //åºå ¥åºåéé private String crsl; //åºå ¥æ°é private String crzl; //åºå ¥éé private String crhsl; //åºå ¥åºåæ°é private String crhzl; //åºå ¥åºåéé private String kcpdjlid; //åºåçç¹è®°å½ID private String jlqybh; //åç²®ä¼ä¸ç¼å· private String jlqymc; //åç²®ä¼ä¸åç§° private String jgzdbh; //åä¾ç«ç¹ç¼å· private String jgzdmc; //åä¾ç«ç¹åç§° private String ajbh; //å»é´ç¼å· private String ajmc; //å»é´åç§° @JSONField(format = "yyyy-MM-dd") private Date pdrq; //çç¹æ¥æ private String pdkj; //çç¹ä¼è®¡ private String bgy; //ä¿ç®¡å private String fzr; //è´è´£äºº private String sfyx; //æ¯å¦ææ } //åç¬å¢å ï¼ä¸è¿è¡ä¸ä¼ @JSONField(serialize = false) private String bizId; //ä¸å¡ID @JSONField(serialize = false) private Date updateTime; //æåæ´æ°æ¶é´ @JSONField(serialize = false) private String czbz; //æä½æ å¿ @JSONField(serialize = false) private String kqdm; //åºåºä»£ç } src/main/java/com/fzzy/otherview/whhpjl/dto/WhjlApi1211.java
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,53 @@ package com.fzzy.otherview.whhpjl.dto; import com.alibaba.fastjson.annotation.JSONField; import lombok.Data; import lombok.EqualsAndHashCode; import java.io.Serializable; import java.util.Date; import java.util.List; /** * @Author: YYC * @Description:åºå 转ä»è®°å½ * @DateTime: 2023-10-29 21:55 **/ @Data @EqualsAndHashCode(callSuper = false) public class WhjlApi1211 implements Serializable { /** * */ private static final long serialVersionUID = 1L; private String kcpdjlid;//åºå转ä»è®°å½ID private String jlqybh;//åç²®ä¼ä¸ç¼å· private String ssqymc;//åç²®ä¼ä¸åç§° private String jgzdbh;//åä¾ç«ç¹ç¼å· private String jgzdmc;//åä¾ç«ç¹åç§° @JSONField(format = "yyyy-MM-dd HH:mm:ss") private Date zcsj;//è½¬ä»æ¶é´ private String zcajbh;//转åºå»é´ç¼å· private String zccfmc;//转åºå»é´åç§° private String zrajbh;//è½¬å ¥å»é´ç¼å· private String zrajmc;//è½¬å ¥å»é´åç§° private String zckctzbh;//转åºåºåå°å¸ç¼å· private String zrkctzbh;//è½¬å ¥åºåå°å¸ç¼å· private Double zczsl;//è½¬ä»æ»æ°é private Double zczzl;//è½¬ä»æ»éé private List<WhjlZCMX> zcmx;//è½¬ä»æç» //åç¬å¢å ï¼ä¸è¿è¡ä¸ä¼ @JSONField(serialize = false) private String bizId; //ä¸å¡ID @JSONField(serialize = false) private Date updateTime; //æåæ´æ°æ¶é´ @JSONField(serialize = false) private String czbz; //æä½æ å¿ @JSONField(serialize = false) private String kqdm; //åºåºä»£ç } src/main/java/com/fzzy/otherview/whhpjl/dto/WhjlApi1212.java
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,121 @@ package com.fzzy.otherview.whhpjl.dto; import com.alibaba.fastjson.annotation.JSONField; import lombok.Data; import lombok.EqualsAndHashCode; import java.io.Serializable; import java.util.Date; import java.util.List; /** * åºå ¥åºä¸å¡-åºå ¥åºè®°å½ * * @author czt * @date 2023/8/2 20:40 */ @Data @EqualsAndHashCode(callSuper = false) public class WhjlApi1212 implements Serializable { /** * */ private static final long serialVersionUID = 1L; private String crkid; //åºå ¥åºè®°å½id private String jlqybh; //åç²®ä¼ä¸ç¼å· private String ssqymc; //åç²®ä¼ä¸åç§° private String jgzdbh; //åä¾ç«ç¹ç¼å· private String jgzdmc; //åä¾ç«ç¹åç§° @JSONField(format = "yyyy-MM-dd") private Date ywrq; //ä¸å¡æ¥æ private String crklx; //åºå ¥åºç±»å private String ywlx; //ä¸å¡ç±»å private String crkpz; //åºå ¥åºåè¯ private String jljgqybh; //å å·¥ä¼ä¸ç¼å· private String jljgqymc; //å å·¥ä¼ä¸åç§° private String khbh; //客æ·ç¼å· private String glzxm; //客æ·å§å private String shdw; //æ¶è´§åä½ private String shlxr; //æ¶è´§è系人 private String shlxrdh; //æ¶è´§èç³»çµè¯ private String rjfaid; //åºæ¥æ¹æ¡id private String jhid; //ç¹æªè®¡åID private String htid; //ååID private String psrwid; //é éä»»å¡id private String yscch; //è¿è¾è½¦è¹å· private String cyr; //æ¿è¿äºº private String cyrdh; //æ¿è¿äººçµè¯ private String bz; //夿³¨ private List<WhjlInoutDel> crkmx; //åºå ¥åºæç» private List<WhjlCheck> zjbgwj; //è´¨æ£æ¥åæä»¶ //åç¬å¢å ï¼ä¸è¿è¡ä¸ä¼ @JSONField(serialize = false) private String bizId; //ä¸å¡ID @JSONField(serialize = false) private Date updateTime; //æåæ´æ°æ¶é´ @JSONField(serialize = false) private String czbz; //æä½æ å¿ @JSONField(serialize = false) private String kqdm; //åºåºä»£ç private String crkmxid; //åºå ¥åºæç»ID private String ajbh; //å»é´ç¼å· private String cfmc; //å»é´åç§° private String hwbh; //è´§ä½ç¼å· private String hwmc; //è´§ä½åç§° private String kctzbh; //åºåå°å¸ID private String kctzcppcid; //åºåå°å¸äº§åæ¹æ¬¡ID private String psmxid; //é éè½¦è¾æç»ID private String yjfamxid; //åºæ¥æ¹æ¡æç»ID private String lspzbm; //åç§ç¼å· private String lspzmc; //åç§åç§° private String cpbh; //产åç¼å· private String cpmc; //产ååç§° private String jldwbm; //计éåä½ç¼ç private String jldwmc; //计éåä½åç§° private String jsdwbm; //计æ°åä½ç¼ç private String jsdwmc; //计æ°åä½åç§° private String crlx; //åºåºç±»å private Double crksl; //åºå ¥åºæ°é private Double crkzl; //åºå ¥åºéé private Double qcsl; //æåæ°é private Double qmsl; //ææ«æ°é private Double qczl; //æåéé private Double qmzl; //ææªéé private Double shsl; //æèæ°é private Double shzl; //æèéé private String ysyq; //éªæ¶è¦æ± private String sfhx; //æ¯å¦æ ¸é private String qkxm; //æ¬ æ¬¾é¡¹ç® private Double dj; //åä»· private Double je; //éé¢ private String dj1; //ç级 private String cd; //äº§å° private String sccj; //ç产åå®¶ private String gg; //è§æ ¼åå· private String cppc; //äº§åæ¹æ¬¡ @JSONField(format = "yyyy-MM-dd") private Date scrq; //çäº§æ¥æ private Double bzq; //ä¿è´¨æ @JSONField(format = "yyyy-MM-dd") private String bzqjzrq; //ä¿è´¨ææªè³æ¥æ private String bgy; //ä¿ç®¡å private String ckfs; //åºåºæ¹å¼ private String djsj; //ç»è®°æ¶é´ private String zz; //ç«é¿ private String jjy; //è´¨æ£å private String sxh; //顺åºå· // private String bz; //夿³¨ private String jybgwjid; //æ£éªæ¥åæä»¶id @JSONField(format = "yyyy-MM-dd") private Date jyrq; //æ£éªæ¥æ private String jylx; //æ£éªç±»å private String wjlx; //æä»¶ç±»å private String wjm; //æä»¶å private String wjlj; //æä»¶è·¯å¾ private String wjdx; //æä»¶å¤§å° } src/main/java/com/fzzy/otherview/whhpjl/dto/WhjlApi1213.java
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,59 @@ package com.fzzy.otherview.whhpjl.dto; import com.alibaba.fastjson.annotation.JSONField; import lombok.Data; import lombok.EqualsAndHashCode; import java.io.Serializable; import java.util.Date; import java.util.List; /** * @Author: YYC * @Description:åºå ¥åºç»ç®è®°å½ * @DateTime: 2023-10-29 22:06 **/ @Data @EqualsAndHashCode(callSuper = false) public class WhjlApi1213 implements Serializable { /** * */ private static final long serialVersionUID = 1L; private String rkfkjlid;//å ¥åºç»ç®è®°å½ID private String crkid;//åºå ¥åºè®°å½id private String jlqybh;//åç²®ä¼ä¸ç¼å· private String jlqymc;//åç²®ä¼ä¸åç§° private String jgzdbh;//åä¾ç«ç¹ç¼å· private String jgzdmc;//åä¾ç«ç¹åç§° private String jljgqybh;//å å·¥ä¼ä¸ç¼å· private String jljgqymc;//å å·¥ä¼ä¸åç§° private String khbh;//客æ·ç¼å· private String glzxm;//客æ·å§å private String crklx;//åºå ¥åºç±»å private String jslx;//ç»ç®ç±»å @JSONField(format = "yyyy-MM-dd") private Date jsrq;//ç»ç®æ¥æ private String jszt;//ç»ç®ç¶æ private Double je;//éé¢ private String skr;//æ¶æ¬¾äºº private String skrsfzh;//æ¶æ¬¾äººèº«ä»½è¯å· private String skrdh;//æ¶æ¬¾äººçµè¯ private String khh;//弿·è¡ private String yhkh;//é¶è¡å¡å· private String sfyx;//æ¯å¦ææ private String bz;//夿³¨ private List<WhjlJSMX> jsmx;//ç»ç®æç»è®°å½ //åç¬å¢å ï¼ä¸è¿è¡ä¸ä¼ @JSONField(serialize = false) private String bizId; //ä¸å¡ID @JSONField(serialize = false) private Date updateTime; //æåæ´æ°æ¶é´ @JSONField(serialize = false) private String czbz; //æä½æ å¿ @JSONField(serialize = false) private String kqdm; //åºåºä»£ç } src/main/java/com/fzzy/otherview/whhpjl/dto/WhjlApi1214.java
@@ -6,47 +6,54 @@ import java.io.Serializable; import java.util.Date; import java.util.List; /** * åºå ¥åºä¸å¡-åºå ¥åºè®°å½ * * @author czt * @date 2023/8/2 20:40 */ * @Author: YYC * @Description:è´¨æ£æºæ * @DateTime: 2023-10-29 22:16 **/ @Data @EqualsAndHashCode(callSuper = false) public class WhjlApi1214 implements Serializable { /** * */ private static final long serialVersionUID = 1L; private String crkid; //åºå ¥åºè®°å½id private String jlqybh; //åç²®ä¼ä¸ç¼å· private String ssqymc; //åç²®ä¼ä¸åç§° private String jgzdbh; //åä¾ç«ç¹ç¼å· private String jgzdmc; //åä¾ç«ç¹åç§° private Date ywrq; //ä¸å¡æ¥æ private String crklx; //åºå ¥åºç±»å private String ywlx; //ä¸å¡ç±»å private String crkpz; //åºå ¥åºåè¯ private String jljgqybh; //å å·¥ä¼ä¸ç¼å· private String jljgqymc; //å å·¥ä¼ä¸åç§° private String khbh; //客æ·ç¼å· private String glzxm; //客æ·å§å private String shdw; //æ¶è´§åä½ private String shlxr; //æ¶è´§è系人 private String shlxrdh; //æ¶è´§èç³»çµè¯ private String rjfaid; //åºæ¥æ¹æ¡id private String jhid; //ç¹æªè®¡åID private String htid; //ååID private String psrwid; //é éä»»å¡id private String yscch; //è¿è¾è½¦è¹å· private String cyr; //æ¿è¿äºº private String cyrdh; //æ¿è¿äººçµè¯ private String bz; //夿³¨ private String crkmx; //åºå ¥åºæç» private String zjbgwj; //è´¨æ£æ¥åæä»¶ private String zjjgbm;//è´¨æ£æºæç¼å· private String zjjgmc;//è´¨æ£æºæåç§° private String zjjgjc;//è´¨æ£æºæç®ç§° private String zjjgssly;//è´¨æ£æºææå±é¢å private String zjjgssdq;//è´¨æ£æºææå±å°åº private String xzqhbm;//è¡æ¿åºåç¼ç private String xzqhmc;//è¡æ¿åºååç§° private String sysfr;//è´¨æ£æºææ³äºº private String dh;//èç³»çµè¯ private String cz;//ä¼ ç private String dzyx;//çµåé®ç®± private String dz;//å°å private String yb;//é®ç¼ private String lxr;//è系人 private String zgbm;//主管é¨é¨ private String zjjgjb;//è´¨æ£æºæçº§å« private int zcygs;//å¨ååå·¥æ° private int gjzcrs;//é«çº§èç§°äººæ° private int zjzcrs;//ä¸çº§èç§°äººæ° private int cjzcrs;//å级èç§°äººæ° private int bs;//åå£«äººæ° private int ss;//ç¡å£«äººæ° private int xs;//å¦å£«äººæ° private int dzsyx;//大ä¸çä»¥ä¸ private Double zgdzc;//æ»åºå®èµäº§ private Double mj;//é¢ç§¯ private String zcxz;//èµäº§æ§è´¨ private int csspjcdrs;//ä»äºé£åæ£æµçäººæ° private String bz;//夿³¨ private List<WhjlJCNL> jcnl;//æ£æµè½å private List<WhjlYQSB> yqsb;//仪å¨è®¾å¤ //åç¬å¢å ï¼ä¸è¿è¡ä¸ä¼ @JSONField(serialize = false) @@ -57,60 +64,4 @@ private String czbz; //æä½æ å¿ @JSONField(serialize = false) private String kqdm; //åºåºä»£ç private String crkmxid; //åºå ¥åºæç»ID private String ajbh; //å»é´ç¼å· private String cfmc; //å»é´åç§° private String hwbh; //è´§ä½ç¼å· private String hwmc; //è´§ä½åç§° private String kctzbh; //åºåå°å¸ID private String kctzcppcid; //åºåå°å¸äº§åæ¹æ¬¡ID private String psmxid; //é éè½¦è¾æç»ID private String yjfamxid; //åºæ¥æ¹æ¡æç»ID private String lspzbm; //åç§ç¼å· private String lspzmc; //åç§åç§° private String cpbh; //产åç¼å· private String cpmc; //产ååç§° private String jldwbm; //计éåä½ç¼ç private String jldwmc; //计éåä½åç§° private String jsdwbm; //计æ°åä½ç¼ç private String jsdwmc; //计æ°åä½åç§° private String crlx; //åºåºç±»å private String crksl; //åºå ¥åºæ°é private String crkzl; //åºå ¥åºéé private String qcsl; //æåæ°é private String qmsl; //ææ«æ°é private String qczl; //æåéé private String qmzl; //ææªéé private String shsl; //æèæ°é private String shzl; //æèéé private String ysyq; //éªæ¶è¦æ± private String sfhx; //æ¯å¦æ ¸é private String qkxm; //æ¬ æ¬¾é¡¹ç® private String dj; //åä»· private String je; //éé¢ // private String dj; //ç级 private String cd; //äº§å° private String sccj; //ç产åå®¶ private String gg; //è§æ ¼åå· private String cppc; //äº§åæ¹æ¬¡ private String scrq; //çäº§æ¥æ private String bzq; //ä¿è´¨æ private String bzqjzrq; //ä¿è´¨ææªè³æ¥æ private String bgy; //ä¿ç®¡å private String ckfs; //åºåºæ¹å¼ private String djsj; //ç»è®°æ¶é´ private String zz; //ç«é¿ private String jjy; //è´¨æ£å private String sxh; //顺åºå· // private String bz; //夿³¨ private String jybgwjid; //æ£éªæ¥åæä»¶id private String jyrq; //æ£éªæ¥æ private String jylx; //æ£éªç±»å private String wjlx; //æä»¶ç±»å private String wjm; //æä»¶å private String wjlj; //æä»¶è·¯å¾ private String wjdx; //æä»¶å¤§å° } } src/main/java/com/fzzy/otherview/whhpjl/dto/WhjlApi1215.java
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,58 @@ package com.fzzy.otherview.whhpjl.dto; import com.alibaba.fastjson.annotation.JSONField; import lombok.Data; import lombok.EqualsAndHashCode; import java.io.Serializable; import java.util.Date; /** * @Author: YYC * @Description:æ ·åç»è®°ä¿¡æ¯ * @DateTime: 2023-10-29 22:31 **/ @Data @EqualsAndHashCode(callSuper = false) public class WhjlApi1215 implements Serializable { /** * */ private static final long serialVersionUID = 1L; private String cybh;//æ ·åç¼å· private String jlqybh;//åç²®ä¼ä¸ç¼å· private String jlqymc;//åç²®ä¼ä¸åç§° private String jgzdbh;//åä¾ç«ç¹ç¼å· private String jgzdmc;//åä¾ç«ç¹åç§° private String zjjgbm;//è´¨æ£æºæç¼å· private String zjjgmc;//è´¨æ£æºæåç§° private String jljgqybh;//å å·¥ä¼ä¸ç¼å· private String cpmc;//产ååç§° private String cppc;//äº§åæ¹æ¬¡ @JSONField(format = "yyyy-MM-dd") private Date scrq;//çäº§æ¥æ private String cysm;//æ½æ ·è¯´æ @JSONField(format = "yyyy-MM-dd HH:mm:ss") private Date cysj;//æ½æ ·æ¶é´ private String cyr;//æ½æ ·äºº private String cydd;//æ½æ ·å°ç¹ @JSONField(format = "yyyy-MM-dd HH:mm:ss") private Date djsj;//ç»è®°æ¶é´ private Double cyjs;//æ½æ ·åºæ° private Double cysl;//æ½æ ·æ°é private String sfyx;//æ¯å¦ææ private String bz;//夿³¨ //åç¬å¢å ï¼ä¸è¿è¡ä¸ä¼ @JSONField(serialize = false) private String bizId; //ä¸å¡ID @JSONField(serialize = false) private Date updateTime; //æåæ´æ°æ¶é´ @JSONField(serialize = false) private String czbz; //æä½æ å¿ @JSONField(serialize = false) private String kqdm; //åºåºä»£ç } src/main/java/com/fzzy/otherview/whhpjl/dto/WhjlCheck.java
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,33 @@ package com.fzzy.otherview.whhpjl.dto; import com.alibaba.fastjson.annotation.JSONField; import lombok.Data; import lombok.EqualsAndHashCode; import java.io.Serializable; import java.util.Date; /** * @Author: YYC * @Description:è´¨æ£æ¥åæä»¶ * @DateTime: 2023-10-29 21:46 **/ @Data @EqualsAndHashCode(callSuper = false) public class WhjlCheck implements Serializable { /** * */ private static final long serialVersionUID = 1L; private String jybgwjid;//æ£éªæ¥åæä»¶id @JSONField(format = "yyyy-MM-dd") private Date jyrq;//æ£éªæ¥æ private String jylx;//æ£éªç±»å private String wjlx;//æä»¶ç±»å private String wjm;//æä»¶å private String wjlj;//æä»¶è·¯å¾ private String wjdx;//æä»¶å¤§å° } src/main/java/com/fzzy/otherview/whhpjl/dto/WhjlInoutDel.java
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,73 @@ package com.fzzy.otherview.whhpjl.dto; import com.alibaba.fastjson.annotation.JSONField; import lombok.Data; import lombok.EqualsAndHashCode; import java.io.Serializable; import java.util.Date; /** * @Author: YYC * @Description: * @DateTime: 2023-10-29 21:30 **/ @Data @EqualsAndHashCode(callSuper = false) public class WhjlInoutDel implements Serializable { /** * */ private static final long serialVersionUID = 1L; private String crkmxid;//åºå ¥åºæç»ID private String ajbh;//å»é´ç¼å· private String ajmc;//å»é´åç§° private String hwbh;//è´§ä½ç¼å· private String hwmc;//è´§ä½åç§° private String kctzbh;//åºåå°å¸ID private String kctzcppcid;//åºåå°å¸äº§åæ¹æ¬¡ID private String psmxid;//é éè½¦è¾æç»ID private String yjfamxid;//åºæ¥æ¹æ¡æç»ID private String lspzbm;//åç§ç¼å· private String lspzmc;//åç§åç§° private String cpbh;//产åç¼å· private String cpmc;//产ååç§° private String jldwbm;//计éåä½ç¼ç private String jldwmc;//计éåä½åç§° private String jsdwbm;//计æ°åä½ç¼ç private String jsdwmc;//计æ°åä½åç§° private String crlx;//åºåºç±»å private Double crksl;//åºå ¥åºæ°é private Double crkzl;//åºå ¥åºéé private Double qcsl;//æåæ°é private Double qmsl;//ææ«æ°é private Double qczl;//æåéé private Double qmzl;//ææªéé private Double shsl;//æèæ°é private Double shzl;//æèéé private String ysyq;//éªæ¶è¦æ± private String sfhx;//æ¯å¦æ ¸é private String qkxm;//æ¬ æ¬¾é¡¹ç® private Double dj;//åä»· private Double je;//éé¢ private String dj1;//ç级 private String cd;//äº§å° private String sccj;//ç产åå®¶ private String gg;//è§æ ¼åå· private String cppc;//äº§åæ¹æ¬¡ @JSONField(format = "yyyy-MM-dd") private Date scrq;//çäº§æ¥æ private Double bzq;//ä¿è´¨æ @JSONField(format = "yyyy-MM-dd") private Date bzqjzrq;//ä¿è´¨ææªè³æ¥æ private String bgy;//ä¿ç®¡å private String ckfs;//åºåºæ¹å¼ @JSONField(format = "yyyy-MM-dd HH:mm:ss") private String djsj;//ç»è®°æ¶é´ private String zz;//ç«é¿ private String jjy;//è´¨æ£å private int sxh;//顺åºå· private String bz;//夿³¨ } src/main/java/com/fzzy/otherview/whhpjl/dto/WhjlJCNL.java
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,31 @@ package com.fzzy.otherview.whhpjl.dto; import lombok.Data; import lombok.EqualsAndHashCode; import java.io.Serializable; /** * @Author: YYC * @Description:æ£æµè½å * @DateTime: 2023-10-29 22:21 **/ @Data @EqualsAndHashCode(callSuper = false) public class WhjlJCNL implements Serializable { /** * */ private static final long serialVersionUID = 1L; private String bzbm;//è´¨æ£æ åç¼ç private String bzmxbm;//æ åæç»ç¼ç private String jcxmdjbm;//æ£æµé¡¹ç®ç级ç¼ç private String jcly;//æ£æµé¢å private String xzfw;//éå¶èå´ private String zzzmdm;//èµè´¨è¯æä»£ç private int xh;//åºå· } src/main/java/com/fzzy/otherview/whhpjl/dto/WhjlJSMX.java
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,28 @@ package com.fzzy.otherview.whhpjl.dto; import lombok.Data; import lombok.EqualsAndHashCode; import java.io.Serializable; /** * @Author: YYC * @Description:ç»ç®æç»è®°å½ * @DateTime: 2023-10-29 22:10 **/ @Data @EqualsAndHashCode(callSuper = false) public class WhjlJSMX implements Serializable { /** * */ private static final long serialVersionUID = 1L; private String rkfkjlmxid; private String crkmxid; private String fkpzh; private Double sl; private Double dj; private Double je; } src/main/java/com/fzzy/otherview/whhpjl/dto/WhjlYQSB.java
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,30 @@ package com.fzzy.otherview.whhpjl.dto; import lombok.Data; import lombok.EqualsAndHashCode; import java.io.Serializable; /** * @Author: YYC * @Description:仪å¨è®¾å¤ * @DateTime: 2023-10-29 22:24 **/ @Data @EqualsAndHashCode(callSuper = false) public class WhjlYQSB implements Serializable { /** * */ private static final long serialVersionUID = 1L; private String yqsbbm;//仪å¨è®¾å¤ç¼ç private String yqsbmc;//仪å¨è®¾å¤åç§° private String ggxh;//è§æ ¼åå· private String zzgb;//å¶é å½å« private Double jg;//ä»·æ ¼ private String gznf;//è´ç½®å¹´ä»½ private Double syl;//使ç¨ç private int xh;//åºå· } src/main/java/com/fzzy/otherview/whhpjl/dto/WhjlZCMX.java
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,25 @@ package com.fzzy.otherview.whhpjl.dto; import lombok.Data; import lombok.EqualsAndHashCode; import java.io.Serializable; /** * @Author: YYC * @Description:è½¬ä»æç» * @DateTime: 2023-10-29 22:56 **/ @Data @EqualsAndHashCode(callSuper = false) public class WhjlZCMX implements Serializable { /** * */ private static final long serialVersionUID = 1L; private String zcmxid;//è½¬ä»æç»ID private String zckctzcppcid;//转åºåºåå°äº§åæ¹æ¬¡ID private String zrkctzcppcid;//è½¬å ¥åºåå°äº§åæ¹æ¬¡ID private String zcsl;//è½¬ä»æ°é private String zczl;//转ä»éé } src/main/java/com/fzzy/otherview/whhpjl/pr/WhjlApi1115PR.java
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,198 @@ package com.fzzy.otherview.whhpjl.pr; import com.alibaba.fastjson.JSON; import com.alibaba.fastjson.JSONObject; import com.bstek.dorado.annotation.DataProvider; import com.bstek.dorado.annotation.DataResolver; import com.bstek.dorado.annotation.Expose; import com.bstek.dorado.data.provider.Page; import com.fzzy.api.Constant; import com.fzzy.api.data.ApiParam; import com.fzzy.api.dto.ResponseDto; import com.fzzy.api.entity.ApiConfs; import com.fzzy.api.entity.ApiInfoData; 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.ApiInfoDataRep; import com.fzzy.otherview.whhpjl.WhjlConstant; import com.fzzy.otherview.whhpjl.dto.WhjlApi1115; import org.apache.commons.lang.StringUtils; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.data.domain.PageRequest; import org.springframework.data.domain.Pageable; import org.springframework.data.domain.Sort; import org.springframework.data.jpa.domain.Specification; import org.springframework.stereotype.Component; import javax.persistence.criteria.CriteriaBuilder; import javax.persistence.criteria.CriteriaQuery; import javax.persistence.criteria.Predicate; import javax.persistence.criteria.Root; import java.util.ArrayList; import java.util.Date; import java.util.List; /** * @Author: YYC * @Description:ä»å¨è®¾å¤ç»´ä¿®è®°å½ * @DateTime: 2023-10-25 14:13 **/ @Component public class WhjlApi1115PR { @Autowired private ApiCommonService apiCommonService; @Autowired private ApiPushManager apiPushManager; @Autowired private ApiInfoDataRep apiInfoDataRep; /** * è·ååè¡¨ä¿¡æ¯ * WhjlApi1115PR#listData * * @return */ @DataProvider public void listData(Page<WhjlApi1115> page, ApiParam param) { Pageable pageable = PageRequest.of(page.getPageNo() - 1, page.getPageSize(), Sort.Direction.DESC, "updateTime"); Specification specification = new Specification<ApiInfoData>() { private static final long serialVersionUID = 1L; @Override public Predicate toPredicate(Root<ApiInfoData> root, CriteriaQuery<?> criteriaQuery, CriteriaBuilder criteriaBuilder) { List<Predicate> predicates = new ArrayList<>(); //ææçæè¨ Predicate predicate = criteriaBuilder.equal(root.get("inteId"), WhjlConstant.API_CODE_1115); predicates.add(predicate); if (null != param) { if (StringUtils.isNotBlank(param.getKqdm())) { Predicate predicate1 = criteriaBuilder.equal(root.get("kqdm"), param.getKqdm()); predicates.add(predicate1); } if (StringUtils.isNotBlank(param.getCzbz())) { Predicate predicate2 = criteriaBuilder.equal(root.get("czbz"), param.getCzbz()); predicates.add(predicate2); } if (null != param.getStart()) { Predicate predicate3 = criteriaBuilder.greaterThan(root.get("updateTime"), ContextUtil.getCurZero(param.getStart())); predicates.add(predicate3); } if (null != param.getEnd()) { Predicate predicate4 = criteriaBuilder.lessThan(root.get("updateTime"), ContextUtil.getNextZero(param.getEnd())); predicates.add(predicate4); } } return criteriaBuilder.and(predicates.toArray(new Predicate[0])); } }; org.springframework.data.domain.Page<ApiInfoData> japPage = apiInfoDataRep.findAll(specification, pageable); page.setEntityCount((int) japPage.getTotalElements()); List<WhjlApi1115> list = new ArrayList<>(); WhjlApi1115 whjlApi1115; for (ApiInfoData infoData : japPage.getContent()) { whjlApi1115 = JSONObject.parseObject(infoData.getData(), WhjlApi1115.class); whjlApi1115.setKqdm(infoData.getKqdm()); whjlApi1115.setCzbz(infoData.getCzbz()); whjlApi1115.setUpdateTime(infoData.getUpdateTime()); whjlApi1115.setBizId(infoData.getDataId()); list.add(whjlApi1115); } page.setEntities(list); } /** * æ´æ°æä¿®æ¹ * WhjlApi1115PR#saveData * * @param data * @return */ @DataResolver public void saveData(WhjlApi1115 data) { ApiInfoData infoData = new ApiInfoData(); infoData.setId(data.getBizId()); infoData.setKqdm(data.getKqdm()); infoData.setInteType(WhjlConstant.API_CATEGORY_12); infoData.setInteId(WhjlConstant.API_CODE_1115); infoData.setUpdateTime(new Date()); infoData.setDataId(data.getBizId()); infoData.setData(JSON.toJSONString(data)); infoData.setCzbz(data.getCzbz()); infoData.setRemarks("夿³¨ä¿¡æ¯"); apiInfoDataRep.save(infoData); } /** * å é¤ * WhjlApi1115PR#delData * * @param data * @return */ @Expose public String delData(WhjlApi1115 data) { apiInfoDataRep.deleteById(data.getBizId()); return null; } /** * ä¸ä¼ * WhjlApi1115PR#pushData * * @param items * @return */ @Expose public String pushData(List<WhjlApi1115> items) { String result = ""; String kqdm = items.get(0).getKqdm(); ApiConfs apiConf = apiCommonService.getConf(kqdm); if (null == apiConf) { return "ç³»ç»æ²¡æè·åå°å½ååºåºé 置信æ¯ï¼æ§è¡å¤±è´¥"; } //å°è£ åæ° ApiParam param = new ApiParam(apiConf, WhjlConstant.API_CATEGORY_12, WhjlConstant.API_CODE_1115); //è·åå®ç°æ¥å£ ApiRemoteService apiService = apiPushManager.getApiRemoteService(param.getPushProtocol()); if (null == apiService) { return "ç³»ç»æ²¡æå½åæ¨éåè®®é ç½®ï¼æ§è¡å¤±è´¥"; } ResponseDto responseDto; ApiInfoData infoData; for (WhjlApi1115 data : items) { responseDto = apiService.pushData(param, apiConf, items); if (responseDto.getSuccess() == 0) { if (Constant.CZBZ_I.equals(data.getCzbz())) { infoData = new ApiInfoData(); infoData.setId(data.getBizId()); infoData.setKqdm(data.getKqdm()); infoData.setInteType(WhjlConstant.API_CATEGORY_12); infoData.setInteId(WhjlConstant.API_CODE_1115); infoData.setUpdateTime(new Date()); infoData.setDataId(data.getBizId()); data.setCzbz(Constant.CZBZ_U); infoData.setCzbz(Constant.CZBZ_U); infoData.setData(JSON.toJSONString(data)); apiInfoDataRep.save(infoData); } } result += responseDto.toString(); } return result; } } src/main/java/com/fzzy/otherview/whhpjl/pr/WhjlApi1205PR.java
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,199 @@ package com.fzzy.otherview.whhpjl.pr; import com.alibaba.fastjson.JSON; import com.alibaba.fastjson.JSONObject; import com.bstek.dorado.annotation.DataProvider; import com.bstek.dorado.annotation.DataResolver; import com.bstek.dorado.annotation.Expose; import com.bstek.dorado.data.provider.Page; import com.fzzy.api.Constant; import com.fzzy.api.data.ApiParam; import com.fzzy.api.dto.ResponseDto; import com.fzzy.api.entity.ApiConfs; import com.fzzy.api.entity.ApiInfoData; 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.ApiInfoDataRep; import com.fzzy.otherview.whhpjl.WhjlConstant; import com.fzzy.otherview.whhpjl.dto.WhjlApi1205; import org.apache.commons.lang.StringUtils; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.data.domain.PageRequest; import org.springframework.data.domain.Pageable; import org.springframework.data.domain.Sort; import org.springframework.data.jpa.domain.Specification; import org.springframework.stereotype.Component; import javax.persistence.criteria.CriteriaBuilder; import javax.persistence.criteria.CriteriaQuery; import javax.persistence.criteria.Predicate; import javax.persistence.criteria.Root; import java.util.ArrayList; import java.util.Date; import java.util.List; /** * 订åä¿¡æ¯ * * @Author:YAN */ @Component public class WhjlApi1205PR { @Autowired private ApiCommonService apiCommonService; @Autowired private ApiPushManager apiPushManager; @Autowired private ApiInfoDataRep apiInfoDataRep; /** * è·ååè¡¨ä¿¡æ¯ * whjlApi1205PR#listData * * @return */ @DataProvider public void listData(Page<WhjlApi1205> page, ApiParam param) { Pageable pageable = PageRequest.of(page.getPageNo() - 1, page.getPageSize(), Sort.Direction.DESC, "updateTime"); Specification specification = new Specification<ApiInfoData>() { private static final long serialVersionUID = 1L; @Override public Predicate toPredicate(Root<ApiInfoData> root, CriteriaQuery<?> criteriaQuery, CriteriaBuilder criteriaBuilder) { List<Predicate> predicates = new ArrayList<>(); //ææçæè¨ Predicate predicate = criteriaBuilder.equal(root.get("inteId"), WhjlConstant.API_CODE_1205); predicates.add(predicate); if (null != param) { if (StringUtils.isNotBlank(param.getKqdm())) { Predicate predicate1 = criteriaBuilder.equal(root.get("kqdm"), param.getKqdm()); predicates.add(predicate1); } if (StringUtils.isNotBlank(param.getCzbz())) { Predicate predicate2 = criteriaBuilder.equal(root.get("czbz"), param.getCzbz()); predicates.add(predicate2); } if (null != param.getStart()) { Predicate predicate3 = criteriaBuilder.greaterThan(root.get("updateTime"), ContextUtil.getCurZero(param.getStart())); predicates.add(predicate3); } if (null != param.getEnd()) { Predicate predicate4 = criteriaBuilder.lessThan(root.get("updateTime"), ContextUtil.getNextZero(param.getEnd())); predicates.add(predicate4); } } return criteriaBuilder.and(predicates.toArray(new Predicate[0])); } }; org.springframework.data.domain.Page<ApiInfoData> japPage = apiInfoDataRep.findAll(specification, pageable); page.setEntityCount((int) japPage.getTotalElements()); List<WhjlApi1205> list = new ArrayList<>(); WhjlApi1205 whjlApi1205; for (ApiInfoData infoData : japPage.getContent()) { whjlApi1205 = JSONObject.parseObject(infoData.getData(), WhjlApi1205.class); whjlApi1205.setKqdm(infoData.getKqdm()); whjlApi1205.setCzbz(infoData.getCzbz()); whjlApi1205.setUpdateTime(infoData.getUpdateTime()); whjlApi1205.setBizId(infoData.getDataId()); list.add(whjlApi1205); } page.setEntities(list); } /** * æ´æ°æä¿®æ¹ * whjlApi1205PR#saveData * * @param data * @return */ @DataResolver public void saveData(WhjlApi1205 data) { ApiInfoData infoData = new ApiInfoData(); infoData.setId(data.getBizId()); infoData.setKqdm(data.getKqdm()); infoData.setInteType(WhjlConstant.API_CATEGORY_12); infoData.setInteId(WhjlConstant.API_CODE_1205); infoData.setUpdateTime(new Date()); infoData.setDataId(data.getBizId()); infoData.setData(JSON.toJSONString(data)); infoData.setCzbz(data.getCzbz()); infoData.setRemarks("夿³¨ä¿¡æ¯"); apiInfoDataRep.save(infoData); } /** * å é¤ * whjlApi1205PR#delData * * @param data * @return */ @Expose public String delData(WhjlApi1205 data) { apiInfoDataRep.deleteById(data.getBizId()); return null; } /** * ä¸ä¼ * whjlApi1205PR#pushData * * @param items * @return */ @Expose public String pushData(List<WhjlApi1205> items) { String result = ""; String kqdm = items.get(0).getKqdm(); ApiConfs apiConf = apiCommonService.getConf(kqdm); if (null == apiConf) { return "ç³»ç»æ²¡æè·åå°å½ååºåºé 置信æ¯ï¼æ§è¡å¤±è´¥"; } //å°è£ åæ° ApiParam param = new ApiParam(apiConf, WhjlConstant.API_CATEGORY_12, WhjlConstant.API_CODE_1205); //è·åå®ç°æ¥å£ ApiRemoteService apiService = apiPushManager.getApiRemoteService(param.getPushProtocol()); if (null == apiService) { return "ç³»ç»æ²¡æå½åæ¨éåè®®é ç½®ï¼æ§è¡å¤±è´¥"; } ApiInfoData infoData; ResponseDto responseDto; for (WhjlApi1205 data : items) { responseDto = apiService.pushData(param, apiConf, data); if (responseDto.getSuccess() == 0) { if (Constant.CZBZ_I.equals(data.getCzbz())) { infoData = new ApiInfoData(); infoData.setId(data.getBizId()); infoData.setKqdm(data.getKqdm()); infoData.setInteType(WhjlConstant.API_CATEGORY_12); infoData.setInteId(WhjlConstant.API_CODE_1205); infoData.setUpdateTime(new Date()); infoData.setDataId(data.getBizId()); data.setCzbz(Constant.CZBZ_U); infoData.setCzbz(Constant.CZBZ_U); infoData.setData(JSON.toJSONString(data)); apiInfoDataRep.save(infoData); } } result += responseDto.toString(); } return result; } } src/main/java/com/fzzy/otherview/whhpjl/pr/WhjlApi1206PR.java
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,225 @@ package com.fzzy.otherview.whhpjl.pr; import com.alibaba.fastjson.JSON; import com.alibaba.fastjson.JSONObject; import com.bstek.dorado.annotation.DataProvider; import com.bstek.dorado.annotation.DataResolver; import com.bstek.dorado.annotation.Expose; import com.bstek.dorado.data.provider.Page; import com.fzzy.api.Constant; import com.fzzy.api.data.ApiParam; import com.fzzy.api.dto.ResponseDto; import com.fzzy.api.entity.ApiConfs; import com.fzzy.api.entity.ApiInfoData; 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.ApiInfoDataRep; import com.fzzy.otherview.whhpjl.WhjlConstant; import com.fzzy.otherview.whhpjl.dto.WhjlApi1206; import com.fzzy.otherview.whhpjl.dto.WhjlApi1206; import com.fzzy.otherview.whhpjl.dto.WhjlQDItem; import org.apache.commons.lang.StringUtils; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.data.domain.PageRequest; import org.springframework.data.domain.Pageable; import org.springframework.data.domain.Sort; import org.springframework.data.jpa.domain.Specification; import org.springframework.stereotype.Component; import javax.persistence.criteria.CriteriaBuilder; import javax.persistence.criteria.CriteriaQuery; import javax.persistence.criteria.Predicate; import javax.persistence.criteria.Root; import java.util.ArrayList; import java.util.Date; import java.util.List; /** * ååä¿¡æ¯ * * @Author:YAN */ @Component public class WhjlApi1206PR { @Autowired private ApiCommonService apiCommonService; @Autowired private ApiPushManager apiPushManager; @Autowired private ApiInfoDataRep apiInfoDataRep; /** * è·ååè¡¨ä¿¡æ¯ * whjlApi1207PR#listData * * @return */ @DataProvider public void listData(Page<WhjlApi1206> page, ApiParam param) { Pageable pageable = PageRequest.of(page.getPageNo() - 1, page.getPageSize(), Sort.Direction.DESC, "updateTime"); Specification specification = new Specification<ApiInfoData>() { private static final long serialVersionUID = 1L; @Override public Predicate toPredicate(Root<ApiInfoData> root, CriteriaQuery<?> criteriaQuery, CriteriaBuilder criteriaBuilder) { List<Predicate> predicates = new ArrayList<>(); //ææçæè¨ Predicate predicate = criteriaBuilder.equal(root.get("inteId"), WhjlConstant.API_CODE_1206); predicates.add(predicate); if (null != param) { if (StringUtils.isNotBlank(param.getKqdm())) { Predicate predicate1 = criteriaBuilder.equal(root.get("kqdm"), param.getKqdm()); predicates.add(predicate1); } if (StringUtils.isNotBlank(param.getCzbz())) { Predicate predicate2 = criteriaBuilder.equal(root.get("czbz"), param.getCzbz()); predicates.add(predicate2); } if (null != param.getStart()) { Predicate predicate3 = criteriaBuilder.greaterThan(root.get("updateTime"), ContextUtil.getCurZero(param.getStart())); predicates.add(predicate3); } if (null != param.getEnd()) { Predicate predicate4 = criteriaBuilder.lessThan(root.get("updateTime"), ContextUtil.getNextZero(param.getEnd())); predicates.add(predicate4); } } return criteriaBuilder.and(predicates.toArray(new Predicate[0])); } }; org.springframework.data.domain.Page<ApiInfoData> japPage = apiInfoDataRep.findAll(specification, pageable); page.setEntityCount((int) japPage.getTotalElements()); List<WhjlApi1206> list = new ArrayList<>(); WhjlApi1206 whjlApi1206; for (ApiInfoData infoData : japPage.getContent()) { whjlApi1206 = JSONObject.parseObject(infoData.getData(), WhjlApi1206.class); whjlApi1206.setKqdm(infoData.getKqdm()); whjlApi1206.setCzbz(infoData.getCzbz()); whjlApi1206.setUpdateTime(infoData.getUpdateTime()); whjlApi1206.setBizId(infoData.getDataId()); list.add(whjlApi1206); } page.setEntities(list); } /** * è·ååè¡¨ä¿¡æ¯ * whjlApi1207PR#listItem * * @return */ @DataProvider public List<WhjlQDItem> listItem(String id) { return null; } /** * æ´æ°æä¿®æ¹ * whjlApi1207PR#saveData * * @param data * @return */ @DataResolver public void saveData(WhjlApi1206 data) { ApiInfoData infoData = new ApiInfoData(); infoData.setId(data.getBizId()); infoData.setKqdm(data.getKqdm()); infoData.setInteType(WhjlConstant.API_CATEGORY_12); infoData.setInteId(WhjlConstant.API_CODE_1207); infoData.setUpdateTime(new Date()); infoData.setDataId(data.getBizId()); infoData.setData(JSON.toJSONString(data)); infoData.setCzbz(data.getCzbz()); infoData.setRemarks("夿³¨ä¿¡æ¯"); apiInfoDataRep.save(infoData); } /** * å é¤ * whjlApi1207PR#delData * * @param data * @return */ @Expose public String delData(WhjlApi1206 data) { apiInfoDataRep.deleteById(data.getBizId()); return null; } /** * å é¤ååå忏 å * whjlApi1207PR#delItem * * @param data * @return */ @Expose public String delItem(WhjlQDItem data) { return null; } /** * ä¸ä¼ * whjlApi1207PR#pushData * * @param items * @return */ @Expose public String pushData(List<WhjlApi1206> items) { String result = ""; String kqdm = items.get(0).getKqdm(); ApiConfs apiConf = apiCommonService.getConf(kqdm); if (null == apiConf) { return "ç³»ç»æ²¡æè·åå°å½ååºåºé 置信æ¯ï¼æ§è¡å¤±è´¥"; } //å°è£ åæ° ApiParam param = new ApiParam(apiConf, WhjlConstant.API_CATEGORY_12, WhjlConstant.API_CODE_1207); //è·åå®ç°æ¥å£ ApiRemoteService apiService = apiPushManager.getApiRemoteService(param.getPushProtocol()); if (null == apiService) { return "ç³»ç»æ²¡æå½åæ¨éåè®®é ç½®ï¼æ§è¡å¤±è´¥"; } ApiInfoData infoData; ResponseDto responseDto; for (WhjlApi1206 data : items) { responseDto = apiService.pushData(param, apiConf, data); if (responseDto.getSuccess() == 0) { if (Constant.CZBZ_I.equals(data.getCzbz())) { infoData = new ApiInfoData(); infoData.setId(data.getBizId()); infoData.setKqdm(data.getKqdm()); infoData.setInteType(WhjlConstant.API_CATEGORY_12); infoData.setInteId(WhjlConstant.API_CODE_1207); infoData.setUpdateTime(new Date()); infoData.setDataId(data.getBizId()); data.setCzbz(Constant.CZBZ_U); infoData.setCzbz(Constant.CZBZ_U); infoData.setData(JSON.toJSONString(data)); apiInfoDataRep.save(infoData); } } result += responseDto.toString(); } return result; } } src/main/java/com/fzzy/otherview/whhpjl/pr/WhjlApi1208PR.java
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,224 @@ package com.fzzy.otherview.whhpjl.pr; import com.alibaba.fastjson.JSON; import com.alibaba.fastjson.JSONObject; import com.bstek.dorado.annotation.DataProvider; import com.bstek.dorado.annotation.DataResolver; import com.bstek.dorado.annotation.Expose; import com.bstek.dorado.data.provider.Page; import com.fzzy.api.Constant; import com.fzzy.api.data.ApiParam; import com.fzzy.api.dto.ResponseDto; import com.fzzy.api.entity.ApiConfs; import com.fzzy.api.entity.ApiInfoData; 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.ApiInfoDataRep; import com.fzzy.otherview.whhpjl.WhjlConstant; import com.fzzy.otherview.whhpjl.dto.WhjlApi1208; import com.fzzy.otherview.whhpjl.dto.WhjlApi1208; import com.fzzy.otherview.whhpjl.dto.WhjlQDItem; import org.apache.commons.lang.StringUtils; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.data.domain.PageRequest; import org.springframework.data.domain.Pageable; import org.springframework.data.domain.Sort; import org.springframework.data.jpa.domain.Specification; import org.springframework.stereotype.Component; import javax.persistence.criteria.CriteriaBuilder; import javax.persistence.criteria.CriteriaQuery; import javax.persistence.criteria.Predicate; import javax.persistence.criteria.Root; import java.util.ArrayList; import java.util.Date; import java.util.List; /** * åºåå°è´¦äº§åæ¹æ¬¡ * * @Author:YAN */ @Component public class WhjlApi1208PR { @Autowired private ApiCommonService apiCommonService; @Autowired private ApiPushManager apiPushManager; @Autowired private ApiInfoDataRep apiInfoDataRep; /** * è·ååè¡¨ä¿¡æ¯ * whjlApi1208PR#listData * * @return */ @DataProvider public void listData(Page<WhjlApi1208> page, ApiParam param) { Pageable pageable = PageRequest.of(page.getPageNo() - 1, page.getPageSize(), Sort.Direction.DESC, "updateTime"); Specification specification = new Specification<ApiInfoData>() { private static final long serialVersionUID = 1L; @Override public Predicate toPredicate(Root<ApiInfoData> root, CriteriaQuery<?> criteriaQuery, CriteriaBuilder criteriaBuilder) { List<Predicate> predicates = new ArrayList<>(); //ææçæè¨ Predicate predicate = criteriaBuilder.equal(root.get("inteId"), WhjlConstant.API_CODE_1208); predicates.add(predicate); if (null != param) { if (StringUtils.isNotBlank(param.getKqdm())) { Predicate predicate1 = criteriaBuilder.equal(root.get("kqdm"), param.getKqdm()); predicates.add(predicate1); } if (StringUtils.isNotBlank(param.getCzbz())) { Predicate predicate2 = criteriaBuilder.equal(root.get("czbz"), param.getCzbz()); predicates.add(predicate2); } if (null != param.getStart()) { Predicate predicate3 = criteriaBuilder.greaterThan(root.get("updateTime"), ContextUtil.getCurZero(param.getStart())); predicates.add(predicate3); } if (null != param.getEnd()) { Predicate predicate4 = criteriaBuilder.lessThan(root.get("updateTime"), ContextUtil.getNextZero(param.getEnd())); predicates.add(predicate4); } } return criteriaBuilder.and(predicates.toArray(new Predicate[0])); } }; org.springframework.data.domain.Page<ApiInfoData> japPage = apiInfoDataRep.findAll(specification, pageable); page.setEntityCount((int) japPage.getTotalElements()); List<WhjlApi1208> list = new ArrayList<>(); WhjlApi1208 whjlApi1208; for (ApiInfoData infoData : japPage.getContent()) { whjlApi1208 = JSONObject.parseObject(infoData.getData(), WhjlApi1208.class); whjlApi1208.setKqdm(infoData.getKqdm()); whjlApi1208.setCzbz(infoData.getCzbz()); whjlApi1208.setUpdateTime(infoData.getUpdateTime()); whjlApi1208.setBizId(infoData.getDataId()); list.add(whjlApi1208); } page.setEntities(list); } /** * è·ååè¡¨ä¿¡æ¯ * whjlApi1208PR#listItem * * @return */ @DataProvider public List<WhjlQDItem> listItem(String id) { return null; } /** * æ´æ°æä¿®æ¹ * whjlApi1208PR#saveData * * @param data * @return */ @DataResolver public void saveData(WhjlApi1208 data) { ApiInfoData infoData = new ApiInfoData(); infoData.setId(data.getBizId()); infoData.setKqdm(data.getKqdm()); infoData.setInteType(WhjlConstant.API_CATEGORY_12); infoData.setInteId(WhjlConstant.API_CODE_1208); infoData.setUpdateTime(new Date()); infoData.setDataId(data.getBizId()); infoData.setData(JSON.toJSONString(data)); infoData.setCzbz(data.getCzbz()); infoData.setRemarks("夿³¨ä¿¡æ¯"); apiInfoDataRep.save(infoData); } /** * å é¤ * whjlApi1208PR#delData * * @param data * @return */ @Expose public String delData(WhjlApi1208 data) { apiInfoDataRep.deleteById(data.getBizId()); return null; } /** * å é¤ååå忏 å * whjlApi1208PR#delItem * * @param data * @return */ @Expose public String delItem(WhjlQDItem data) { return null; } /** * ä¸ä¼ * whjlApi1208PR#pushData * * @param items * @return */ @Expose public String pushData(List<WhjlApi1208> items) { String result = ""; String kqdm = items.get(0).getKqdm(); ApiConfs apiConf = apiCommonService.getConf(kqdm); if (null == apiConf) { return "ç³»ç»æ²¡æè·åå°å½ååºåºé 置信æ¯ï¼æ§è¡å¤±è´¥"; } //å°è£ åæ° ApiParam param = new ApiParam(apiConf, WhjlConstant.API_CATEGORY_12, WhjlConstant.API_CODE_1208); //è·åå®ç°æ¥å£ ApiRemoteService apiService = apiPushManager.getApiRemoteService(param.getPushProtocol()); if (null == apiService) { return "ç³»ç»æ²¡æå½åæ¨éåè®®é ç½®ï¼æ§è¡å¤±è´¥"; } ApiInfoData infoData; ResponseDto responseDto; for (WhjlApi1208 data : items) { responseDto = apiService.pushData(param, apiConf, data); if (responseDto.getSuccess() == 0) { if (Constant.CZBZ_I.equals(data.getCzbz())) { infoData = new ApiInfoData(); infoData.setId(data.getBizId()); infoData.setKqdm(data.getKqdm()); infoData.setInteType(WhjlConstant.API_CATEGORY_12); infoData.setInteId(WhjlConstant.API_CODE_1208); infoData.setUpdateTime(new Date()); infoData.setDataId(data.getBizId()); data.setCzbz(Constant.CZBZ_U); infoData.setCzbz(Constant.CZBZ_U); infoData.setData(JSON.toJSONString(data)); apiInfoDataRep.save(infoData); } } result += responseDto.toString(); } return result; } } src/main/java/com/fzzy/otherview/whhpjl/pr/WhjlApi1209PR.java
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,223 @@ package com.fzzy.otherview.whhpjl.pr; import com.alibaba.fastjson.JSON; import com.alibaba.fastjson.JSONObject; import com.bstek.dorado.annotation.DataProvider; import com.bstek.dorado.annotation.DataResolver; import com.bstek.dorado.annotation.Expose; import com.bstek.dorado.data.provider.Page; import com.fzzy.api.Constant; import com.fzzy.api.data.ApiParam; import com.fzzy.api.dto.ResponseDto; import com.fzzy.api.entity.ApiConfs; import com.fzzy.api.entity.ApiInfoData; 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.ApiInfoDataRep; import com.fzzy.otherview.whhpjl.WhjlConstant; import com.fzzy.otherview.whhpjl.dto.WhjlApi1209; import com.fzzy.otherview.whhpjl.dto.WhjlQDItem; import org.apache.commons.lang.StringUtils; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.data.domain.PageRequest; import org.springframework.data.domain.Pageable; import org.springframework.data.domain.Sort; import org.springframework.data.jpa.domain.Specification; import org.springframework.stereotype.Component; import javax.persistence.criteria.CriteriaBuilder; import javax.persistence.criteria.CriteriaQuery; import javax.persistence.criteria.Predicate; import javax.persistence.criteria.Root; import java.util.ArrayList; import java.util.Date; import java.util.List; /** * åºåå°è´¦åºå ¥è®°å½ * * @Author:YAN */ @Component public class WhjlApi1209PR { @Autowired private ApiCommonService apiCommonService; @Autowired private ApiPushManager apiPushManager; @Autowired private ApiInfoDataRep apiInfoDataRep; /** * è·ååè¡¨ä¿¡æ¯ * whjlApi1209PR#listData * * @return */ @DataProvider public void listData(Page<WhjlApi1209> page, ApiParam param) { Pageable pageable = PageRequest.of(page.getPageNo() - 1, page.getPageSize(), Sort.Direction.DESC, "updateTime"); Specification specification = new Specification<ApiInfoData>() { private static final long serialVersionUID = 1L; @Override public Predicate toPredicate(Root<ApiInfoData> root, CriteriaQuery<?> criteriaQuery, CriteriaBuilder criteriaBuilder) { List<Predicate> predicates = new ArrayList<>(); //ææçæè¨ Predicate predicate = criteriaBuilder.equal(root.get("inteId"), WhjlConstant.API_CODE_1209); predicates.add(predicate); if (null != param) { if (StringUtils.isNotBlank(param.getKqdm())) { Predicate predicate1 = criteriaBuilder.equal(root.get("kqdm"), param.getKqdm()); predicates.add(predicate1); } if (StringUtils.isNotBlank(param.getCzbz())) { Predicate predicate2 = criteriaBuilder.equal(root.get("czbz"), param.getCzbz()); predicates.add(predicate2); } if (null != param.getStart()) { Predicate predicate3 = criteriaBuilder.greaterThan(root.get("updateTime"), ContextUtil.getCurZero(param.getStart())); predicates.add(predicate3); } if (null != param.getEnd()) { Predicate predicate4 = criteriaBuilder.lessThan(root.get("updateTime"), ContextUtil.getNextZero(param.getEnd())); predicates.add(predicate4); } } return criteriaBuilder.and(predicates.toArray(new Predicate[0])); } }; org.springframework.data.domain.Page<ApiInfoData> japPage = apiInfoDataRep.findAll(specification, pageable); page.setEntityCount((int) japPage.getTotalElements()); List<WhjlApi1209> list = new ArrayList<>(); WhjlApi1209 whjlApi1209; for (ApiInfoData infoData : japPage.getContent()) { whjlApi1209 = JSONObject.parseObject(infoData.getData(), WhjlApi1209.class); whjlApi1209.setKqdm(infoData.getKqdm()); whjlApi1209.setCzbz(infoData.getCzbz()); whjlApi1209.setUpdateTime(infoData.getUpdateTime()); whjlApi1209.setBizId(infoData.getDataId()); list.add(whjlApi1209); } page.setEntities(list); } /** * è·ååè¡¨ä¿¡æ¯ * whjlApi1209PR#listItem * * @return */ @DataProvider public List<WhjlQDItem> listItem(String id) { return null; } /** * æ´æ°æä¿®æ¹ * whjlApi1209PR#saveData * * @param data * @return */ @DataResolver public void saveData(WhjlApi1209 data) { ApiInfoData infoData = new ApiInfoData(); infoData.setId(data.getBizId()); infoData.setKqdm(data.getKqdm()); infoData.setInteType(WhjlConstant.API_CATEGORY_12); infoData.setInteId(WhjlConstant.API_CODE_1209); infoData.setUpdateTime(new Date()); infoData.setDataId(data.getBizId()); infoData.setData(JSON.toJSONString(data)); infoData.setCzbz(data.getCzbz()); infoData.setRemarks("夿³¨ä¿¡æ¯"); apiInfoDataRep.save(infoData); } /** * å é¤ * whjlApi1209PR#delData * * @param data * @return */ @Expose public String delData(WhjlApi1209 data) { apiInfoDataRep.deleteById(data.getBizId()); return null; } /** * å é¤ååå忏 å * whjlApi1209PR#delItem * * @param data * @return */ @Expose public String delItem(WhjlQDItem data) { return null; } /** * ä¸ä¼ * whjlApi1209PR#pushData * * @param items * @return */ @Expose public String pushData(List<WhjlApi1209> items) { String result = ""; String kqdm = items.get(0).getKqdm(); ApiConfs apiConf = apiCommonService.getConf(kqdm); if (null == apiConf) { return "ç³»ç»æ²¡æè·åå°å½ååºåºé 置信æ¯ï¼æ§è¡å¤±è´¥"; } //å°è£ åæ° ApiParam param = new ApiParam(apiConf, WhjlConstant.API_CATEGORY_12, WhjlConstant.API_CODE_1209); //è·åå®ç°æ¥å£ ApiRemoteService apiService = apiPushManager.getApiRemoteService(param.getPushProtocol()); if (null == apiService) { return "ç³»ç»æ²¡æå½åæ¨éåè®®é ç½®ï¼æ§è¡å¤±è´¥"; } ApiInfoData infoData; ResponseDto responseDto; for (WhjlApi1209 data : items) { responseDto = apiService.pushData(param, apiConf, data); if (responseDto.getSuccess() == 0) { if (Constant.CZBZ_I.equals(data.getCzbz())) { infoData = new ApiInfoData(); infoData.setId(data.getBizId()); infoData.setKqdm(data.getKqdm()); infoData.setInteType(WhjlConstant.API_CATEGORY_12); infoData.setInteId(WhjlConstant.API_CODE_1209); infoData.setUpdateTime(new Date()); infoData.setDataId(data.getBizId()); data.setCzbz(Constant.CZBZ_U); infoData.setCzbz(Constant.CZBZ_U); infoData.setData(JSON.toJSONString(data)); apiInfoDataRep.save(infoData); } } result += responseDto.toString(); } return result; } } src/main/java/com/fzzy/otherview/whhpjl/pr/WhjlApi1210PR.java
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,223 @@ package com.fzzy.otherview.whhpjl.pr; import com.alibaba.fastjson.JSON; import com.alibaba.fastjson.JSONObject; import com.bstek.dorado.annotation.DataProvider; import com.bstek.dorado.annotation.DataResolver; import com.bstek.dorado.annotation.Expose; import com.bstek.dorado.data.provider.Page; import com.fzzy.api.Constant; import com.fzzy.api.data.ApiParam; import com.fzzy.api.dto.ResponseDto; import com.fzzy.api.entity.ApiConfs; import com.fzzy.api.entity.ApiInfoData; 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.ApiInfoDataRep; import com.fzzy.otherview.whhpjl.WhjlConstant; import com.fzzy.otherview.whhpjl.dto.WhjlApi1210; import com.fzzy.otherview.whhpjl.dto.WhjlQDItem; import org.apache.commons.lang.StringUtils; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.data.domain.PageRequest; import org.springframework.data.domain.Pageable; import org.springframework.data.domain.Sort; import org.springframework.data.jpa.domain.Specification; import org.springframework.stereotype.Component; import javax.persistence.criteria.CriteriaBuilder; import javax.persistence.criteria.CriteriaQuery; import javax.persistence.criteria.Predicate; import javax.persistence.criteria.Root; import java.util.ArrayList; import java.util.Date; import java.util.List; /** * åºåå°è´¦åºå ¥è®°å½ * * @Author:YAN */ @Component public class WhjlApi1210PR { @Autowired private ApiCommonService apiCommonService; @Autowired private ApiPushManager apiPushManager; @Autowired private ApiInfoDataRep apiInfoDataRep; /** * è·ååè¡¨ä¿¡æ¯ * whjlApi1210PR#listData * * @return */ @DataProvider public void listData(Page<WhjlApi1210> page, ApiParam param) { Pageable pageable = PageRequest.of(page.getPageNo() - 1, page.getPageSize(), Sort.Direction.DESC, "updateTime"); Specification specification = new Specification<ApiInfoData>() { private static final long serialVersionUID = 1L; @Override public Predicate toPredicate(Root<ApiInfoData> root, CriteriaQuery<?> criteriaQuery, CriteriaBuilder criteriaBuilder) { List<Predicate> predicates = new ArrayList<>(); //ææçæè¨ Predicate predicate = criteriaBuilder.equal(root.get("inteId"), WhjlConstant.API_CODE_1210); predicates.add(predicate); if (null != param) { if (StringUtils.isNotBlank(param.getKqdm())) { Predicate predicate1 = criteriaBuilder.equal(root.get("kqdm"), param.getKqdm()); predicates.add(predicate1); } if (StringUtils.isNotBlank(param.getCzbz())) { Predicate predicate2 = criteriaBuilder.equal(root.get("czbz"), param.getCzbz()); predicates.add(predicate2); } if (null != param.getStart()) { Predicate predicate3 = criteriaBuilder.greaterThan(root.get("updateTime"), ContextUtil.getCurZero(param.getStart())); predicates.add(predicate3); } if (null != param.getEnd()) { Predicate predicate4 = criteriaBuilder.lessThan(root.get("updateTime"), ContextUtil.getNextZero(param.getEnd())); predicates.add(predicate4); } } return criteriaBuilder.and(predicates.toArray(new Predicate[0])); } }; org.springframework.data.domain.Page<ApiInfoData> japPage = apiInfoDataRep.findAll(specification, pageable); page.setEntityCount((int) japPage.getTotalElements()); List<WhjlApi1210> list = new ArrayList<>(); WhjlApi1210 whjlApi1210; for (ApiInfoData infoData : japPage.getContent()) { whjlApi1210 = JSONObject.parseObject(infoData.getData(), WhjlApi1210.class); whjlApi1210.setKqdm(infoData.getKqdm()); whjlApi1210.setCzbz(infoData.getCzbz()); whjlApi1210.setUpdateTime(infoData.getUpdateTime()); whjlApi1210.setBizId(infoData.getDataId()); list.add(whjlApi1210); } page.setEntities(list); } /** * è·ååè¡¨ä¿¡æ¯ * whjlApi1210PR#listItem * * @return */ @DataProvider public List<WhjlQDItem> listItem(String id) { return null; } /** * æ´æ°æä¿®æ¹ * whjlApi1210PR#saveData * * @param data * @return */ @DataResolver public void saveData(WhjlApi1210 data) { ApiInfoData infoData = new ApiInfoData(); infoData.setId(data.getBizId()); infoData.setKqdm(data.getKqdm()); infoData.setInteType(WhjlConstant.API_CATEGORY_12); infoData.setInteId(WhjlConstant.API_CODE_1210); infoData.setUpdateTime(new Date()); infoData.setDataId(data.getBizId()); infoData.setData(JSON.toJSONString(data)); infoData.setCzbz(data.getCzbz()); infoData.setRemarks("夿³¨ä¿¡æ¯"); apiInfoDataRep.save(infoData); } /** * å é¤ * whjlApi1210PR#delData * * @param data * @return */ @Expose public String delData(WhjlApi1210 data) { apiInfoDataRep.deleteById(data.getBizId()); return null; } /** * å é¤ååå忏 å * whjlApi1210PR#delItem * * @param data * @return */ @Expose public String delItem(WhjlQDItem data) { return null; } /** * ä¸ä¼ * whjlApi1210PR#pushData * * @param items * @return */ @Expose public String pushData(List<WhjlApi1210> items) { String result = ""; String kqdm = items.get(0).getKqdm(); ApiConfs apiConf = apiCommonService.getConf(kqdm); if (null == apiConf) { return "ç³»ç»æ²¡æè·åå°å½ååºåºé 置信æ¯ï¼æ§è¡å¤±è´¥"; } //å°è£ åæ° ApiParam param = new ApiParam(apiConf, WhjlConstant.API_CATEGORY_12, WhjlConstant.API_CODE_1210); //è·åå®ç°æ¥å£ ApiRemoteService apiService = apiPushManager.getApiRemoteService(param.getPushProtocol()); if (null == apiService) { return "ç³»ç»æ²¡æå½åæ¨éåè®®é ç½®ï¼æ§è¡å¤±è´¥"; } ApiInfoData infoData; ResponseDto responseDto; for (WhjlApi1210 data : items) { responseDto = apiService.pushData(param, apiConf, data); if (responseDto.getSuccess() == 0) { if (Constant.CZBZ_I.equals(data.getCzbz())) { infoData = new ApiInfoData(); infoData.setId(data.getBizId()); infoData.setKqdm(data.getKqdm()); infoData.setInteType(WhjlConstant.API_CATEGORY_12); infoData.setInteId(WhjlConstant.API_CODE_1210); infoData.setUpdateTime(new Date()); infoData.setDataId(data.getBizId()); data.setCzbz(Constant.CZBZ_U); infoData.setCzbz(Constant.CZBZ_U); infoData.setData(JSON.toJSONString(data)); apiInfoDataRep.save(infoData); } } result += responseDto.toString(); } return result; } } src/main/java/com/fzzy/otherview/whhpjl/pr/WhjlApi1211PR.java
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,223 @@ package com.fzzy.otherview.whhpjl.pr; import com.alibaba.fastjson.JSON; import com.alibaba.fastjson.JSONObject; import com.bstek.dorado.annotation.DataProvider; import com.bstek.dorado.annotation.DataResolver; import com.bstek.dorado.annotation.Expose; import com.bstek.dorado.data.provider.Page; import com.fzzy.api.Constant; import com.fzzy.api.data.ApiParam; import com.fzzy.api.dto.ResponseDto; import com.fzzy.api.entity.ApiConfs; import com.fzzy.api.entity.ApiInfoData; 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.ApiInfoDataRep; import com.fzzy.otherview.whhpjl.WhjlConstant; import com.fzzy.otherview.whhpjl.dto.WhjlApi1211; import com.fzzy.otherview.whhpjl.dto.WhjlQDItem; import org.apache.commons.lang.StringUtils; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.data.domain.PageRequest; import org.springframework.data.domain.Pageable; import org.springframework.data.domain.Sort; import org.springframework.data.jpa.domain.Specification; import org.springframework.stereotype.Component; import javax.persistence.criteria.CriteriaBuilder; import javax.persistence.criteria.CriteriaQuery; import javax.persistence.criteria.Predicate; import javax.persistence.criteria.Root; import java.util.ArrayList; import java.util.Date; import java.util.List; /** * åºåå°è´¦åºå ¥è®°å½ * * @Author:YAN */ @Component public class WhjlApi1211PR { @Autowired private ApiCommonService apiCommonService; @Autowired private ApiPushManager apiPushManager; @Autowired private ApiInfoDataRep apiInfoDataRep; /** * è·ååè¡¨ä¿¡æ¯ * whjlApi1211PR#listData * * @return */ @DataProvider public void listData(Page<WhjlApi1211> page, ApiParam param) { Pageable pageable = PageRequest.of(page.getPageNo() - 1, page.getPageSize(), Sort.Direction.DESC, "updateTime"); Specification specification = new Specification<ApiInfoData>() { private static final long serialVersionUID = 1L; @Override public Predicate toPredicate(Root<ApiInfoData> root, CriteriaQuery<?> criteriaQuery, CriteriaBuilder criteriaBuilder) { List<Predicate> predicates = new ArrayList<>(); //ææçæè¨ Predicate predicate = criteriaBuilder.equal(root.get("inteId"), WhjlConstant.API_CODE_1211); predicates.add(predicate); if (null != param) { if (StringUtils.isNotBlank(param.getKqdm())) { Predicate predicate1 = criteriaBuilder.equal(root.get("kqdm"), param.getKqdm()); predicates.add(predicate1); } if (StringUtils.isNotBlank(param.getCzbz())) { Predicate predicate2 = criteriaBuilder.equal(root.get("czbz"), param.getCzbz()); predicates.add(predicate2); } if (null != param.getStart()) { Predicate predicate3 = criteriaBuilder.greaterThan(root.get("updateTime"), ContextUtil.getCurZero(param.getStart())); predicates.add(predicate3); } if (null != param.getEnd()) { Predicate predicate4 = criteriaBuilder.lessThan(root.get("updateTime"), ContextUtil.getNextZero(param.getEnd())); predicates.add(predicate4); } } return criteriaBuilder.and(predicates.toArray(new Predicate[0])); } }; org.springframework.data.domain.Page<ApiInfoData> japPage = apiInfoDataRep.findAll(specification, pageable); page.setEntityCount((int) japPage.getTotalElements()); List<WhjlApi1211> list = new ArrayList<>(); WhjlApi1211 whjlApi1211; for (ApiInfoData infoData : japPage.getContent()) { whjlApi1211 = JSONObject.parseObject(infoData.getData(), WhjlApi1211.class); whjlApi1211.setKqdm(infoData.getKqdm()); whjlApi1211.setCzbz(infoData.getCzbz()); whjlApi1211.setUpdateTime(infoData.getUpdateTime()); whjlApi1211.setBizId(infoData.getDataId()); list.add(whjlApi1211); } page.setEntities(list); } /** * è·ååè¡¨ä¿¡æ¯ * whjlApi1211PR#listItem * * @return */ @DataProvider public List<WhjlQDItem> listItem(String id) { return null; } /** * æ´æ°æä¿®æ¹ * whjlApi1211PR#saveData * * @param data * @return */ @DataResolver public void saveData(WhjlApi1211 data) { ApiInfoData infoData = new ApiInfoData(); infoData.setId(data.getBizId()); infoData.setKqdm(data.getKqdm()); infoData.setInteType(WhjlConstant.API_CATEGORY_12); infoData.setInteId(WhjlConstant.API_CODE_1211); infoData.setUpdateTime(new Date()); infoData.setDataId(data.getBizId()); infoData.setData(JSON.toJSONString(data)); infoData.setCzbz(data.getCzbz()); infoData.setRemarks("夿³¨ä¿¡æ¯"); apiInfoDataRep.save(infoData); } /** * å é¤ * whjlApi1211PR#delData * * @param data * @return */ @Expose public String delData(WhjlApi1211 data) { apiInfoDataRep.deleteById(data.getBizId()); return null; } /** * å é¤ååå忏 å * whjlApi1211PR#delItem * * @param data * @return */ @Expose public String delItem(WhjlQDItem data) { return null; } /** * ä¸ä¼ * whjlApi1211PR#pushData * * @param items * @return */ @Expose public String pushData(List<WhjlApi1211> items) { String result = ""; String kqdm = items.get(0).getKqdm(); ApiConfs apiConf = apiCommonService.getConf(kqdm); if (null == apiConf) { return "ç³»ç»æ²¡æè·åå°å½ååºåºé 置信æ¯ï¼æ§è¡å¤±è´¥"; } //å°è£ åæ° ApiParam param = new ApiParam(apiConf, WhjlConstant.API_CATEGORY_12, WhjlConstant.API_CODE_1211); //è·åå®ç°æ¥å£ ApiRemoteService apiService = apiPushManager.getApiRemoteService(param.getPushProtocol()); if (null == apiService) { return "ç³»ç»æ²¡æå½åæ¨éåè®®é ç½®ï¼æ§è¡å¤±è´¥"; } ApiInfoData infoData; ResponseDto responseDto; for (WhjlApi1211 data : items) { responseDto = apiService.pushData(param, apiConf, data); if (responseDto.getSuccess() == 0) { if (Constant.CZBZ_I.equals(data.getCzbz())) { infoData = new ApiInfoData(); infoData.setId(data.getBizId()); infoData.setKqdm(data.getKqdm()); infoData.setInteType(WhjlConstant.API_CATEGORY_12); infoData.setInteId(WhjlConstant.API_CODE_1211); infoData.setUpdateTime(new Date()); infoData.setDataId(data.getBizId()); data.setCzbz(Constant.CZBZ_U); infoData.setCzbz(Constant.CZBZ_U); infoData.setData(JSON.toJSONString(data)); apiInfoDataRep.save(infoData); } } result += responseDto.toString(); } return result; } } src/main/java/com/fzzy/otherview/whhpjl/pr/WhjlApi1212PR.java
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,157 @@ package com.fzzy.otherview.whhpjl.pr; import com.alibaba.fastjson.JSON; import com.alibaba.fastjson.JSONObject; 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.ApiConfs; import com.fzzy.api.entity.ApiInfoData; import com.fzzy.api.service.ApiCommonService; import com.fzzy.api.service.ApiPushManager; import com.fzzy.api.service.ApiRemoteService; import com.fzzy.api.view.repository.ApiInfoDataRep; import com.fzzy.otherview.whhpjl.WhjlConstant; import com.fzzy.otherview.whhpjl.dto.WhjlApi1212; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Component; import java.util.ArrayList; import java.util.Date; import java.util.List; /** * ååä¿¡æ¯ * * @Author:YAN */ @Component public class WhjlApi1212PR { @Autowired private ApiCommonService apiCommonService; @Autowired private ApiPushManager apiPushManager; @Autowired private ApiInfoDataRep apiInfoDataRep; /** * è·ååè¡¨ä¿¡æ¯ * whjlApi1214PR#listData * * @return */ @DataProvider public List<WhjlApi1212> listData() { List<ApiInfoData> result = apiInfoDataRep.getDataByInteId(WhjlConstant.API_CODE_1214); if (null == result || result.isEmpty()) { return null; } List<WhjlApi1212> list = new ArrayList<>(); WhjlApi1212 whjlApi1212; for (ApiInfoData infoData : result) { whjlApi1212 = JSONObject.parseObject(infoData.getData(), WhjlApi1212.class); whjlApi1212.setKqdm(infoData.getKqdm()); whjlApi1212.setCzbz(infoData.getCzbz()); whjlApi1212.setUpdateTime(infoData.getUpdateTime()); whjlApi1212.setBizId(infoData.getDataId()); list.add(whjlApi1212); } return list; } /** * æ´æ°æä¿®æ¹ * whjlApi1214PR#saveData * * @param data * @return */ @DataResolver public void saveData(WhjlApi1212 data) { ApiInfoData infoData = new ApiInfoData(); infoData.setId(data.getBizId()); infoData.setKqdm(data.getKqdm()); infoData.setInteType(WhjlConstant.API_CATEGORY_12); infoData.setInteId(WhjlConstant.API_CODE_1214); infoData.setUpdateTime(new Date()); infoData.setDataId(data.getBizId()); infoData.setData(JSON.toJSONString(data)); infoData.setCzbz(data.getCzbz()); infoData.setRemarks("夿³¨ä¿¡æ¯"); apiInfoDataRep.save(infoData); } /** * å é¤ * whjlApi1214PR#delData * * @param data * @return */ @Expose public String delData(WhjlApi1212 data) { apiInfoDataRep.deleteById(data.getBizId()); return null; } /** * ä¸ä¼ * whjlApi1214PR#pushData * * @param items * @return */ @Expose public String pushData(List<WhjlApi1212> items) { String result = ""; String kqdm = items.get(0).getKqdm(); ApiConfs apiConf = apiCommonService.getConf(kqdm); if (null == apiConf) { return "ç³»ç»æ²¡æè·åå°å½ååºåºé 置信æ¯ï¼æ§è¡å¤±è´¥"; } //å°è£ åæ° ApiParam param = new ApiParam(apiConf, WhjlConstant.API_CATEGORY_12, WhjlConstant.API_CODE_1214); //è·åå®ç°æ¥å£ ApiRemoteService apiService = apiPushManager.getApiRemoteService(param.getPushProtocol()); if (null == apiService) { return "ç³»ç»æ²¡æå½åæ¨éåè®®é ç½®ï¼æ§è¡å¤±è´¥"; } ApiInfoData infoData; ResponseDto responseDto; for (WhjlApi1212 data : items) { responseDto = apiService.pushData(param, apiConf, data); if (responseDto.getSuccess() == 0) { if (Constant.CZBZ_I.equals(data.getCzbz())) { infoData = new ApiInfoData(); infoData.setId(data.getBizId()); infoData.setKqdm(data.getKqdm()); infoData.setInteType(WhjlConstant.API_CATEGORY_12); infoData.setInteId(WhjlConstant.API_CODE_1214); infoData.setUpdateTime(new Date()); infoData.setDataId(data.getBizId()); data.setCzbz(Constant.CZBZ_U); infoData.setCzbz(Constant.CZBZ_U); infoData.setData(JSON.toJSONString(data)); apiInfoDataRep.save(infoData); } } result += responseDto.toString(); } return result; } } src/main/java/com/fzzy/otherview/whhpjl/pr/WhjlApi1213PR.java
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,223 @@ package com.fzzy.otherview.whhpjl.pr; import com.alibaba.fastjson.JSON; import com.alibaba.fastjson.JSONObject; import com.bstek.dorado.annotation.DataProvider; import com.bstek.dorado.annotation.DataResolver; import com.bstek.dorado.annotation.Expose; import com.bstek.dorado.data.provider.Page; import com.fzzy.api.Constant; import com.fzzy.api.data.ApiParam; import com.fzzy.api.dto.ResponseDto; import com.fzzy.api.entity.ApiConfs; import com.fzzy.api.entity.ApiInfoData; 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.ApiInfoDataRep; import com.fzzy.otherview.whhpjl.WhjlConstant; import com.fzzy.otherview.whhpjl.dto.WhjlApi1213; import com.fzzy.otherview.whhpjl.dto.WhjlQDItem; import org.apache.commons.lang.StringUtils; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.data.domain.PageRequest; import org.springframework.data.domain.Pageable; import org.springframework.data.domain.Sort; import org.springframework.data.jpa.domain.Specification; import org.springframework.stereotype.Component; import javax.persistence.criteria.CriteriaBuilder; import javax.persistence.criteria.CriteriaQuery; import javax.persistence.criteria.Predicate; import javax.persistence.criteria.Root; import java.util.ArrayList; import java.util.Date; import java.util.List; /** * åºå ¥åºç»ç®è®°å½ * * @Author:YAN */ @Component public class WhjlApi1213PR { @Autowired private ApiCommonService apiCommonService; @Autowired private ApiPushManager apiPushManager; @Autowired private ApiInfoDataRep apiInfoDataRep; /** * è·ååè¡¨ä¿¡æ¯ * whjlApi1213PR#listData * * @return */ @DataProvider public void listData(Page<WhjlApi1213> page, ApiParam param) { Pageable pageable = PageRequest.of(page.getPageNo() - 1, page.getPageSize(), Sort.Direction.DESC, "updateTime"); Specification specification = new Specification<ApiInfoData>() { private static final long serialVersionUID = 1L; @Override public Predicate toPredicate(Root<ApiInfoData> root, CriteriaQuery<?> criteriaQuery, CriteriaBuilder criteriaBuilder) { List<Predicate> predicates = new ArrayList<>(); //ææçæè¨ Predicate predicate = criteriaBuilder.equal(root.get("inteId"), WhjlConstant.API_CODE_1213); predicates.add(predicate); if (null != param) { if (StringUtils.isNotBlank(param.getKqdm())) { Predicate predicate1 = criteriaBuilder.equal(root.get("kqdm"), param.getKqdm()); predicates.add(predicate1); } if (StringUtils.isNotBlank(param.getCzbz())) { Predicate predicate2 = criteriaBuilder.equal(root.get("czbz"), param.getCzbz()); predicates.add(predicate2); } if (null != param.getStart()) { Predicate predicate3 = criteriaBuilder.greaterThan(root.get("updateTime"), ContextUtil.getCurZero(param.getStart())); predicates.add(predicate3); } if (null != param.getEnd()) { Predicate predicate4 = criteriaBuilder.lessThan(root.get("updateTime"), ContextUtil.getNextZero(param.getEnd())); predicates.add(predicate4); } } return criteriaBuilder.and(predicates.toArray(new Predicate[0])); } }; org.springframework.data.domain.Page<ApiInfoData> japPage = apiInfoDataRep.findAll(specification, pageable); page.setEntityCount((int) japPage.getTotalElements()); List<WhjlApi1213> list = new ArrayList<>(); WhjlApi1213 whjlApi1213; for (ApiInfoData infoData : japPage.getContent()) { whjlApi1213 = JSONObject.parseObject(infoData.getData(), WhjlApi1213.class); whjlApi1213.setKqdm(infoData.getKqdm()); whjlApi1213.setCzbz(infoData.getCzbz()); whjlApi1213.setUpdateTime(infoData.getUpdateTime()); whjlApi1213.setBizId(infoData.getDataId()); list.add(whjlApi1213); } page.setEntities(list); } /** * è·ååè¡¨ä¿¡æ¯ * whjlApi1213PR#listItem * * @return */ @DataProvider public List<WhjlQDItem> listItem(String id) { return null; } /** * æ´æ°æä¿®æ¹ * whjlApi1213PR#saveData * * @param data * @return */ @DataResolver public void saveData(WhjlApi1213 data) { ApiInfoData infoData = new ApiInfoData(); infoData.setId(data.getBizId()); infoData.setKqdm(data.getKqdm()); infoData.setInteType(WhjlConstant.API_CATEGORY_12); infoData.setInteId(WhjlConstant.API_CODE_1213); infoData.setUpdateTime(new Date()); infoData.setDataId(data.getBizId()); infoData.setData(JSON.toJSONString(data)); infoData.setCzbz(data.getCzbz()); infoData.setRemarks("夿³¨ä¿¡æ¯"); apiInfoDataRep.save(infoData); } /** * å é¤ * whjlApi1213PR#delData * * @param data * @return */ @Expose public String delData(WhjlApi1213 data) { apiInfoDataRep.deleteById(data.getBizId()); return null; } /** * å é¤ååå忏 å * whjlApi1213PR#delItem * * @param data * @return */ @Expose public String delItem(WhjlQDItem data) { return null; } /** * ä¸ä¼ * whjlApi1213PR#pushData * * @param items * @return */ @Expose public String pushData(List<WhjlApi1213> items) { String result = ""; String kqdm = items.get(0).getKqdm(); ApiConfs apiConf = apiCommonService.getConf(kqdm); if (null == apiConf) { return "ç³»ç»æ²¡æè·åå°å½ååºåºé 置信æ¯ï¼æ§è¡å¤±è´¥"; } //å°è£ åæ° ApiParam param = new ApiParam(apiConf, WhjlConstant.API_CATEGORY_12, WhjlConstant.API_CODE_1213); //è·åå®ç°æ¥å£ ApiRemoteService apiService = apiPushManager.getApiRemoteService(param.getPushProtocol()); if (null == apiService) { return "ç³»ç»æ²¡æå½åæ¨éåè®®é ç½®ï¼æ§è¡å¤±è´¥"; } ApiInfoData infoData; ResponseDto responseDto; for (WhjlApi1213 data : items) { responseDto = apiService.pushData(param, apiConf, data); if (responseDto.getSuccess() == 0) { if (Constant.CZBZ_I.equals(data.getCzbz())) { infoData = new ApiInfoData(); infoData.setId(data.getBizId()); infoData.setKqdm(data.getKqdm()); infoData.setInteType(WhjlConstant.API_CATEGORY_12); infoData.setInteId(WhjlConstant.API_CODE_1213); infoData.setUpdateTime(new Date()); infoData.setDataId(data.getBizId()); data.setCzbz(Constant.CZBZ_U); infoData.setCzbz(Constant.CZBZ_U); infoData.setData(JSON.toJSONString(data)); apiInfoDataRep.save(infoData); } } result += responseDto.toString(); } return result; } } src/main/java/com/fzzy/otherview/whhpjl/pr/WhjlApi1214PR.java
@@ -5,6 +5,7 @@ import com.bstek.dorado.annotation.DataProvider; import com.bstek.dorado.annotation.DataResolver; import com.bstek.dorado.annotation.Expose; import com.bstek.dorado.data.provider.Page; import com.fzzy.api.Constant; import com.fzzy.api.data.ApiParam; import com.fzzy.api.dto.ResponseDto; @@ -13,18 +14,29 @@ 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.ApiInfoDataRep; import com.fzzy.otherview.whhpjl.WhjlConstant; import com.fzzy.otherview.whhpjl.dto.WhjlApi1214; import com.fzzy.otherview.whhpjl.dto.WhjlQDItem; import org.apache.commons.lang.StringUtils; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.data.domain.PageRequest; import org.springframework.data.domain.Pageable; import org.springframework.data.domain.Sort; import org.springframework.data.jpa.domain.Specification; import org.springframework.stereotype.Component; import javax.persistence.criteria.CriteriaBuilder; import javax.persistence.criteria.CriteriaQuery; import javax.persistence.criteria.Predicate; import javax.persistence.criteria.Root; import java.util.ArrayList; import java.util.Date; import java.util.List; /** * ååä¿¡æ¯ * è´¨æ£æºæ * * @Author:YAN */ @@ -44,14 +56,45 @@ * @return */ @DataProvider public List<WhjlApi1214> listData() { List<ApiInfoData> result = apiInfoDataRep.getDataByInteId(WhjlConstant.API_CODE_1214); if (null == result || result.isEmpty()) { return null; } public void listData(Page<WhjlApi1214> page, ApiParam param) { Pageable pageable = PageRequest.of(page.getPageNo() - 1, page.getPageSize(), Sort.Direction.DESC, "updateTime"); Specification specification = new Specification<ApiInfoData>() { private static final long serialVersionUID = 1L; @Override public Predicate toPredicate(Root<ApiInfoData> root, CriteriaQuery<?> criteriaQuery, CriteriaBuilder criteriaBuilder) { List<Predicate> predicates = new ArrayList<>(); //ææçæè¨ Predicate predicate = criteriaBuilder.equal(root.get("inteId"), WhjlConstant.API_CODE_1214); predicates.add(predicate); if (null != param) { if (StringUtils.isNotBlank(param.getKqdm())) { Predicate predicate1 = criteriaBuilder.equal(root.get("kqdm"), param.getKqdm()); predicates.add(predicate1); } if (StringUtils.isNotBlank(param.getCzbz())) { Predicate predicate2 = criteriaBuilder.equal(root.get("czbz"), param.getCzbz()); predicates.add(predicate2); } if (null != param.getStart()) { Predicate predicate3 = criteriaBuilder.greaterThan(root.get("updateTime"), ContextUtil.getCurZero(param.getStart())); predicates.add(predicate3); } if (null != param.getEnd()) { Predicate predicate4 = criteriaBuilder.lessThan(root.get("updateTime"), ContextUtil.getNextZero(param.getEnd())); predicates.add(predicate4); } } return criteriaBuilder.and(predicates.toArray(new Predicate[0])); } }; org.springframework.data.domain.Page<ApiInfoData> japPage = apiInfoDataRep.findAll(specification, pageable); page.setEntityCount((int) japPage.getTotalElements()); List<WhjlApi1214> list = new ArrayList<>(); WhjlApi1214 whjlApi1214; for (ApiInfoData infoData : result) { for (ApiInfoData infoData : japPage.getContent()) { whjlApi1214 = JSONObject.parseObject(infoData.getData(), WhjlApi1214.class); whjlApi1214.setKqdm(infoData.getKqdm()); whjlApi1214.setCzbz(infoData.getCzbz()); @@ -59,9 +102,20 @@ whjlApi1214.setBizId(infoData.getDataId()); list.add(whjlApi1214); } return list; page.setEntities(list); } /** * è·ååè¡¨ä¿¡æ¯ * whjlApi1214PR#listItem * * @return */ @DataProvider public List<WhjlQDItem> listItem(String id) { return null; } /** * æ´æ°æä¿®æ¹ @@ -101,6 +155,18 @@ } /** * å é¤ååå忏 å * whjlApi1214PR#delItem * * @param data * @return */ @Expose public String delItem(WhjlQDItem data) { return null; } /** * ä¸ä¼ * whjlApi1214PR#pushData * src/main/java/com/fzzy/otherview/whhpjl/pr/WhjlApi1215PR.java
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,223 @@ package com.fzzy.otherview.whhpjl.pr; import com.alibaba.fastjson.JSON; import com.alibaba.fastjson.JSONObject; import com.bstek.dorado.annotation.DataProvider; import com.bstek.dorado.annotation.DataResolver; import com.bstek.dorado.annotation.Expose; import com.bstek.dorado.data.provider.Page; import com.fzzy.api.Constant; import com.fzzy.api.data.ApiParam; import com.fzzy.api.dto.ResponseDto; import com.fzzy.api.entity.ApiConfs; import com.fzzy.api.entity.ApiInfoData; 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.ApiInfoDataRep; import com.fzzy.otherview.whhpjl.WhjlConstant; import com.fzzy.otherview.whhpjl.dto.WhjlApi1215; import com.fzzy.otherview.whhpjl.dto.WhjlQDItem; import org.apache.commons.lang.StringUtils; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.data.domain.PageRequest; import org.springframework.data.domain.Pageable; import org.springframework.data.domain.Sort; import org.springframework.data.jpa.domain.Specification; import org.springframework.stereotype.Component; import javax.persistence.criteria.CriteriaBuilder; import javax.persistence.criteria.CriteriaQuery; import javax.persistence.criteria.Predicate; import javax.persistence.criteria.Root; import java.util.ArrayList; import java.util.Date; import java.util.List; /** * æ ·åç»è®°ä¿¡æ¯ * * @Author:YAN */ @Component public class WhjlApi1215PR { @Autowired private ApiCommonService apiCommonService; @Autowired private ApiPushManager apiPushManager; @Autowired private ApiInfoDataRep apiInfoDataRep; /** * è·ååè¡¨ä¿¡æ¯ * whjlApi1215PR#listData * * @return */ @DataProvider public void listData(Page<WhjlApi1215> page, ApiParam param) { Pageable pageable = PageRequest.of(page.getPageNo() - 1, page.getPageSize(), Sort.Direction.DESC, "updateTime"); Specification specification = new Specification<ApiInfoData>() { private static final long serialVersionUID = 1L; @Override public Predicate toPredicate(Root<ApiInfoData> root, CriteriaQuery<?> criteriaQuery, CriteriaBuilder criteriaBuilder) { List<Predicate> predicates = new ArrayList<>(); //ææçæè¨ Predicate predicate = criteriaBuilder.equal(root.get("inteId"), WhjlConstant.API_CODE_1215); predicates.add(predicate); if (null != param) { if (StringUtils.isNotBlank(param.getKqdm())) { Predicate predicate1 = criteriaBuilder.equal(root.get("kqdm"), param.getKqdm()); predicates.add(predicate1); } if (StringUtils.isNotBlank(param.getCzbz())) { Predicate predicate2 = criteriaBuilder.equal(root.get("czbz"), param.getCzbz()); predicates.add(predicate2); } if (null != param.getStart()) { Predicate predicate3 = criteriaBuilder.greaterThan(root.get("updateTime"), ContextUtil.getCurZero(param.getStart())); predicates.add(predicate3); } if (null != param.getEnd()) { Predicate predicate4 = criteriaBuilder.lessThan(root.get("updateTime"), ContextUtil.getNextZero(param.getEnd())); predicates.add(predicate4); } } return criteriaBuilder.and(predicates.toArray(new Predicate[0])); } }; org.springframework.data.domain.Page<ApiInfoData> japPage = apiInfoDataRep.findAll(specification, pageable); page.setEntityCount((int) japPage.getTotalElements()); List<WhjlApi1215> list = new ArrayList<>(); WhjlApi1215 whjlApi1215; for (ApiInfoData infoData : japPage.getContent()) { whjlApi1215 = JSONObject.parseObject(infoData.getData(), WhjlApi1215.class); whjlApi1215.setKqdm(infoData.getKqdm()); whjlApi1215.setCzbz(infoData.getCzbz()); whjlApi1215.setUpdateTime(infoData.getUpdateTime()); whjlApi1215.setBizId(infoData.getDataId()); list.add(whjlApi1215); } page.setEntities(list); } /** * è·ååè¡¨ä¿¡æ¯ * whjlApi1215PR#listItem * * @return */ @DataProvider public List<WhjlQDItem> listItem(String id) { return null; } /** * æ´æ°æä¿®æ¹ * whjlApi1215PR#saveData * * @param data * @return */ @DataResolver public void saveData(WhjlApi1215 data) { ApiInfoData infoData = new ApiInfoData(); infoData.setId(data.getBizId()); infoData.setKqdm(data.getKqdm()); infoData.setInteType(WhjlConstant.API_CATEGORY_12); infoData.setInteId(WhjlConstant.API_CODE_1215); infoData.setUpdateTime(new Date()); infoData.setDataId(data.getBizId()); infoData.setData(JSON.toJSONString(data)); infoData.setCzbz(data.getCzbz()); infoData.setRemarks("夿³¨ä¿¡æ¯"); apiInfoDataRep.save(infoData); } /** * å é¤ * whjlApi1215PR#delData * * @param data * @return */ @Expose public String delData(WhjlApi1215 data) { apiInfoDataRep.deleteById(data.getBizId()); return null; } /** * å é¤ååå忏 å * whjlApi1215PR#delItem * * @param data * @return */ @Expose public String delItem(WhjlQDItem data) { return null; } /** * ä¸ä¼ * whjlApi1215PR#pushData * * @param items * @return */ @Expose public String pushData(List<WhjlApi1215> items) { String result = ""; String kqdm = items.get(0).getKqdm(); ApiConfs apiConf = apiCommonService.getConf(kqdm); if (null == apiConf) { return "ç³»ç»æ²¡æè·åå°å½ååºåºé 置信æ¯ï¼æ§è¡å¤±è´¥"; } //å°è£ åæ° ApiParam param = new ApiParam(apiConf, WhjlConstant.API_CATEGORY_12, WhjlConstant.API_CODE_1215); //è·åå®ç°æ¥å£ ApiRemoteService apiService = apiPushManager.getApiRemoteService(param.getPushProtocol()); if (null == apiService) { return "ç³»ç»æ²¡æå½åæ¨éåè®®é ç½®ï¼æ§è¡å¤±è´¥"; } ApiInfoData infoData; ResponseDto responseDto; for (WhjlApi1215 data : items) { responseDto = apiService.pushData(param, apiConf, data); if (responseDto.getSuccess() == 0) { if (Constant.CZBZ_I.equals(data.getCzbz())) { infoData = new ApiInfoData(); infoData.setId(data.getBizId()); infoData.setKqdm(data.getKqdm()); infoData.setInteType(WhjlConstant.API_CATEGORY_12); infoData.setInteId(WhjlConstant.API_CODE_1215); infoData.setUpdateTime(new Date()); infoData.setDataId(data.getBizId()); data.setCzbz(Constant.CZBZ_U); infoData.setCzbz(Constant.CZBZ_U); infoData.setData(JSON.toJSONString(data)); apiInfoDataRep.save(infoData); } } result += responseDto.toString(); } return result; } } src/main/java/com/fzzy/push/whhpjl/WhjlPushService12.java
@@ -11,8 +11,8 @@ import com.fzzy.api.view.repository.ApiInfoDataRep; import com.fzzy.otherview.whhpjl.WhjlConstant; import com.fzzy.otherview.whhpjl.dto.WhjlApi1204; import com.fzzy.otherview.whhpjl.dto.WhjlApi1207; import com.fzzy.otherview.whhpjl.dto.WhjlApi1214; import com.fzzy.otherview.whhpjl.dto.WhjlApi1206; import com.fzzy.otherview.whhpjl.dto.WhjlApi1212; import lombok.extern.slf4j.Slf4j; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Component; @@ -111,15 +111,15 @@ } param.setInteCategory(WhjlConstant.API_CATEGORY_12); param.setInteId(WhjlConstant.API_CODE_1207); List<WhjlApi1207> list = new ArrayList<>(); WhjlApi1207 whjlApi1207; List<WhjlApi1206> list = new ArrayList<>(); WhjlApi1206 whjlApi1206; for (ApiInfoData infoData : items) { whjlApi1207 = JSONObject.parseObject(infoData.getData(), WhjlApi1207.class); whjlApi1207.setKqdm(infoData.getKqdm()); whjlApi1207.setCzbz(infoData.getCzbz()); whjlApi1207.setUpdateTime(infoData.getUpdateTime()); whjlApi1207.setBizId(infoData.getDataId()); list.add(whjlApi1207); whjlApi1206 = JSONObject.parseObject(infoData.getData(), WhjlApi1206.class); whjlApi1206.setKqdm(infoData.getKqdm()); whjlApi1206.setCzbz(infoData.getCzbz()); whjlApi1206.setUpdateTime(infoData.getUpdateTime()); whjlApi1206.setBizId(infoData.getDataId()); list.add(whjlApi1206); } //æ¨éï¼æ°æ®ä¸ºéåå½¢å¼ @@ -149,15 +149,15 @@ } param.setInteCategory(WhjlConstant.API_CATEGORY_12); param.setInteId(WhjlConstant.API_CODE_1214); List<WhjlApi1214> list = new ArrayList<>(); WhjlApi1214 whjlApi1214; List<WhjlApi1212> list = new ArrayList<>(); WhjlApi1212 whjlApi1212; for (ApiInfoData infoData : items) { whjlApi1214 = JSONObject.parseObject(infoData.getData(), WhjlApi1214.class); whjlApi1214.setKqdm(infoData.getKqdm()); whjlApi1214.setCzbz(infoData.getCzbz()); whjlApi1214.setUpdateTime(infoData.getUpdateTime()); whjlApi1214.setBizId(infoData.getDataId()); list.add(whjlApi1214); whjlApi1212 = JSONObject.parseObject(infoData.getData(), WhjlApi1212.class); whjlApi1212.setKqdm(infoData.getKqdm()); whjlApi1212.setCzbz(infoData.getCzbz()); whjlApi1212.setUpdateTime(infoData.getUpdateTime()); whjlApi1212.setBizId(infoData.getDataId()); list.add(whjlApi1212); } //æ¨éï¼æ°æ®ä¸ºéåå½¢å¼