From 8bdd017371e7a486338862eb0da10bc7f2a5da52 Mon Sep 17 00:00:00 2001
From: ws <ws@123.com>
Date: 星期二, 12 十二月 2023 19:06:50 +0800
Subject: [PATCH] 武汉省平台-共享接口更新3
---
src/main/java/com/fzzy/otherview/whhpjl/dto/WhjlApi1215.java | 1
src/main/java/com/fzzy/otherview/whhpjl/WhjlShareApi2006.view.xml | 300 ++++++++
src/main/java/com/fzzy/otherview/whhpjl/WhjlShareApi2008.view.xml | 587 +++++++++++++++++
src/main/java/com/fzzy/otherview/whhpjl/pr/WhjlShareApi2006PR.java | 49
src/main/java/com/fzzy/otherview/whhpjl/pr/WhjlShareApi2007PR.java | 48
src/main/java/com/fzzy/otherview/whhpjl/pr/WhjlShareApi2008PR.java | 48
src/main/java/com/fzzy/otherview/whhpjl/pr/WhjlShareApi2009PR.java | 48
src/main/java/com/fzzy/otherview/whhpjl/WhjlShareApi2007.view.xml | 616 ++++++++++++++++++
src/main/java/com/fzzy/otherview/whhpjl/WhjlApi1215.view.xml | 12
src/main/java/com/fzzy/otherview/whhpjl/dto/WhjlShareApi2006.java | 1
src/main/java/com/fzzy/otherview/whhpjl/WhjlShareApi2009.view.xml | 301 ++++++++
src/main/java/com/fzzy/otherview/whhpjl/WhjlShareApi2005.view.xml | 2
12 files changed, 1,916 insertions(+), 97 deletions(-)
diff --git a/src/main/java/com/fzzy/otherview/whhpjl/WhjlApi1215.view.xml b/src/main/java/com/fzzy/otherview/whhpjl/WhjlApi1215.view.xml
index 2bc6ee0..824b203 100644
--- a/src/main/java/com/fzzy/otherview/whhpjl/WhjlApi1215.view.xml
+++ b/src/main/java/com/fzzy/otherview/whhpjl/WhjlApi1215.view.xml
@@ -45,6 +45,10 @@
<Property/>
<Property name="label">浜у搧鎵规</Property>
</PropertyDef>
+ <PropertyDef name="cplx">
+ <Property/>
+ <Property name="label">浜у搧绫诲瀷</Property>
+ </PropertyDef>
<PropertyDef name="scrq">
<Property name="dataType">Date</Property>
<Property name="label">鐢熶骇鏃ユ湡</Property>
@@ -253,6 +257,9 @@
<DataColumn name="cppc">
<Property name="property">cppc</Property>
</DataColumn>
+ <DataColumn name="cplx">
+ <Property name="property">cplx</Property>
+ </DataColumn>
<DataColumn name="czbz">
<Property name="property">czbz</Property>
</DataColumn>
@@ -346,6 +353,11 @@
<Editor/>
</AutoFormElement>
<AutoFormElement>
+ <Property name="name">cplx</Property>
+ <Property name="property">cplx</Property>
+ <Editor/>
+ </AutoFormElement>
+ <AutoFormElement>
<Property name="name">scrq</Property>
<Property name="property">scrq</Property>
<Editor/>
diff --git a/src/main/java/com/fzzy/otherview/whhpjl/WhjlShareApi2005.view.xml b/src/main/java/com/fzzy/otherview/whhpjl/WhjlShareApi2005.view.xml
index c4f5761..e832e7f 100644
--- a/src/main/java/com/fzzy/otherview/whhpjl/WhjlShareApi2005.view.xml
+++ b/src/main/java/com/fzzy/otherview/whhpjl/WhjlShareApi2005.view.xml
@@ -295,6 +295,7 @@
<Property name="closeable">false</Property>
<Property name="iconClass">fa fa-sliders</Property>
<Property name="caption">鍐涚伯渚涘簲鍟嗕俊鎭�</Property>
+ <Property name="height">80%</Property>
<Buttons>
<Button>
<ClientEvent name="onClick">var cur = view.get("#dgMain").getCurrentItem();
@@ -506,7 +507,6 @@
<Property name="property">sfyx</Property>
<Editor/>
</AutoFormElement>
-
<AutoFormElement>
<Property name="name">updateTime</Property>
<Property name="property">updateTime</Property>
diff --git a/src/main/java/com/fzzy/otherview/whhpjl/WhjlShareApi2006.view.xml b/src/main/java/com/fzzy/otherview/whhpjl/WhjlShareApi2006.view.xml
new file mode 100644
index 0000000..3b85907
--- /dev/null
+++ b/src/main/java/com/fzzy/otherview/whhpjl/WhjlShareApi2006.view.xml
@@ -0,0 +1,300 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<ViewConfig>
+ <Arguments/>
+ <Context/>
+ <Model>
+ <DataType name="dtMain">
+ <Property name="creationType">com.fzzy.otherview.whhpjl.dto.WhjlShareApi2006</Property>
+ <PropertyDef name="jlppbh">
+ <Property/>
+ <Property name="label">鍐涚伯鍝佺墝缂栧彿</Property>
+ </PropertyDef>
+ <PropertyDef name="jlppmc">
+ <Property/>
+ <Property name="label">鍐涚伯鍝佺墝鍚嶇О</Property>
+ </PropertyDef>
+ <PropertyDef name="jlppmcjc">
+ <Property/>
+ <Property name="label">鍐涚伯鍝佺墝鍚嶇О绠�绉�</Property>
+ </PropertyDef>
+ <PropertyDef name="jljgqybh">
+ <Property/>
+ <Property name="label">鍐涚伯鍔犲伐浼佷笟缂栧彿</Property>
+ </PropertyDef>
+ <PropertyDef name="jljgqymc">
+ <Property/>
+ <Property name="label">鍐涚伯鍔犲伐浼佷笟鍚嶇О</Property>
+ </PropertyDef>
+ <PropertyDef name="sfyx">
+ <Property/>
+ <Property name="label">鏄惁鏈夋晥</Property>
+ </PropertyDef>
+ <PropertyDef name="updateTime">
+ <Property name="dataType">Date</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">搴撳尯浠g爜</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">whjlShareApi2006PR#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");
+ view.get("#ajaxPull").set("parameter",select).execute(function(result){
+ view.get("#dsMain").flushAsync();
+ $notify(result);
+ });
+ </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="jlppbh">
+ <Property name="property">jlppbh</Property>
+ <Property name="align">center</Property>
+ </DataColumn>
+ <DataColumn name="jlppmc">
+ <Property name="property">jlppmc</Property>
+ <Property name="align">center</Property>
+ </DataColumn>
+ <DataColumn name="jlppmcjc">
+ <Property name="property">jlppmcjc</Property>
+ <Property name="align">center</Property>
+ </DataColumn>
+ <DataColumn name="jljgqybh">
+ <Property name="property">jljgqybh</Property>
+ <Property name="align">center</Property>
+ </DataColumn>
+ <DataColumn name="jljgqymc">
+ <Property name="property">jljgqymc</Property>
+ <Property name="align">center</Property>
+ </DataColumn>
+ <DataColumn name="sfyx">
+ <Property name="property">sfyx</Property>
+ <Property name="align">center</Property>
+ </DataColumn>
+ <DataColumn name="updateTime">
+ <Property name="property">updateTime</Property>
+ <Property name="align">center</Property>
+ </DataColumn>
+ <DataColumn name="czbz">
+ <Property name="property">czbz</Property>
+ <Property name="align">center</Property>
+ </DataColumn>
+ <DataColumn name="kqdm">
+ <Property name="property">kqdm</Property>
+ <Property name="align">center</Property>
+ </DataColumn>
+ </DataGrid>
+ </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">left</Property>
+ <Property name="labelSeparator">:</Property>
+ <Property name="labelAlign">right</Property>
+ <Property name="labelWidth">120</Property>
+ <AutoFormElement>
+ <Property name="name">jlppbh</Property>
+ <Property name="property">jlppbh</Property>
+ <Editor/>
+ </AutoFormElement>
+ <AutoFormElement>
+ <Property name="name">jlppmc</Property>
+ <Property name="property">jlppmc</Property>
+ <Editor/>
+ </AutoFormElement>
+ <AutoFormElement>
+ <Property name="name">jlppmcjc</Property>
+ <Property name="property">jlppmcjc</Property>
+ <Editor/>
+ </AutoFormElement>
+ <AutoFormElement>
+ <Property name="name">jljgqybh</Property>
+ <Property name="property">jljgqybh</Property>
+ <Editor/>
+ </AutoFormElement>
+ <AutoFormElement>
+ <Property name="name">jljgqymc</Property>
+ <Property name="property">jljgqymc</Property>
+ <Editor/>
+ </AutoFormElement>
+ <AutoFormElement>
+ <Property name="name">sfyx</Property>
+ <Property name="property">sfyx</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">whjlShareApi2006PR#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">whjlShareApi2006PR#delData</Property>
+ </AjaxAction>
+ <AjaxAction id="ajaxPull">
+ <Property name="service">whjlShareApi2006PR#pullData</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>
diff --git a/src/main/java/com/fzzy/otherview/whhpjl/WhjlShareApi2007.view.xml b/src/main/java/com/fzzy/otherview/whhpjl/WhjlShareApi2007.view.xml
new file mode 100644
index 0000000..2570756
--- /dev/null
+++ b/src/main/java/com/fzzy/otherview/whhpjl/WhjlShareApi2007.view.xml
@@ -0,0 +1,616 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<ViewConfig>
+ <Arguments/>
+ <Context/>
+ <Model>
+ <DataType name="dtMain">
+ <Property name="creationType">com.fzzy.otherview.whhpjl.dto.WhjlShareApi2007</Property>
+ <PropertyDef name="jlcpbh">
+ <Property/>
+ <Property name="label">鍐涚伯浜у搧缂栧彿</Property>
+ </PropertyDef>
+ <PropertyDef name="jlppbh">
+ <Property/>
+ <Property name="label">鍐涚伯鍝佺墝缂栧彿</Property>
+ </PropertyDef>
+ <PropertyDef name="jsdwflbh">
+ <Property/>
+ <Property name="label">璁℃暟鍗曚綅鍒嗙被缂栧彿</Property>
+ </PropertyDef>
+ <PropertyDef name="jlcpmc">
+ <Property/>
+ <Property name="label">鍐涚伯浜у搧鍚嶇О</Property>
+ </PropertyDef>
+ <PropertyDef name="jlcpjc">
+ <Property/>
+ <Property name="label">鍐涚伯浜у搧绠�绉�</Property>
+ </PropertyDef>
+ <PropertyDef name="jllspzmc">
+ <Property/>
+ <Property name="label">鍐涚伯绮鍝佺鍚嶇О</Property>
+ </PropertyDef>
+ <PropertyDef name="jllspzbh">
+ <Property/>
+ <Property name="label">鍐涚伯绮鍝佺缂栧彿</Property>
+ </PropertyDef>
+ <PropertyDef name="jldwflbh">
+ <Property/>
+ <Property name="label">璁¢噺鍗曚綅鍒嗙被缂栧彿</Property>
+ </PropertyDef>
+ <PropertyDef name="cpdj">
+ <Property/>
+ <Property name="label">浜у搧绛夌骇</Property>
+ </PropertyDef>
+ <PropertyDef name="bzfsmc">
+ <Property/>
+ <Property name="label">鍖呰鏂瑰紡鍚嶇О</Property>
+ </PropertyDef>
+ <PropertyDef name="bzfsbh">
+ <Property/>
+ <Property name="label">鍖呰鏂瑰紡缂栧彿</Property>
+ </PropertyDef>
+ <PropertyDef name="bzgg">
+ <Property/>
+ <Property name="label">鍖呰瑙勬牸</Property>
+ </PropertyDef>
+ <PropertyDef name="jsgg">
+ <Property/>
+ <Property name="label">璁℃暟瑙勬牸</Property>
+ </PropertyDef>
+ <PropertyDef name="sccj">
+ <Property/>
+ <Property name="label">鐢熶骇鍘傚</Property>
+ </PropertyDef>
+ <PropertyDef name="bzq">
+ <Property/>
+ <Property name="label">淇濊川鏈�</Property>
+ </PropertyDef>
+ <PropertyDef name="cd">
+ <Property/>
+ <Property name="label">浜у湴</Property>
+ </PropertyDef>
+ <PropertyDef name="scrq">
+ <Property/>
+ <Property name="label">鐢熶骇鏃ユ湡</Property>
+ </PropertyDef>
+ <PropertyDef name="lxr">
+ <Property/>
+ <Property name="label">鑱旂郴浜�</Property>
+ </PropertyDef>
+ <PropertyDef name="dh">
+ <Property/>
+ <Property name="label">鐢佃瘽</Property>
+ </PropertyDef>
+ <PropertyDef name="cz">
+ <Property/>
+ <Property name="label">浼犵湡</Property>
+ </PropertyDef>
+ <PropertyDef name="dzyj">
+ <Property/>
+ <Property name="label">鐢靛瓙閭欢</Property>
+ </PropertyDef>
+ <PropertyDef name="qygk">
+ <Property/>
+ <Property name="label">浼佷笟姒傚喌</Property>
+ </PropertyDef>
+ <PropertyDef name="cpjs">
+ <Property/>
+ <Property name="label">浜у搧浠嬬粛</Property>
+ </PropertyDef>
+ <PropertyDef name="yyzz">
+ <Property/>
+ <Property name="label">钀ヤ笟鎵х収</Property>
+ </PropertyDef>
+ <PropertyDef name="zzjgz">
+ <Property/>
+ <Property name="label">缁勭粐鏈烘瀯浠g爜璇�</Property>
+ </PropertyDef>
+ <PropertyDef name="swdjz">
+ <Property/>
+ <Property name="label">绋庡姟鐧昏璇�</Property>
+ </PropertyDef>
+ <PropertyDef name="spltxkz">
+ <Property/>
+ <Property name="label">椋熷搧娴侀�氳鍙瘉</Property>
+ </PropertyDef>
+ <PropertyDef name="ybnsrzgzm">
+ <Property/>
+ <Property name="label">涓�鑸撼绋庝汉璧勬牸璇佹槑</Property>
+ </PropertyDef>
+ <PropertyDef name="sjgzxshyj">
+ <Property/>
+ <Property name="label">甯傚啗渚涗腑蹇冨鏍告剰瑙�</Property>
+ </PropertyDef>
+ <PropertyDef name="jlfwshyj">
+ <Property/>
+ <Property name="label">鍐涚伯鏈嶅姟鏈夐檺鍏徃瀹℃牳鎰忚</Property>
+ </PropertyDef>
+ <PropertyDef name="sjgzxyj">
+ <Property/>
+ <Property name="label">鐪佸啗渚涗腑蹇冩剰瑙�</Property>
+ </PropertyDef>
+ <PropertyDef name="yjcd">
+ <Property/>
+ <Property name="label">鍘熶欢瀛樻。</Property>
+ </PropertyDef>
+ <PropertyDef name="dj">
+ <Property/>
+ <Property name="label">鍗曚环</Property>
+ </PropertyDef>
+ <PropertyDef name="scxkzh">
+ <Property/>
+ <Property name="label">鐢熶骇璁稿彲璇佸彿</Property>
+ </PropertyDef>
+ <PropertyDef name="jggy">
+ <Property/>
+ <Property name="label">鍔犲伐宸ヨ壓</Property>
+ </PropertyDef>
+ <PropertyDef name="zlxx">
+ <Property/>
+ <Property name="label">璐ㄩ噺淇℃伅</Property>
+ </PropertyDef>
+ <PropertyDef name="yynxx">
+ <Property/>
+ <Property name="label">钀ュ吇淇℃伅</Property>
+ </PropertyDef>
+ <PropertyDef name="lsyjrz">
+ <Property/>
+ <Property name="label">缁胯壊鏈夋満璁よ瘉</Property>
+ </PropertyDef>
+ <PropertyDef name="nscl">
+ <Property/>
+ <Property name="label">骞寸敓浜ч噺</Property>
+ </PropertyDef>
+ <PropertyDef name="sfyx">
+ <Property/>
+ <Property name="label">鏄惁鏈夋晥</Property>
+ </PropertyDef>
+ <PropertyDef name="updateTime">
+ <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">搴撳尯浠g爜</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">whjlShareApi2007PR#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");
+ view.get("#ajaxPull").set("parameter",select).execute(function(result){
+ view.get("#dsMain").flushAsync();
+ $notify(result);
+ });
+ </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="jlcpbh">
+ <Property name="property">jlcpbh</Property>
+ <Property name="align">center</Property>
+ </DataColumn>
+ <DataColumn name="jlppbh">
+ <Property name="property">jlppbh</Property>
+ <Property name="align">center</Property>
+ </DataColumn>
+ <DataColumn name="jsdwflbh">
+ <Property name="property">jsdwflbh</Property>
+ <Property name="align">center</Property>
+ </DataColumn>
+ <DataColumn name="jlcpmc">
+ <Property name="property">jlcpmc</Property>
+ <Property name="align">center</Property>
+ </DataColumn>
+ <DataColumn name="jlcpjc">
+ <Property name="property">jlcpjc</Property>
+ <Property name="align">center</Property>
+ </DataColumn>
+ <DataColumn name="jllspzmc">
+ <Property name="property">jllspzmc</Property>
+ <Property name="align">center</Property>
+ </DataColumn>
+ <DataColumn name="jllspzbh">
+ <Property name="property">jllspzbh</Property>
+ <Property name="align">center</Property>
+ </DataColumn>
+ <DataColumn name="sfyx">
+ <Property name="property">sfyx</Property>
+ <Property name="align">center</Property>
+ </DataColumn>
+ <DataColumn name="updateTime">
+ <Property name="property">updateTime</Property>
+ <Property name="align">center</Property>
+ </DataColumn>
+ <DataColumn name="czbz">
+ <Property name="property">czbz</Property>
+ <Property name="align">center</Property>
+ </DataColumn>
+ <DataColumn name="kqdm">
+ <Property name="property">kqdm</Property>
+ <Property name="align">center</Property>
+ </DataColumn>
+ </DataGrid>
+ </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>
+ <Property name="height">80%</Property>
+ <Buttons>
+ <Button>
+ <ClientEvent name="onClick">var cur = view.get("#dgMain").getCurrentItem();
+view.get("#updateSave").execute(function(){
+ self.get("parent").hide();
+ view.get("#dsMain").flushAsync();
+});</ClientEvent>
+ <Property name="caption">纭畾</Property>
+ <Property name="iconClass">fa fa-check</Property>
+ </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">left</Property>
+ <Property name="labelSeparator">:</Property>
+ <Property name="labelAlign">right</Property>
+ <Property name="labelWidth">120</Property>
+ <AutoFormElement>
+ <Property name="name">jlcpbh</Property>
+ <Property name="property">jlcpbh</Property>
+ <Editor/>
+ </AutoFormElement>
+ <AutoFormElement>
+ <Property name="name">jlppbh</Property>
+ <Property name="property">jlppbh</Property>
+ <Editor/>
+ </AutoFormElement>
+ <AutoFormElement>
+ <Property name="name">jsdwflbh</Property>
+ <Property name="property">jsdwflbh</Property>
+ <Editor/>
+ </AutoFormElement>
+ <AutoFormElement>
+ <Property name="name">jlcpmc</Property>
+ <Property name="property">jlcpmc</Property>
+ <Editor/>
+ </AutoFormElement>
+ <AutoFormElement>
+ <Property name="name">jlcpjc</Property>
+ <Property name="property">jlcpjc</Property>
+ <Editor/>
+ </AutoFormElement>
+ <AutoFormElement>
+ <Property name="name">jllspzmc</Property>
+ <Property name="property">jllspzmc</Property>
+ <Editor/>
+ </AutoFormElement>
+ <AutoFormElement>
+ <Property name="name">jllspzbh</Property>
+ <Property name="property">jllspzbh</Property>
+ <Editor/>
+ </AutoFormElement>
+ <AutoFormElement>
+ <Property name="name">jldwflbh</Property>
+ <Property name="property">jldwflbh</Property>
+ <Editor/>
+ </AutoFormElement>
+ <AutoFormElement>
+ <Property name="name">cpdj</Property>
+ <Property name="property">cpdj</Property>
+ <Editor/>
+ </AutoFormElement>
+ <AutoFormElement>
+ <Property name="name">bzfsmc</Property>
+ <Property name="property">bzfsmc</Property>
+ <Editor/>
+ </AutoFormElement>
+ <AutoFormElement>
+ <Property name="name">bzfsbh</Property>
+ <Property name="property">bzfsbh</Property>
+ <Editor/>
+ </AutoFormElement>
+ <AutoFormElement>
+ <Property name="name">bzgg</Property>
+ <Property name="property">bzgg</Property>
+ <Editor/>
+ </AutoFormElement>
+ <AutoFormElement>
+ <Property name="name">jsgg</Property>
+ <Property name="property">jsgg</Property>
+ <Editor/>
+ </AutoFormElement>
+ <AutoFormElement>
+ <Property name="name">sccj</Property>
+ <Property name="property">sccj</Property>
+ <Editor/>
+ </AutoFormElement>
+ <AutoFormElement>
+ <Property name="name">bzq</Property>
+ <Property name="property">bzq</Property>
+ <Editor/>
+ </AutoFormElement>
+ <AutoFormElement>
+ <Property name="name">cd</Property>
+ <Property name="property">cd</Property>
+ <Editor/>
+ </AutoFormElement>
+ <AutoFormElement>
+ <Property name="name">scrq</Property>
+ <Property name="property">scrq</Property>
+ <Editor/>
+ </AutoFormElement>
+ <AutoFormElement>
+ <Property name="name">lxr</Property>
+ <Property name="property">lxr</Property>
+ <Editor/>
+ </AutoFormElement>
+ <AutoFormElement>
+ <Property name="name">dh</Property>
+ <Property name="property">dh</Property>
+ <Editor/>
+ </AutoFormElement>
+ <AutoFormElement>
+ <Property name="name">cz</Property>
+ <Property name="property">cz</Property>
+ <Editor/>
+ </AutoFormElement>
+ <AutoFormElement>
+ <Property name="name">dzyj</Property>
+ <Property name="property">dzyj</Property>
+ <Editor/>
+ </AutoFormElement>
+ <AutoFormElement>
+ <Property name="name">qygk</Property>
+ <Property name="property">qygk</Property>
+ <Editor/>
+ </AutoFormElement>
+ <AutoFormElement>
+ <Property name="name">cpjs</Property>
+ <Property name="property">cpjs</Property>
+ <Editor/>
+ </AutoFormElement>
+ <AutoFormElement>
+ <Property name="name">yyzz</Property>
+ <Property name="property">yyzz</Property>
+ <Editor/>
+ </AutoFormElement>
+ <AutoFormElement>
+ <Property name="name">zzjgz</Property>
+ <Property name="property">zzjgz</Property>
+ <Editor/>
+ </AutoFormElement>
+ <AutoFormElement>
+ <Property name="name">swdjz</Property>
+ <Property name="property">swdjz</Property>
+ <Editor/>
+ </AutoFormElement>
+ <AutoFormElement>
+ <Property name="name">spltxkz</Property>
+ <Property name="property">spltxkz</Property>
+ <Editor/>
+ </AutoFormElement>
+ <AutoFormElement>
+ <Property name="name">ybnsrzgzm</Property>
+ <Property name="property">ybnsrzgzm</Property>
+ <Editor/>
+ </AutoFormElement>
+ <AutoFormElement>
+ <Property name="name">sjgzxshyj</Property>
+ <Property name="property">sjgzxshyj</Property>
+ <Editor/>
+ </AutoFormElement>
+ <AutoFormElement>
+ <Property name="name">jlfwshyj</Property>
+ <Property name="property">jlfwshyj</Property>
+ <Editor/>
+ </AutoFormElement>
+ <AutoFormElement>
+ <Property name="name">sjgzxyj</Property>
+ <Property name="property">sjgzxyj</Property>
+ <Editor/>
+ </AutoFormElement>
+ <AutoFormElement>
+ <Property name="name">yjcd</Property>
+ <Property name="property">yjcd</Property>
+ <Editor/>
+ </AutoFormElement>
+ <AutoFormElement>
+ <Property name="name">dj</Property>
+ <Property name="property">dj</Property>
+ <Editor/>
+ </AutoFormElement>
+ <AutoFormElement>
+ <Property name="name">scxkzh</Property>
+ <Property name="property">scxkzh</Property>
+ <Editor/>
+ </AutoFormElement>
+ <AutoFormElement>
+ <Property name="name">jggy</Property>
+ <Property name="property">jggy</Property>
+ <Editor/>
+ </AutoFormElement>
+ <AutoFormElement>
+ <Property name="name">zlxx</Property>
+ <Property name="property">zlxx</Property>
+ <Editor/>
+ </AutoFormElement>
+ <AutoFormElement>
+ <Property name="name">yynxx</Property>
+ <Property name="property">yynxx</Property>
+ <Editor/>
+ </AutoFormElement>
+ <AutoFormElement>
+ <Property name="name">lsyjrz</Property>
+ <Property name="property">lsyjrz</Property>
+ <Editor/>
+ </AutoFormElement>
+ <AutoFormElement>
+ <Property name="name">nscl</Property>
+ <Property name="property">nscl</Property>
+ <Editor/>
+ </AutoFormElement>
+ <AutoFormElement>
+ <Property name="name">sfyx</Property>
+ <Property name="property">sfyx</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">whjlShareApi2007PR#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">whjlShareApi2007PR#delData</Property>
+ </AjaxAction>
+ <AjaxAction id="ajaxPull">
+ <Property name="service">whjlShareApi2007PR#pullData</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>
diff --git a/src/main/java/com/fzzy/otherview/whhpjl/WhjlShareApi2008.view.xml b/src/main/java/com/fzzy/otherview/whhpjl/WhjlShareApi2008.view.xml
new file mode 100644
index 0000000..2d1677d
--- /dev/null
+++ b/src/main/java/com/fzzy/otherview/whhpjl/WhjlShareApi2008.view.xml
@@ -0,0 +1,587 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<ViewConfig>
+ <Arguments/>
+ <Context/>
+ <Model>
+ <DataType name="dtMain">
+ <Property name="creationType">com.fzzy.otherview.whhpjl.dto.WhjlShareApi2008</Property>
+ <PropertyDef name="jlccjhbh">
+ <Property/>
+ <Property name="label">鍐涚伯绛规帾璁″垝缂栧彿</Property>
+ </PropertyDef>
+ <PropertyDef name="gsqybh">
+ <Property/>
+ <Property name="label">浼佷笟缂栧彿</Property>
+ </PropertyDef>
+ <PropertyDef name="gskdbh">
+ <Property/>
+ <Property name="label">褰掑睘搴撶偣缂栧彿</Property>
+ </PropertyDef>
+ <PropertyDef name="gsjlgljgbh">
+ <Property/>
+ <Property name="label">褰掑睘鍐涚伯绠$悊鏈烘瀯缂栧彿</Property>
+ </PropertyDef>
+ <PropertyDef name="jljgqybh">
+ <Property/>
+ <Property name="label">鍐涚伯鍔犲伐浼佷笟缂栧彿</Property>
+ </PropertyDef>
+ <PropertyDef name="jljlqymc">
+ <Property/>
+ <Property name="label">鍐涚伯鍔犲伐浼佷笟鍚嶇О</Property>
+ </PropertyDef>
+ <PropertyDef name="pzflbh">
+ <Property/>
+ <Property name="label">鍝佺鍒嗙被缂栧彿</Property>
+ </PropertyDef>
+ <PropertyDef name="jlppmh">
+ <Property/>
+ <Property name="label">鍐涚伯鍝佺墝缂栧彿</Property>
+ </PropertyDef>
+ <PropertyDef name="jlcpbh">
+ <Property/>
+ <Property name="label">鍐涚伯浜у搧缂栧彿</Property>
+ </PropertyDef>
+ <PropertyDef name="jldwflbh">
+ <Property/>
+ <Property name="label">璁¢噺鍗曚綅鍒嗙被缂栧彿</Property>
+ </PropertyDef>
+ <PropertyDef name="jhrq">
+ <Property/>
+ <Property name="label">璁″垝鏃ユ湡</Property>
+ </PropertyDef>
+ <PropertyDef name="jhbh">
+ <Property/>
+ <Property name="label">璁″垝缂栧彿</Property>
+ </PropertyDef>
+ <PropertyDef name="jhmc">
+ <Property/>
+ <Property name="label">璁″垝鍚嶇О</Property>
+ </PropertyDef>
+ <PropertyDef name="jhzt">
+ <Property/>
+ <Property name="label">璁″垝鐘舵��</Property>
+ </PropertyDef>
+ <PropertyDef name="sjlx">
+ <Property/>
+ <Property name="label">鏁版嵁绫诲瀷</Property>
+ </PropertyDef>
+ <PropertyDef name="nd">
+ <Property/>
+ <Property name="label">骞村害</Property>
+ </PropertyDef>
+ <PropertyDef name="jd">
+ <Property/>
+ <Property name="label">瀛e害</Property>
+ </PropertyDef>
+ <PropertyDef name="jhsl">
+ <Property/>
+ <Property name="label">璁″垝鏁伴噺</Property>
+ </PropertyDef>
+ <PropertyDef name="sxxhs1">
+ <Property/>
+ <Property name="label">涓婃棳闇�姹傛暟閲�</Property>
+ </PropertyDef>
+ <PropertyDef name="xxxhs1">
+ <Property/>
+ <Property name="label">涓嬫棳闇�姹傛暟閲�</Property>
+ </PropertyDef>
+ <PropertyDef name="sxxhs2">
+ <Property/>
+ <Property name="label">涓婃棳闇�姹傛暟閲�</Property>
+ </PropertyDef>
+ <PropertyDef name="xxxhs2">
+ <Property/>
+ <Property name="label">涓嬫棳闇�姹傛暟閲�</Property>
+ </PropertyDef>
+ <PropertyDef name="sxxhs3">
+ <Property/>
+ <Property name="label">涓婃棳闇�姹傛暟閲�</Property>
+ </PropertyDef>
+ <PropertyDef name="xxxhs3">
+ <Property/>
+ <Property name="label">涓嬫棳闇�姹傛暟閲�</Property>
+ </PropertyDef>
+ <PropertyDef name="fggld">
+ <Property/>
+ <Property name="label">鍒嗙棰嗗</Property>
+ </PropertyDef>
+ <PropertyDef name="fhr">
+ <Property/>
+ <Property name="label">澶嶆牳浜�</Property>
+ </PropertyDef>
+ <PropertyDef name="tbdw">
+ <Property/>
+ <Property name="label">濉姤鍗曚綅</Property>
+ </PropertyDef>
+ <PropertyDef name="tbr">
+ <Property/>
+ <Property name="label">濉姤浜�</Property>
+ </PropertyDef>
+ <PropertyDef name="tbsj">
+ <Property/>
+ <Property name="label">濉姤鏃堕棿</Property>
+ </PropertyDef>
+ <PropertyDef name="qyxzqhmc">
+ <Property/>
+ <Property name="label">浼佷笟琛屾斂鍖哄垝鍚嶇О</Property>
+ </PropertyDef>
+ <PropertyDef name="qyxzqhdm">
+ <Property/>
+ <Property name="label">浼佷笟琛屾斂鍖哄垝浠g爜</Property>
+ </PropertyDef>
+ <PropertyDef name="qytbr">
+ <Property/>
+ <Property name="label">浼佷笟濉姤浜�</Property>
+ </PropertyDef>
+ <PropertyDef name="qytbrbd">
+ <Property/>
+ <Property name="label">浼佷笟濉姤浜虹紪鍙�</Property>
+ </PropertyDef>
+ <PropertyDef name="qytbsj">
+ <Property/>
+ <Property name="label">浼佷笟濉姤鏃堕棿</Property>
+ </PropertyDef>
+ <PropertyDef name="lxfs">
+ <Property/>
+ <Property name="label">鑱旂郴鏂瑰紡</Property>
+ </PropertyDef>
+ <PropertyDef name="lxr">
+ <Property/>
+ <Property name="label">鑱旂郴浜�</Property>
+ </PropertyDef>
+ <PropertyDef name="sfyx">
+ <Property/>
+ <Property name="label">鏄惁鏈夋晥</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">搴撳尯浠g爜</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">whjlShareApi2008PR#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");
+ view.get("#ajaxPull").set("parameter",select).execute(function(result){
+ view.get("#dsMain").flushAsync();
+ $notify(result);
+ });
+ </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="jlccjhbh">
+ <Property name="property">jlccjhbh</Property>
+ <Property name="align">center</Property>
+ </DataColumn>
+ <DataColumn name="gsqybh">
+ <Property name="property">gsqybh</Property>
+ <Property name="align">center</Property>
+ </DataColumn>
+ <DataColumn name="gskdbh">
+ <Property name="property">gskdbh</Property>
+ <Property name="align">center</Property>
+ </DataColumn>
+ <DataColumn name="gsjlgljgbh">
+ <Property name="property">gsjlgljgbh</Property>
+ <Property name="align">center</Property>
+ </DataColumn>
+ <DataColumn name="jljgqybh">
+ <Property name="property">jljgqybh</Property>
+ <Property name="align">center</Property>
+ </DataColumn>
+ <DataColumn name="jljlqymc">
+ <Property name="property">jljlqymc</Property>
+ <Property name="align">center</Property>
+ </DataColumn>
+ <DataColumn name="lxfs">
+ <Property name="property">lxfs</Property>
+ <Property name="align">center</Property>
+ </DataColumn>
+ <DataColumn name="lxr">
+ <Property name="property">lxr</Property>
+ <Property name="align">center</Property>
+ </DataColumn>
+ <DataColumn name="sfyx">
+ <Property name="property">sfyx</Property>
+ <Property name="align">center</Property>
+ </DataColumn>
+ <DataColumn name="updateTime">
+ <Property name="property">updateTime</Property>
+ <Property name="align">center</Property>
+ </DataColumn>
+ <DataColumn name="czbz">
+ <Property name="property">czbz</Property>
+ <Property name="align">center</Property>
+ </DataColumn>
+ <DataColumn name="kqdm">
+ <Property name="property">kqdm</Property>
+ <Property name="align">center</Property>
+ </DataColumn>
+ </DataGrid>
+ </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">left</Property>
+ <Property name="labelSeparator">:</Property>
+ <Property name="labelAlign">right</Property>
+ <Property name="labelWidth">120</Property>
+ <AutoFormElement>
+ <Property name="name">jlccjhbh</Property>
+ <Property name="property">jlccjhbh</Property>
+ <Editor/>
+ </AutoFormElement>
+ <AutoFormElement>
+ <Property name="name">gsqybh</Property>
+ <Property name="property">gsqybh</Property>
+ <Editor/>
+ </AutoFormElement>
+ <AutoFormElement>
+ <Property name="name">gskdbh</Property>
+ <Property name="property">gskdbh</Property>
+ <Editor/>
+ </AutoFormElement>
+ <AutoFormElement>
+ <Property name="name">gsjlgljgbh</Property>
+ <Property name="property">gsjlgljgbh</Property>
+ <Editor/>
+ </AutoFormElement>
+ <AutoFormElement>
+ <Property name="name">jljgqybh</Property>
+ <Property name="property">jljgqybh</Property>
+ <Editor/>
+ </AutoFormElement>
+ <AutoFormElement>
+ <Property name="name">jljlqymc</Property>
+ <Property name="property">jljlqymc</Property>
+ <Editor/>
+ </AutoFormElement>
+ <AutoFormElement>
+ <Property name="name">pzflbh</Property>
+ <Property name="property">pzflbh</Property>
+ <Editor/>
+ </AutoFormElement>
+ <AutoFormElement>
+ <Property name="name">jlppmh</Property>
+ <Property name="property">jlppmh</Property>
+ <Editor/>
+ </AutoFormElement>
+ <AutoFormElement>
+ <Property name="name">jlcpbh</Property>
+ <Property name="property">jlcpbh</Property>
+ <Editor/>
+ </AutoFormElement>
+ <AutoFormElement>
+ <Property name="name">jldwflbh</Property>
+ <Property name="property">jldwflbh</Property>
+ <Editor/>
+ </AutoFormElement>
+ <AutoFormElement>
+ <Property name="name">jhrq</Property>
+ <Property name="property">jhrq</Property>
+ <Editor/>
+ </AutoFormElement>
+ <AutoFormElement>
+ <Property name="name">jhbh</Property>
+ <Property name="property">jhbh</Property>
+ <Editor/>
+ </AutoFormElement>
+ <AutoFormElement>
+ <Property name="name">jhmc</Property>
+ <Property name="property">jhmc</Property>
+ <Editor/>
+ </AutoFormElement>
+ <AutoFormElement>
+ <Property name="name">jhzt</Property>
+ <Property name="property">jhzt</Property>
+ <Editor/>
+ </AutoFormElement>
+ <AutoFormElement>
+ <Property name="name">sjlx</Property>
+ <Property name="property">sjlx</Property>
+ <Editor/>
+ </AutoFormElement>
+ <AutoFormElement>
+ <Property name="name">nd</Property>
+ <Property name="property">nd</Property>
+ <Editor/>
+ </AutoFormElement>
+ <AutoFormElement>
+ <Property name="name">jd</Property>
+ <Property name="property">jd</Property>
+ <Editor/>
+ </AutoFormElement>
+ <AutoFormElement>
+ <Property name="name">jhsl</Property>
+ <Property name="property">jhsl</Property>
+ <Editor/>
+ </AutoFormElement>
+ <AutoFormElement>
+ <Property name="name">sxxhs1</Property>
+ <Property name="property">sxxhs1</Property>
+ <Editor/>
+ </AutoFormElement>
+ <AutoFormElement>
+ <Property name="name">xxxhs1</Property>
+ <Property name="property">xxxhs1</Property>
+ <Editor/>
+ </AutoFormElement>
+ <AutoFormElement>
+ <Property name="name">sxxhs2</Property>
+ <Property name="property">sxxhs2</Property>
+ <Editor/>
+ </AutoFormElement>
+ <AutoFormElement>
+ <Property name="name">xxxhs2</Property>
+ <Property name="property">xxxhs2</Property>
+ <Editor/>
+ </AutoFormElement>
+ <AutoFormElement>
+ <Property name="name">sxxhs3</Property>
+ <Property name="property">sxxhs3</Property>
+ <Editor/>
+ </AutoFormElement>
+ <AutoFormElement>
+ <Property name="name">xxxhs3</Property>
+ <Property name="property">xxxhs3</Property>
+ <Editor/>
+ </AutoFormElement>
+ <AutoFormElement>
+ <Property name="name">fggld</Property>
+ <Property name="property">fggld</Property>
+ <Editor/>
+ </AutoFormElement>
+ <AutoFormElement>
+ <Property name="name">fhr</Property>
+ <Property name="property">fhr</Property>
+ <Editor/>
+ </AutoFormElement>
+ <AutoFormElement>
+ <Property name="name">tbdw</Property>
+ <Property name="property">tbdw</Property>
+ <Editor/>
+ </AutoFormElement>
+ <AutoFormElement>
+ <Property name="name">tbr</Property>
+ <Property name="property">tbr</Property>
+ <Editor/>
+ </AutoFormElement>
+ <AutoFormElement>
+ <Property name="name">tbsj</Property>
+ <Property name="property">tbsj</Property>
+ <Editor/>
+ </AutoFormElement>
+ <AutoFormElement>
+ <Property name="name">qyxzqhmc</Property>
+ <Property name="property">qyxzqhmc</Property>
+ <Editor/>
+ </AutoFormElement>
+ <AutoFormElement>
+ <Property name="name">qyxzqhdm</Property>
+ <Property name="property">qyxzqhdm</Property>
+ <Editor/>
+ </AutoFormElement>
+ <AutoFormElement>
+ <Property name="name">qytbr</Property>
+ <Property name="property">qytbr</Property>
+ <Editor/>
+ </AutoFormElement>
+ <AutoFormElement>
+ <Property name="name">qytbrbd</Property>
+ <Property name="property">qytbrbd</Property>
+ <Editor/>
+ </AutoFormElement>
+ <AutoFormElement>
+ <Property name="name">qytbsj</Property>
+ <Property name="property">qytbsj</Property>
+ <Editor/>
+ </AutoFormElement>
+ <AutoFormElement>
+ <Property name="name">lxfs</Property>
+ <Property name="property">lxfs</Property>
+ <Editor/>
+ </AutoFormElement>
+ <AutoFormElement>
+ <Property name="name">lxr</Property>
+ <Property name="property">lxr</Property>
+ <Editor/>
+ </AutoFormElement>
+ <AutoFormElement>
+ <Property name="name">sfyx</Property>
+ <Property name="property">sfyx</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">whjlShareApi2008PR#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">whjlShareApi2008PR#delData</Property>
+ </AjaxAction>
+ <AjaxAction id="ajaxPull">
+ <Property name="service">whjlShareApi2008PR#pullData</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>
diff --git a/src/main/java/com/fzzy/otherview/whhpjl/WhjlShareApi2009.view.xml b/src/main/java/com/fzzy/otherview/whhpjl/WhjlShareApi2009.view.xml
new file mode 100644
index 0000000..da3ce37
--- /dev/null
+++ b/src/main/java/com/fzzy/otherview/whhpjl/WhjlShareApi2009.view.xml
@@ -0,0 +1,301 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<ViewConfig>
+ <Arguments/>
+ <Context/>
+ <Model>
+ <DataType name="dtMain">
+ <Property name="creationType">com.fzzy.otherview.whhpjl.dto.WhjlShareApi2009</Property>
+ <PropertyDef name="mbhb">
+ <Property/>
+ <Property name="label">妯℃澘缂栧彿</Property>
+ </PropertyDef>
+ <PropertyDef name="mblb">
+ <Property/>
+ <Property name="label">妯℃澘绫诲埆</Property>
+ </PropertyDef>
+ <PropertyDef name="mbmc">
+ <Property/>
+ <Property name="label">妯℃澘鍚嶇О</Property>
+ </PropertyDef>
+ <PropertyDef name="bb">
+ <Property/>
+ <Property name="label">鐗堟湰</Property>
+ </PropertyDef>
+ <PropertyDef name="mbwjdz">
+ <Property/>
+ <Property name="label">妯℃澘鏂囦欢鍦板潃</Property>
+ </PropertyDef>
+ <PropertyDef name="sfyx">
+ <Property/>
+ <Property name="label">鏄惁鏈夋晥</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">搴撳尯浠g爜</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">whjlShareApi2009PR#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");
+ view.get("#ajaxPull").set("parameter",select).execute(function(result){
+ view.get("#dsMain").flushAsync();
+ $notify(result);
+ });
+ </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="mbhb">
+ <Property name="property">mbhb</Property>
+ <Property name="align">center</Property>
+ </DataColumn>
+ <DataColumn name="mblb">
+ <Property name="property">mblb</Property>
+ <Property name="align">center</Property>
+ </DataColumn>
+ <DataColumn name="mbmc">
+ <Property name="property">mbmc</Property>
+ <Property name="align">center</Property>
+ </DataColumn>
+ <DataColumn name="bb">
+ <Property name="property">bb</Property>
+ <Property name="align">center</Property>
+ </DataColumn>
+ <DataColumn name="mbwjdz">
+ <Property name="property">mbwjdz</Property>
+ <Property name="align">center</Property>
+ </DataColumn>
+ <DataColumn name="sfyx">
+ <Property name="property">sfyx</Property>
+ <Property name="align">center</Property>
+ </DataColumn>
+ <DataColumn name="updateTime">
+ <Property name="property">updateTime</Property>
+ <Property name="align">center</Property>
+ </DataColumn>
+ <DataColumn name="czbz">
+ <Property name="property">czbz</Property>
+ <Property name="align">center</Property>
+ </DataColumn>
+ <DataColumn name="kqdm">
+ <Property name="property">kqdm</Property>
+ <Property name="align">center</Property>
+ </DataColumn>
+ </DataGrid>
+ </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">left</Property>
+ <Property name="labelSeparator">:</Property>
+ <Property name="labelAlign">right</Property>
+ <Property name="labelWidth">120</Property>
+ <AutoFormElement>
+ <Property name="name">mbhb</Property>
+ <Property name="property">mbhb</Property>
+ <Editor/>
+ </AutoFormElement>
+ <AutoFormElement>
+ <Property name="name">mblb</Property>
+ <Property name="property">mblb</Property>
+ <Editor/>
+ </AutoFormElement>
+ <AutoFormElement>
+ <Property name="name">mbmc</Property>
+ <Property name="property">mbmc</Property>
+ <Editor/>
+ </AutoFormElement>
+ <AutoFormElement>
+ <Property name="name">bb</Property>
+ <Property name="property">bb</Property>
+ <Editor/>
+ </AutoFormElement>
+ <AutoFormElement>
+ <Property name="name">mbwjdz</Property>
+ <Property name="property">mbwjdz</Property>
+ <Editor/>
+ </AutoFormElement>
+ <AutoFormElement>
+ <Property name="name">sfyx</Property>
+ <Property name="property">sfyx</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">whjlShareApi2009PR#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">whjlShareApi2009PR#delData</Property>
+ </AjaxAction>
+ <AjaxAction id="ajaxPull">
+ <Property name="service">whjlShareApi2009PR#pullData</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>
diff --git a/src/main/java/com/fzzy/otherview/whhpjl/dto/WhjlApi1215.java b/src/main/java/com/fzzy/otherview/whhpjl/dto/WhjlApi1215.java
index 487905c..fbbfb57 100644
--- a/src/main/java/com/fzzy/otherview/whhpjl/dto/WhjlApi1215.java
+++ b/src/main/java/com/fzzy/otherview/whhpjl/dto/WhjlApi1215.java
@@ -31,6 +31,7 @@
private String jljgqybh;//鍔犲伐浼佷笟缂栧彿
private String cpmc;//浜у搧鍚嶇О
private String cppc;//浜у搧鎵规
+ private String cplx;//浜у搧绫诲瀷
@JSONField(format = "yyyy-MM-dd")
private Date scrq;//鐢熶骇鏃ユ湡
private String cysm;//鎶芥牱璇存槑
diff --git a/src/main/java/com/fzzy/otherview/whhpjl/dto/WhjlShareApi2006.java b/src/main/java/com/fzzy/otherview/whhpjl/dto/WhjlShareApi2006.java
index 8f4f7e6..e1a2742 100644
--- a/src/main/java/com/fzzy/otherview/whhpjl/dto/WhjlShareApi2006.java
+++ b/src/main/java/com/fzzy/otherview/whhpjl/dto/WhjlShareApi2006.java
@@ -1,6 +1,7 @@
package com.fzzy.otherview.whhpjl.dto;
import com.alibaba.fastjson.annotation.JSONField;
+import jdk.nashorn.internal.objects.annotations.Property;
import lombok.Data;
import lombok.EqualsAndHashCode;
diff --git a/src/main/java/com/fzzy/otherview/whhpjl/pr/WhjlShareApi2006PR.java b/src/main/java/com/fzzy/otherview/whhpjl/pr/WhjlShareApi2006PR.java
index d20f015..66e17aa 100644
--- a/src/main/java/com/fzzy/otherview/whhpjl/pr/WhjlShareApi2006PR.java
+++ b/src/main/java/com/fzzy/otherview/whhpjl/pr/WhjlShareApi2006PR.java
@@ -15,7 +15,8 @@
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.WhjlShareApi2002;
+import com.fzzy.otherview.whhpjl.dto.WhjlShareApi2006;
+import com.fzzy.otherview.whhpjl.dto.WhjlShareApi2006;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
@@ -39,20 +40,20 @@
/**
* 鑾峰彇鍒楄〃淇℃伅
- * whjlShareApi2002PR#listData
+ * whjlShareApi2006PR#listData
*
* @return
*/
@DataProvider
- public List<WhjlShareApi2002> listData() {
- List<ApiInfoData> result = apiInfoDataRep.getDataByInteId(WhjlConstant.API_CODE_2002);
+ public List<WhjlShareApi2006> listData() {
+ List<ApiInfoData> result = apiInfoDataRep.getDataByInteId(WhjlConstant.API_CODE_2006);
if (null == result || result.isEmpty()) {
return null;
}
- List<WhjlShareApi2002> list = new ArrayList<>();
- WhjlShareApi2002 whjlShareApiData;
+ List<WhjlShareApi2006> list = new ArrayList<>();
+ WhjlShareApi2006 whjlShareApiData;
for (ApiInfoData infoData : result) {
- whjlShareApiData = JSONObject.parseObject(infoData.getData(), WhjlShareApi2002.class);
+ whjlShareApiData = JSONObject.parseObject(infoData.getData(), WhjlShareApi2006.class);
whjlShareApiData.setKqdm(infoData.getKqdm());
whjlShareApiData.setCzbz(infoData.getCzbz());
whjlShareApiData.setUpdateTime(infoData.getUpdateTime());
@@ -64,20 +65,20 @@
/**
* 鏇存柊鎴栦慨鏀�
- * whjlShareApi2002PR#saveData
+ * whjlShareApi2006PR#saveData
*
* @param data
* @return
*/
@DataResolver
- public void saveData(WhjlShareApi2002 data) {
+ public void saveData(WhjlShareApi2006 data) {
ApiInfoData infoData = new ApiInfoData();
- infoData.setId(data.getCpflbm());
+ infoData.setId(data.getJlppbh());
infoData.setKqdm(data.getKqdm());
infoData.setInteType(WhjlConstant.API_CATEGORY_20);
- infoData.setInteId(WhjlConstant.API_CODE_2002);
+ infoData.setInteId(WhjlConstant.API_CODE_2006);
infoData.setUpdateTime(new Date());
- infoData.setDataId(data.getCpflbm());
+ infoData.setDataId(data.getJlppbh());
infoData.setData(JSON.toJSONString(data));
infoData.setCzbz(data.getCzbz());
infoData.setRemarks("澶囨敞淇℃伅");
@@ -88,26 +89,26 @@
/**
* 鍒犻櫎
- * whjlShareApi2002PR#delData
+ * whjlShareApi2006PR#delData
*
* @param data
* @return
*/
@Expose
- public String delData(WhjlShareApi2002 data) {
- apiInfoDataRep.deleteById(data.getCpflbm());
+ public String delData(WhjlShareApi2006 data) {
+ apiInfoDataRep.deleteById(data.getJlppbh());
return null;
}
/**
* 鏇存柊鏁版嵁
- * whjlShareApi2002PR#pullData
+ * whjlShareApi2006PR#pullData
*
* @param items
* @return
*/
@Expose
- public String pullData(List<WhjlShareApi2002> items) {
+ public String pullData(List<WhjlShareApi2006> items) {
//鑾峰彇閰嶇疆淇℃伅
@@ -121,28 +122,28 @@
ResponseDto responseDto;
ApiInfoData infoData;
String result = "";
- List<WhjlShareApi2002> list;
+ List<WhjlShareApi2006> list;
for (ApiConfs apiConf : apiConfs) {
apiService = apiPushManager.getApiRemoteService(apiConf.getPushProtocol());
if (null == apiService) {
continue;
}
//灏佽鍙傛暟
- param = new ApiParam(apiConf, WhjlConstant.API_CATEGORY_20, WhjlConstant.API_CODE_2002);
+ param = new ApiParam(apiConf, WhjlConstant.API_CATEGORY_20, WhjlConstant.API_CODE_2006);
responseDto = apiService.pullData(param, apiConf);
if (responseDto.getSuccess() == 0) {
- list = JSONObject.parseArray(responseDto.getData(), WhjlShareApi2002.class);
+ list = JSONObject.parseArray(responseDto.getData(), WhjlShareApi2006.class);
if(null != list && list.size() > 0){
- for (WhjlShareApi2002 shareData : list) {
+ for (WhjlShareApi2006 shareData : list) {
shareData.setCzbz(Constant.CZBZ_U);
infoData = new ApiInfoData();
- infoData.setId(shareData.getCpflbm());
+ infoData.setId(shareData.getJlppbh());
infoData.setKqdm(apiConf.getKqdm());
infoData.setInteType(WhjlConstant.API_CATEGORY_20);
- infoData.setInteId(WhjlConstant.API_CODE_2002);
+ infoData.setInteId(WhjlConstant.API_CODE_2006);
infoData.setUpdateTime(new Date());
- infoData.setDataId(shareData.getCpflbm());
+ infoData.setDataId(shareData.getJlppbh());
infoData.setData(JSON.toJSONString(shareData));
infoData.setCzbz(Constant.CZBZ_U);
apiInfoDataRep.save(infoData);
diff --git a/src/main/java/com/fzzy/otherview/whhpjl/pr/WhjlShareApi2007PR.java b/src/main/java/com/fzzy/otherview/whhpjl/pr/WhjlShareApi2007PR.java
index ee59d18..1a37b26 100644
--- a/src/main/java/com/fzzy/otherview/whhpjl/pr/WhjlShareApi2007PR.java
+++ b/src/main/java/com/fzzy/otherview/whhpjl/pr/WhjlShareApi2007PR.java
@@ -15,7 +15,7 @@
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.WhjlShareApi2002;
+import com.fzzy.otherview.whhpjl.dto.WhjlShareApi2007;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
@@ -39,20 +39,20 @@
/**
* 鑾峰彇鍒楄〃淇℃伅
- * whjlShareApi2002PR#listData
+ * whjlShareApi2007PR#listData
*
* @return
*/
@DataProvider
- public List<WhjlShareApi2002> listData() {
- List<ApiInfoData> result = apiInfoDataRep.getDataByInteId(WhjlConstant.API_CODE_2002);
+ public List<WhjlShareApi2007> listData() {
+ List<ApiInfoData> result = apiInfoDataRep.getDataByInteId(WhjlConstant.API_CODE_2007);
if (null == result || result.isEmpty()) {
return null;
}
- List<WhjlShareApi2002> list = new ArrayList<>();
- WhjlShareApi2002 whjlShareApiData;
+ List<WhjlShareApi2007> list = new ArrayList<>();
+ WhjlShareApi2007 whjlShareApiData;
for (ApiInfoData infoData : result) {
- whjlShareApiData = JSONObject.parseObject(infoData.getData(), WhjlShareApi2002.class);
+ whjlShareApiData = JSONObject.parseObject(infoData.getData(), WhjlShareApi2007.class);
whjlShareApiData.setKqdm(infoData.getKqdm());
whjlShareApiData.setCzbz(infoData.getCzbz());
whjlShareApiData.setUpdateTime(infoData.getUpdateTime());
@@ -64,20 +64,20 @@
/**
* 鏇存柊鎴栦慨鏀�
- * whjlShareApi2002PR#saveData
+ * whjlShareApi2007PR#saveData
*
* @param data
* @return
*/
@DataResolver
- public void saveData(WhjlShareApi2002 data) {
+ public void saveData(WhjlShareApi2007 data) {
ApiInfoData infoData = new ApiInfoData();
- infoData.setId(data.getCpflbm());
+ infoData.setId(data.getJlcpbh());
infoData.setKqdm(data.getKqdm());
infoData.setInteType(WhjlConstant.API_CATEGORY_20);
- infoData.setInteId(WhjlConstant.API_CODE_2002);
+ infoData.setInteId(WhjlConstant.API_CODE_2007);
infoData.setUpdateTime(new Date());
- infoData.setDataId(data.getCpflbm());
+ infoData.setDataId(data.getJlcpbh());
infoData.setData(JSON.toJSONString(data));
infoData.setCzbz(data.getCzbz());
infoData.setRemarks("澶囨敞淇℃伅");
@@ -88,26 +88,26 @@
/**
* 鍒犻櫎
- * whjlShareApi2002PR#delData
+ * whjlShareApi2007PR#delData
*
* @param data
* @return
*/
@Expose
- public String delData(WhjlShareApi2002 data) {
- apiInfoDataRep.deleteById(data.getCpflbm());
+ public String delData(WhjlShareApi2007 data) {
+ apiInfoDataRep.deleteById(data.getJlcpbh());
return null;
}
/**
* 鏇存柊鏁版嵁
- * whjlShareApi2002PR#pullData
+ * whjlShareApi2007PR#pullData
*
* @param items
* @return
*/
@Expose
- public String pullData(List<WhjlShareApi2002> items) {
+ public String pullData(List<WhjlShareApi2007> items) {
//鑾峰彇閰嶇疆淇℃伅
@@ -121,28 +121,28 @@
ResponseDto responseDto;
ApiInfoData infoData;
String result = "";
- List<WhjlShareApi2002> list;
+ List<WhjlShareApi2007> list;
for (ApiConfs apiConf : apiConfs) {
apiService = apiPushManager.getApiRemoteService(apiConf.getPushProtocol());
if (null == apiService) {
continue;
}
//灏佽鍙傛暟
- param = new ApiParam(apiConf, WhjlConstant.API_CATEGORY_20, WhjlConstant.API_CODE_2002);
+ param = new ApiParam(apiConf, WhjlConstant.API_CATEGORY_20, WhjlConstant.API_CODE_2007);
responseDto = apiService.pullData(param, apiConf);
if (responseDto.getSuccess() == 0) {
- list = JSONObject.parseArray(responseDto.getData(), WhjlShareApi2002.class);
+ list = JSONObject.parseArray(responseDto.getData(), WhjlShareApi2007.class);
if(null != list && list.size() > 0){
- for (WhjlShareApi2002 shareData : list) {
+ for (WhjlShareApi2007 shareData : list) {
shareData.setCzbz(Constant.CZBZ_U);
infoData = new ApiInfoData();
- infoData.setId(shareData.getCpflbm());
+ infoData.setId(shareData.getJlcpbh());
infoData.setKqdm(apiConf.getKqdm());
infoData.setInteType(WhjlConstant.API_CATEGORY_20);
- infoData.setInteId(WhjlConstant.API_CODE_2002);
+ infoData.setInteId(WhjlConstant.API_CODE_2007);
infoData.setUpdateTime(new Date());
- infoData.setDataId(shareData.getCpflbm());
+ infoData.setDataId(shareData.getJlcpbh());
infoData.setData(JSON.toJSONString(shareData));
infoData.setCzbz(Constant.CZBZ_U);
apiInfoDataRep.save(infoData);
diff --git a/src/main/java/com/fzzy/otherview/whhpjl/pr/WhjlShareApi2008PR.java b/src/main/java/com/fzzy/otherview/whhpjl/pr/WhjlShareApi2008PR.java
index b7f8430..894d9bf 100644
--- a/src/main/java/com/fzzy/otherview/whhpjl/pr/WhjlShareApi2008PR.java
+++ b/src/main/java/com/fzzy/otherview/whhpjl/pr/WhjlShareApi2008PR.java
@@ -15,7 +15,7 @@
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.WhjlShareApi2002;
+import com.fzzy.otherview.whhpjl.dto.WhjlShareApi2008;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
@@ -39,20 +39,20 @@
/**
* 鑾峰彇鍒楄〃淇℃伅
- * whjlShareApi2002PR#listData
+ * whjlShareApi2008PR#listData
*
* @return
*/
@DataProvider
- public List<WhjlShareApi2002> listData() {
- List<ApiInfoData> result = apiInfoDataRep.getDataByInteId(WhjlConstant.API_CODE_2002);
+ public List<WhjlShareApi2008> listData() {
+ List<ApiInfoData> result = apiInfoDataRep.getDataByInteId(WhjlConstant.API_CODE_2008);
if (null == result || result.isEmpty()) {
return null;
}
- List<WhjlShareApi2002> list = new ArrayList<>();
- WhjlShareApi2002 whjlShareApiData;
+ List<WhjlShareApi2008> list = new ArrayList<>();
+ WhjlShareApi2008 whjlShareApiData;
for (ApiInfoData infoData : result) {
- whjlShareApiData = JSONObject.parseObject(infoData.getData(), WhjlShareApi2002.class);
+ whjlShareApiData = JSONObject.parseObject(infoData.getData(), WhjlShareApi2008.class);
whjlShareApiData.setKqdm(infoData.getKqdm());
whjlShareApiData.setCzbz(infoData.getCzbz());
whjlShareApiData.setUpdateTime(infoData.getUpdateTime());
@@ -64,20 +64,20 @@
/**
* 鏇存柊鎴栦慨鏀�
- * whjlShareApi2002PR#saveData
+ * whjlShareApi2008PR#saveData
*
* @param data
* @return
*/
@DataResolver
- public void saveData(WhjlShareApi2002 data) {
+ public void saveData(WhjlShareApi2008 data) {
ApiInfoData infoData = new ApiInfoData();
- infoData.setId(data.getCpflbm());
+ infoData.setId(data.getJlccjhbh());
infoData.setKqdm(data.getKqdm());
infoData.setInteType(WhjlConstant.API_CATEGORY_20);
- infoData.setInteId(WhjlConstant.API_CODE_2002);
+ infoData.setInteId(WhjlConstant.API_CODE_2008);
infoData.setUpdateTime(new Date());
- infoData.setDataId(data.getCpflbm());
+ infoData.setDataId(data.getJlccjhbh());
infoData.setData(JSON.toJSONString(data));
infoData.setCzbz(data.getCzbz());
infoData.setRemarks("澶囨敞淇℃伅");
@@ -88,26 +88,26 @@
/**
* 鍒犻櫎
- * whjlShareApi2002PR#delData
+ * whjlShareApi2008PR#delData
*
* @param data
* @return
*/
@Expose
- public String delData(WhjlShareApi2002 data) {
- apiInfoDataRep.deleteById(data.getCpflbm());
+ public String delData(WhjlShareApi2008 data) {
+ apiInfoDataRep.deleteById(data.getJlccjhbh());
return null;
}
/**
* 鏇存柊鏁版嵁
- * whjlShareApi2002PR#pullData
+ * whjlShareApi2008PR#pullData
*
* @param items
* @return
*/
@Expose
- public String pullData(List<WhjlShareApi2002> items) {
+ public String pullData(List<WhjlShareApi2008> items) {
//鑾峰彇閰嶇疆淇℃伅
@@ -121,28 +121,28 @@
ResponseDto responseDto;
ApiInfoData infoData;
String result = "";
- List<WhjlShareApi2002> list;
+ List<WhjlShareApi2008> list;
for (ApiConfs apiConf : apiConfs) {
apiService = apiPushManager.getApiRemoteService(apiConf.getPushProtocol());
if (null == apiService) {
continue;
}
//灏佽鍙傛暟
- param = new ApiParam(apiConf, WhjlConstant.API_CATEGORY_20, WhjlConstant.API_CODE_2002);
+ param = new ApiParam(apiConf, WhjlConstant.API_CATEGORY_20, WhjlConstant.API_CODE_2008);
responseDto = apiService.pullData(param, apiConf);
if (responseDto.getSuccess() == 0) {
- list = JSONObject.parseArray(responseDto.getData(), WhjlShareApi2002.class);
+ list = JSONObject.parseArray(responseDto.getData(), WhjlShareApi2008.class);
if(null != list && list.size() > 0){
- for (WhjlShareApi2002 shareData : list) {
+ for (WhjlShareApi2008 shareData : list) {
shareData.setCzbz(Constant.CZBZ_U);
infoData = new ApiInfoData();
- infoData.setId(shareData.getCpflbm());
+ infoData.setId(shareData.getJlccjhbh());
infoData.setKqdm(apiConf.getKqdm());
infoData.setInteType(WhjlConstant.API_CATEGORY_20);
- infoData.setInteId(WhjlConstant.API_CODE_2002);
+ infoData.setInteId(WhjlConstant.API_CODE_2008);
infoData.setUpdateTime(new Date());
- infoData.setDataId(shareData.getCpflbm());
+ infoData.setDataId(shareData.getJlccjhbh());
infoData.setData(JSON.toJSONString(shareData));
infoData.setCzbz(Constant.CZBZ_U);
apiInfoDataRep.save(infoData);
diff --git a/src/main/java/com/fzzy/otherview/whhpjl/pr/WhjlShareApi2009PR.java b/src/main/java/com/fzzy/otherview/whhpjl/pr/WhjlShareApi2009PR.java
index 1e6ee3e..eafcbef 100644
--- a/src/main/java/com/fzzy/otherview/whhpjl/pr/WhjlShareApi2009PR.java
+++ b/src/main/java/com/fzzy/otherview/whhpjl/pr/WhjlShareApi2009PR.java
@@ -15,7 +15,7 @@
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.WhjlShareApi2002;
+import com.fzzy.otherview.whhpjl.dto.WhjlShareApi2009;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
@@ -39,20 +39,20 @@
/**
* 鑾峰彇鍒楄〃淇℃伅
- * whjlShareApi2002PR#listData
+ * whjlShareApi2009PR#listData
*
* @return
*/
@DataProvider
- public List<WhjlShareApi2002> listData() {
- List<ApiInfoData> result = apiInfoDataRep.getDataByInteId(WhjlConstant.API_CODE_2002);
+ public List<WhjlShareApi2009> listData() {
+ List<ApiInfoData> result = apiInfoDataRep.getDataByInteId(WhjlConstant.API_CODE_2009);
if (null == result || result.isEmpty()) {
return null;
}
- List<WhjlShareApi2002> list = new ArrayList<>();
- WhjlShareApi2002 whjlShareApiData;
+ List<WhjlShareApi2009> list = new ArrayList<>();
+ WhjlShareApi2009 whjlShareApiData;
for (ApiInfoData infoData : result) {
- whjlShareApiData = JSONObject.parseObject(infoData.getData(), WhjlShareApi2002.class);
+ whjlShareApiData = JSONObject.parseObject(infoData.getData(), WhjlShareApi2009.class);
whjlShareApiData.setKqdm(infoData.getKqdm());
whjlShareApiData.setCzbz(infoData.getCzbz());
whjlShareApiData.setUpdateTime(infoData.getUpdateTime());
@@ -64,20 +64,20 @@
/**
* 鏇存柊鎴栦慨鏀�
- * whjlShareApi2002PR#saveData
+ * whjlShareApi2009PR#saveData
*
* @param data
* @return
*/
@DataResolver
- public void saveData(WhjlShareApi2002 data) {
+ public void saveData(WhjlShareApi2009 data) {
ApiInfoData infoData = new ApiInfoData();
- infoData.setId(data.getCpflbm());
+ infoData.setId(data.getMbhb());
infoData.setKqdm(data.getKqdm());
infoData.setInteType(WhjlConstant.API_CATEGORY_20);
- infoData.setInteId(WhjlConstant.API_CODE_2002);
+ infoData.setInteId(WhjlConstant.API_CODE_2009);
infoData.setUpdateTime(new Date());
- infoData.setDataId(data.getCpflbm());
+ infoData.setDataId(data.getMbhb());
infoData.setData(JSON.toJSONString(data));
infoData.setCzbz(data.getCzbz());
infoData.setRemarks("澶囨敞淇℃伅");
@@ -88,26 +88,26 @@
/**
* 鍒犻櫎
- * whjlShareApi2002PR#delData
+ * whjlShareApi2009PR#delData
*
* @param data
* @return
*/
@Expose
- public String delData(WhjlShareApi2002 data) {
- apiInfoDataRep.deleteById(data.getCpflbm());
+ public String delData(WhjlShareApi2009 data) {
+ apiInfoDataRep.deleteById(data.getMbhb());
return null;
}
/**
* 鏇存柊鏁版嵁
- * whjlShareApi2002PR#pullData
+ * whjlShareApi2009PR#pullData
*
* @param items
* @return
*/
@Expose
- public String pullData(List<WhjlShareApi2002> items) {
+ public String pullData(List<WhjlShareApi2009> items) {
//鑾峰彇閰嶇疆淇℃伅
@@ -121,28 +121,28 @@
ResponseDto responseDto;
ApiInfoData infoData;
String result = "";
- List<WhjlShareApi2002> list;
+ List<WhjlShareApi2009> list;
for (ApiConfs apiConf : apiConfs) {
apiService = apiPushManager.getApiRemoteService(apiConf.getPushProtocol());
if (null == apiService) {
continue;
}
//灏佽鍙傛暟
- param = new ApiParam(apiConf, WhjlConstant.API_CATEGORY_20, WhjlConstant.API_CODE_2002);
+ param = new ApiParam(apiConf, WhjlConstant.API_CATEGORY_20, WhjlConstant.API_CODE_2009);
responseDto = apiService.pullData(param, apiConf);
if (responseDto.getSuccess() == 0) {
- list = JSONObject.parseArray(responseDto.getData(), WhjlShareApi2002.class);
+ list = JSONObject.parseArray(responseDto.getData(), WhjlShareApi2009.class);
if(null != list && list.size() > 0){
- for (WhjlShareApi2002 shareData : list) {
+ for (WhjlShareApi2009 shareData : list) {
shareData.setCzbz(Constant.CZBZ_U);
infoData = new ApiInfoData();
- infoData.setId(shareData.getCpflbm());
+ infoData.setId(shareData.getMbhb());
infoData.setKqdm(apiConf.getKqdm());
infoData.setInteType(WhjlConstant.API_CATEGORY_20);
- infoData.setInteId(WhjlConstant.API_CODE_2002);
+ infoData.setInteId(WhjlConstant.API_CODE_2009);
infoData.setUpdateTime(new Date());
- infoData.setDataId(shareData.getCpflbm());
+ infoData.setDataId(shareData.getMbhb());
infoData.setData(JSON.toJSONString(shareData));
infoData.setCzbz(Constant.CZBZ_U);
apiInfoDataRep.save(infoData);
--
Gitblit v1.9.3