YYC
2023-10-25 99aa67bc1d05c4a9b394d9e5ad5ed68931abcc7e
武汉接口--副食品
已添加9个文件
已修改6个文件
3260 ■■■■■ 文件已修改
src/main/java/com/fzzy/otherview/whhpjl/WhjlApi1106.view.xml 508 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/fzzy/otherview/whhpjl/WhjlApi1107.view.xml 8 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/fzzy/otherview/whhpjl/WhjlApi1108.view.xml 8 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/fzzy/otherview/whhpjl/WhjlApi1201.view.xml 737 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/fzzy/otherview/whhpjl/WhjlApi1202.view.xml 421 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/fzzy/otherview/whhpjl/WhjlApi1203.view.xml 844 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/fzzy/otherview/whhpjl/dto/WhjlApi1106.java 53 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/fzzy/otherview/whhpjl/dto/WhjlApi1201.java 12 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/fzzy/otherview/whhpjl/dto/WhjlApi1202.java 13 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/fzzy/otherview/whhpjl/dto/WhjlApi1203.java 10 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/fzzy/otherview/whhpjl/pr/WhjlApi1106PR.java 154 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/fzzy/otherview/whhpjl/pr/WhjlApi1201PR.java 154 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/fzzy/otherview/whhpjl/pr/WhjlApi1202PR.java 154 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/fzzy/otherview/whhpjl/pr/WhjlApi1203PR.java 154 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/resources/templates/home/home-whjl.html 30 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/fzzy/otherview/whhpjl/WhjlApi1106.view.xml
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,508 @@
<?xml version="1.0" encoding="UTF-8"?>
<ViewConfig>
  <Arguments/>
  <Context/>
  <Model>
    <DataType name="dtMain">
      <Property name="creationType">com.fzzy.otherview.whhpjl.dto.WhjlApi1106</Property>
      <PropertyDef name="ygbh">
        <Property></Property>
        <Property name="label">油罐编号</Property>
      </PropertyDef>
      <PropertyDef name="jlqybh">
        <Property></Property>
        <Property name="label">军粮企业编号</Property>
      </PropertyDef>
      <PropertyDef name="jlqymc">
        <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="ygmc">
        <Property></Property>
        <Property name="label">油灌名称</Property>
      </PropertyDef>
      <PropertyDef name="yglx">
        <Property></Property>
        <Property name="label">油灌类型</Property>
      </PropertyDef>
      <PropertyDef name="ykdj">
        <Property></Property>
        <Property name="label">油灌等级</Property>
      </PropertyDef>
      <PropertyDef name="ygor">
        <Property name="dataType">Double</Property>
        <Property name="label">油罐总容</Property>
      </PropertyDef>
      <PropertyDef name="ygzrd1">
        <Property name="dataType">Double</Property>
        <Property name="label">油罐组容</Property>
      </PropertyDef>
      <PropertyDef name="lxdh">
        <Property></Property>
        <Property name="label">联系电话</Property>
      </PropertyDef>
      <PropertyDef name="cfjd">
        <Property name="dataType">Double</Property>
        <Property name="label">仓房经度</Property>
      </PropertyDef>
      <PropertyDef name="cfwd">
        <Property name="dataType">Double</Property>
        <Property name="label">仓房纬度</Property>
      </PropertyDef>
      <PropertyDef name="qyrq">
        <Property name="dataType">Date</Property>
        <Property name="label">启用日期</Property>
      </PropertyDef>
      <PropertyDef name="ygzt">
        <Property></Property>
        <Property name="label">油罐状态</Property>
      </PropertyDef>
      <PropertyDef name="ygsyzt">
        <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">Date</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="dtGBArea">
      <Property name="creationType">com.fzzy.api.entity.GbArea</Property>
      <PropertyDef name="code">
        <Property></Property>
        <Property name="label">接口编码</Property>
      </PropertyDef>
      <PropertyDef name="name">
        <Property></Property>
        <Property name="label">名称</Property>
      </PropertyDef>
      <PropertyDef name="parentCode">
        <Property></Property>
        <Property name="label">父编码</Property>
      </PropertyDef>
      <PropertyDef name="disabledTag">
        <Property></Property>
        <Property name="label">禁用</Property>
      </PropertyDef>
      <PropertyDef name="simple">
        <Property></Property>
        <Property name="label">是否默认</Property>
      </PropertyDef>
      <PropertyDef name="remark">
        <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">whjlApi1106PR#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(&quot;#dsMain&quot;).insert();&#xD;
view.get(&quot;#dialogMain&quot;).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(&quot;#dgMain&quot;).getCurrentItem();&#xD;
if(cur){&#xD;
    view.get(&quot;#dialogMain&quot;).show();&#xD;
}else{&#xD;
    $alert(&quot;请勾选需要修改的数据!&quot;);&#xD;
}</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(&quot;#dgMain&quot;).getCurrentItem();&#xD;
if(cur){&#xD;
    view.get(&quot;#ajaxDel&quot;).set(&quot;parameter&quot;,cur).execute(function(result){&#xD;
        if(result){&#xD;
            $alert(result);&#xD;
        } else{&#xD;
            cur.remove();&#xD;
        }&#xD;
    });&#xD;
}else{&#xD;
    $alert(&quot;请勾选需要删除的数据!&quot;);&#xD;
}</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(&quot;#dsMain&quot;).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(&quot;#dgMain&quot;).get(&quot;selection&quot;);&#xD;
if(select &amp;&amp; select.length > 0){&#xD;
    view.get(&quot;#ajaxPush&quot;).set(&quot;parameter&quot;,select).execute(function(result){&#xD;
        view.get(&quot;#dsMain&quot;).flushAsync();&#xD;
        $notify(result);&#xD;
    });&#xD;
}else{&#xD;
    $alert(&quot;请勾选需要上报的数据!&quot;);&#xD;
}</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">//显示记录&#xD;
view.get(&quot;#iFrame&quot;).reload();&#xD;
view.get(&quot;#dialogLog&quot;).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(&quot;#dsMain.data:#&quot;);&#xD;
if(data){&#xD;
    view.get(&quot;#dialogMain&quot;).show();&#xD;
}</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="ygbh">
          <Property name="property">ygbh</Property>
          <Property name="align">center</Property>
        </DataColumn>
        <DataColumn name="jlqybh">
          <Property name="property">jlqybh</Property>
          <Property name="align">center</Property>
        </DataColumn>
        <DataColumn name="jlqymc">
          <Property name="property">jlqymc</Property>
          <Property name="align">center</Property>
        </DataColumn>
        <DataColumn name="jgzdbh">
          <Property name="property">jgzdbh</Property>
          <Property name="align">center</Property>
        </DataColumn>
        <DataColumn name="jgzdmc">
          <Property name="property">jgzdmc</Property>
          <Property name="align">center</Property>
        </DataColumn>
        <DataColumn name="ygmc">
          <Property name="property">ygmc</Property>
          <Property name="align">center</Property>
        </DataColumn>
        <DataColumn name="yglx">
          <Property name="property">yglx</Property>
          <Property name="align">center</Property>
        </DataColumn>
        <DataColumn name="lxdh">
          <Property name="property">lxdh</Property>
          <Property name="align">center</Property>
        </DataColumn>
        <DataColumn name="cfjd">
          <Property name="property">cfjd</Property>
          <Property name="align">center</Property>
        </DataColumn>
        <DataColumn name="cfwd">
          <Property name="property">cfwd</Property>
          <Property name="align">center</Property>
        </DataColumn>
        <DataColumn name="qyrq">
          <Property name="property">qyrq</Property>
          <Property name="align">center</Property>
        </DataColumn>
        <DataColumn name="ygzt">
          <Property name="property">ygzt</Property>
          <Property name="align">center</Property>
        </DataColumn>
        <DataColumn name="ygsyzt">
          <Property name="property">ygsyzt</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">
      <Property name="width">85%</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(&quot;#dgMain&quot;).getCurrentItem();&#xD;
view.get(&quot;#updateSave&quot;).execute(function(){&#xD;
    self.get(&quot;parent&quot;).hide();&#xD;
    view.get(&quot;#dsMain&quot;).flushAsync();&#xD;
});</ClientEvent>
          <Property name="caption">确定</Property>
          <Property name="iconClass">fa fa-check</Property>
        </Button>
        <Button>
          <ClientEvent name="onClick">var cur = view.get(&quot;#dgMain&quot;).getCurrentItem();&#xD;
self.get(&quot;parent&quot;).hide();&#xD;
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>
          <AutoFormElement>
            <Property name="name">ygbh</Property>
            <Property name="property">ygbh</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">ygmc</Property>
            <Property name="property">ygmc</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">yglx</Property>
            <Property name="property">yglx</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">ykdj</Property>
            <Property name="property">ykdj</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">ygor</Property>
            <Property name="property">ygor</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">ygzrd1</Property>
            <Property name="property">ygzrd1</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">lxdh</Property>
            <Property name="property">lxdh</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">cfjd</Property>
            <Property name="property">cfjd</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">cfwd</Property>
            <Property name="property">cfwd</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">qyrq</Property>
            <Property name="property">qyrq</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">ygzt</Property>
            <Property name="property">ygzt</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">ygsyzt</Property>
            <Property name="property">ygsyzt</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>
      <Tools/>
    </Dialog>
    <UpdateAction id="updateSave">
      <Property name="dataResolver">whjlApi1106PR#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">whjlApi1106PR#delData</Property>
    </AjaxAction>
    <AjaxAction id="ajaxPush">
      <Property name="service">whjlApi1106PR#pushData</Property>
    </AjaxAction>
    <CustomDropDown id="cddGbArea">
      <Property name="assignmentMap">qyxzqhdm=code,qyxzqhmc=name</Property>
      <Property name="height">500</Property>
      <Property name="minHeight">500</Property>
      <Property name="maxHeight">500</Property>
      <Property name="width">400</Property>
      <Container layout="regionPadding:5">
        <DataSet id="dsGBArea">
          <Property name="dataProvider">gbAreaPR#findByCode</Property>
          <Property name="dataType">[dtGBArea]</Property>
        </DataSet>
        <Container layout="hbox regionPadding:5">
          <TextEditor id="key2">
            <Property name="blankText"> -- ç¼–码或者名称 --</Property>
            <Property name="width">200</Property>
          </TextEditor>
          <Button>
            <ClientEvent name="onClick">var key = view.get(&quot;#key2.value&quot;);&#xD;
view.get(&quot;#dsGBArea&quot;).set(&quot;parameter&quot;,{key:key}).flushAsync();</ClientEvent>
            <Property name="iconClass">fa fa-search</Property>
            <Property name="caption">查询</Property>
          </Button>
          <Button>
            <ClientEvent name="onClick">var data = view.get(&quot;#dsGBArea.data:#&quot;);&#xD;
if (data) {&#xD;
    view.get(&quot;#cddGbArea&quot;).close(data.toJSON());&#xD;
}</ClientEvent>
            <Property name="caption">确定</Property>
            <Property name="iconClass">fa fa-check</Property>
          </Button>
        </Container>
        <DataGrid>
          <ClientEvent name="onDataRowDoubleClick">var data = view.get(&quot;#dsGBArea.data:#&quot;);&#xD;
if(data){&#xD;
    view.get(&quot;#cddGbArea&quot;).close(data.toJSON());&#xD;
}</ClientEvent>
          <Property name="dataSet">dsGBArea</Property>
          <Property name="readOnly">true</Property>
          <DataColumn name="code">
            <Property name="property">code</Property>
          </DataColumn>
          <DataColumn name="name">
            <Property name="property">name</Property>
          </DataColumn>
        </DataGrid>
      </Container>
    </CustomDropDown>
    <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(&quot;parent&quot;).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/WhjlApi1107.view.xml
@@ -134,7 +134,7 @@
    <Property name="packages">font-awesome,css-common</Property>
    <DataSet id="dsMain">
      <Property name="dataType">[dtMain]</Property>
      <Property name="dataProvider">WhjlApi1107PR#listData</Property>
      <Property name="dataProvider">whjlApi1107PR#listData</Property>
    </DataSet>
    <Container layout="regionPadding:10" layoutConstraint="top">
      <Property name="exClassName">bg-color</Property>
@@ -429,7 +429,7 @@
      <Tools/>
    </Dialog>
    <UpdateAction id="updateSave">
      <Property name="dataResolver">WhjlApi1107PR#saveData</Property>
      <Property name="dataResolver">whjlApi1107PR#saveData</Property>
      <UpdateItem>
        <Property name="dataPath">[#current]</Property>
        <Property name="dataSet">dsMain</Property>
@@ -437,10 +437,10 @@
    </UpdateAction>
    <AjaxAction id="ajaxDel">
      <Property name="confirmMessage">当前数据删除后无法恢复,请确认要删除么?</Property>
      <Property name="service">WhjlApi1107PR#delData</Property>
      <Property name="service">whjlApi1107PR#delData</Property>
    </AjaxAction>
    <AjaxAction id="ajaxPush">
      <Property name="service">WhjlApi1107PR#pushData</Property>
      <Property name="service">whjlApi1107PR#pushData</Property>
    </AjaxAction>
    <Dialog id="dialogLog">
      <Property name="width">90%</Property>
src/main/java/com/fzzy/otherview/whhpjl/WhjlApi1108.view.xml
@@ -118,7 +118,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">whjlApi1108PR#listData</Property>
    </DataSet>
    <Container layout="regionPadding:10" layoutConstraint="top">
      <Property name="exClassName">bg-color</Property>
@@ -384,7 +384,7 @@
      <Tools/>
    </Dialog>
    <UpdateAction id="updateSave">
      <Property name="dataResolver">WhjlApi1108PR#saveData</Property>
      <Property name="dataResolver">whjlApi1108PR#saveData</Property>
      <UpdateItem>
        <Property name="dataPath">[#current]</Property>
        <Property name="dataSet">dsMain</Property>
@@ -392,10 +392,10 @@
    </UpdateAction>
    <AjaxAction id="ajaxDel">
      <Property name="confirmMessage">当前数据删除后无法恢复,请确认要删除么?</Property>
      <Property name="service">WhjlApi1108PR#delData</Property>
      <Property name="service">whjlApi1108PR#delData</Property>
    </AjaxAction>
    <AjaxAction id="ajaxPush">
      <Property name="service">WhjlApi1108PR#pushData</Property>
      <Property name="service">whjlApi1108PR#pushData</Property>
    </AjaxAction>
    <Dialog id="dialogLog">
      <Property name="width">90%</Property>
src/main/java/com/fzzy/otherview/whhpjl/WhjlApi1201.view.xml
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,737 @@
<?xml version="1.0" encoding="UTF-8"?>
<ViewConfig>
  <Arguments/>
  <Context/>
  <Model>
    <DataType name="dtMain">
      <Property name="creationType">com.fzzy.otherview.whhpjl.dto.WhjlApi1201</Property>
      <PropertyDef name="jljgqybh">
        <Property></Property>
        <Property name="label">加工企业编号</Property>
      </PropertyDef>
      <PropertyDef name="jlqybh">
        <Property></Property>
        <Property name="label">军粮企业编号</Property>
      </PropertyDef>
      <PropertyDef name="jlqymc">
        <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="jljgqymc">
        <Property></Property>
        <Property name="label">加工企业名称</Property>
      </PropertyDef>
      <PropertyDef name="jljgqyjc">
        <Property></Property>
        <Property name="label">加工企业简称</Property>
      </PropertyDef>
      <PropertyDef name="zzjgdm">
        <Property></Property>
        <Property name="label">组织机构代码</Property>
      </PropertyDef>
      <PropertyDef name="jlqytyshxydm">
        <Property></Property>
        <Property name="label">企业统一社会信用代码</Property>
      </PropertyDef>
      <PropertyDef name="qyjjlx">
        <Property></Property>
        <Property name="label">企业经济类型</Property>
      </PropertyDef>
      <PropertyDef name="qyxz">
        <Property></Property>
        <Property name="label">企业性质</Property>
      </PropertyDef>
      <PropertyDef name="djzclx">
        <Property></Property>
        <Property name="label">登记注册类型</Property>
      </PropertyDef>
      <PropertyDef name="gsdjzch">
        <Property></Property>
        <Property name="label">工商登记注册号</Property>
      </PropertyDef>
      <PropertyDef name="fddbr">
        <Property></Property>
        <Property name="label">法定代表人</Property>
      </PropertyDef>
      <PropertyDef name="qydz">
        <Property></Property>
        <Property name="label">企业地址</Property>
      </PropertyDef>
      <PropertyDef name="qydh">
        <Property></Property>
        <Property name="label">企业电话</Property>
      </PropertyDef>
      <PropertyDef name="qycz">
        <Property></Property>
        <Property name="label">企业传真</Property>
      </PropertyDef>
      <PropertyDef name="qydzyx">
        <Property></Property>
        <Property name="label">企业电子邮箱</Property>
      </PropertyDef>
      <PropertyDef name="qywz">
        <Property></Property>
        <Property name="label">企业网址</Property>
      </PropertyDef>
      <PropertyDef name="qyyzbm">
        <Property></Property>
        <Property name="label">企业邮政编码</Property>
      </PropertyDef>
      <PropertyDef name="qyjd">
        <Property name="dataType">Double</Property>
        <Property name="label">企业经度</Property>
        <Property name="displayFormat">#0.000000度</Property>
      </PropertyDef>
      <PropertyDef name="qywd">
        <Property name="dataType">Double</Property>
        <Property name="label">企业纬度</Property>
        <Property name="displayFormat">#0.000000度</Property>
      </PropertyDef>
      <PropertyDef name="qyxzqhmc">
        <Property></Property>
        <Property name="label">企业行政区划名称</Property>
      </PropertyDef>
      <PropertyDef name="qyxzqhdm">
        <Property></Property>
        <Property name="label">企业行政区划代码</Property>
      </PropertyDef>
      <PropertyDef name="khyh">
        <Property></Property>
        <Property name="label">开户银行</Property>
      </PropertyDef>
      <PropertyDef name="yhzh">
        <Property></Property>
        <Property name="label">银行账号</Property>
      </PropertyDef>
      <PropertyDef name="yhxydj">
        <Property></Property>
        <Property name="label">银行信用等级</Property>
      </PropertyDef>
      <PropertyDef name="gdzc">
        <Property name="dataType">Double</Property>
        <Property name="label">固定资产</Property>
        <Property name="displayFormat">#0.00万元</Property>
      </PropertyDef>
      <PropertyDef name="zczb">
        <Property name="dataType">Double</Property>
        <Property name="label">注册资本</Property>
        <Property name="displayFormat">#0.00万元</Property>
      </PropertyDef>
      <PropertyDef name="zc">
        <Property name="dataType">Double</Property>
        <Property name="label">资产</Property>
        <Property name="displayFormat">#0.00万元</Property>
      </PropertyDef>
      <PropertyDef name="qycyrys">
        <Property name="dataType">int</Property>
        <Property name="label">企业从业人员数</Property>
        <Property name="displayFormat">#0人</Property>
      </PropertyDef>
      <PropertyDef name="scx">
        <Property></Property>
        <Property name="label">生产线</Property>
      </PropertyDef>
      <PropertyDef name="scsb">
        <Property></Property>
        <Property name="label">生产设备</Property>
      </PropertyDef>
      <PropertyDef name="sbmc">
        <Property></Property>
        <Property name="label">设备名称</Property>
      </PropertyDef>
      <PropertyDef name="sbcd">
        <Property></Property>
        <Property name="label">设备产地</Property>
      </PropertyDef>
      <PropertyDef name="jgnl">
        <Property></Property>
        <Property name="label">加工能力</Property>
      </PropertyDef>
      <PropertyDef name="spscxkz">
        <Property></Property>
        <Property name="label">食品生产许可</Property>
      </PropertyDef>
      <PropertyDef name="zypp">
        <Property></Property>
        <Property name="label">主要品牌</Property>
      </PropertyDef>
      <PropertyDef name="zz">
        <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">Date</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="dtGBArea">
      <Property name="creationType">com.fzzy.api.entity.GbArea</Property>
      <PropertyDef name="code">
        <Property></Property>
        <Property name="label">接口编码</Property>
      </PropertyDef>
      <PropertyDef name="name">
        <Property></Property>
        <Property name="label">名称</Property>
      </PropertyDef>
      <PropertyDef name="parentCode">
        <Property></Property>
        <Property name="label">父编码</Property>
      </PropertyDef>
      <PropertyDef name="disabledTag">
        <Property></Property>
        <Property name="label">禁用</Property>
      </PropertyDef>
      <PropertyDef name="simple">
        <Property></Property>
        <Property name="label">是否默认</Property>
      </PropertyDef>
      <PropertyDef name="remark">
        <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">whjlApi1201PR#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(&quot;#dsMain&quot;).insert();&#xD;
view.get(&quot;#dialogMain&quot;).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(&quot;#dgMain&quot;).getCurrentItem();&#xD;
if(cur){&#xD;
    view.get(&quot;#dialogMain&quot;).show();&#xD;
}else{&#xD;
    $alert(&quot;请勾选需要修改的数据!&quot;);&#xD;
}</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(&quot;#dgMain&quot;).getCurrentItem();&#xD;
if(cur){&#xD;
    view.get(&quot;#ajaxDel&quot;).set(&quot;parameter&quot;,cur).execute(function(result){&#xD;
        if(result){&#xD;
            $alert(result);&#xD;
        } else{&#xD;
            cur.remove();&#xD;
        }&#xD;
    });&#xD;
}else{&#xD;
    $alert(&quot;请勾选需要删除的数据!&quot;);&#xD;
}</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(&quot;#dsMain&quot;).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(&quot;#dgMain&quot;).get(&quot;selection&quot;);&#xD;
if(select &amp;&amp; select.length > 0){&#xD;
    view.get(&quot;#ajaxPush&quot;).set(&quot;parameter&quot;,select).execute(function(result){&#xD;
        view.get(&quot;#dsMain&quot;).flushAsync();&#xD;
        $notify(result);&#xD;
    });&#xD;
}else{&#xD;
    $alert(&quot;请勾选需要上报的数据!&quot;);&#xD;
}</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">//显示记录&#xD;
view.get(&quot;#iFrame&quot;).reload();&#xD;
view.get(&quot;#dialogLog&quot;).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(&quot;#dsMain.data:#&quot;);&#xD;
if(data){&#xD;
    view.get(&quot;#dialogMain&quot;).show();&#xD;
}</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="jlqymc">
          <Property name="property">jlqymc</Property>
          <Property name="align">center</Property>
        </DataColumn>
        <DataColumn name="jgzdmc">
          <Property name="property">jgzdmc</Property>
          <Property name="align">center</Property>
        </DataColumn>
        <DataColumn name="jljgqymc">
          <Property name="property">jljgqymc</Property>
          <Property name="align">center</Property>
        </DataColumn>
        <DataColumn name="jljgqyjc">
          <Property name="property">jljgqyjc</Property>
          <Property name="align">center</Property>
        </DataColumn>
        <DataColumn name="zzjgdm">
          <Property name="property">zzjgdm</Property>
          <Property name="align">center</Property>
        </DataColumn>
        <DataColumn name="qyjjlx">
          <Property name="property">qyjjlx</Property>
          <Property name="align">center</Property>
        </DataColumn>
        <DataColumn name="qyxz">
          <Property name="property">qyxz</Property>
          <Property name="align">center</Property>
        </DataColumn>
        <DataColumn name="djzclx">
          <Property name="property">djzclx</Property>
          <Property name="align">center</Property>
        </DataColumn>
        <DataColumn name="gsdjzch">
          <Property name="property">gsdjzch</Property>
          <Property name="align">center</Property>
        </DataColumn>
        <DataColumn name="fddbr">
          <Property name="property">fddbr</Property>
          <Property name="align">center</Property>
        </DataColumn>
        <DataColumn name="qydz">
          <Property name="property">qydz</Property>
          <Property name="align">center</Property>
        </DataColumn>
        <DataColumn name="qydh">
          <Property name="property">qydh</Property>
          <Property name="align">center</Property>
        </DataColumn>
        <DataColumn name="qycz">
          <Property name="property">qycz</Property>
          <Property name="align">center</Property>
        </DataColumn>
        <DataColumn name="qydzyx">
          <Property name="property">qydzyx</Property>
          <Property name="align">center</Property>
        </DataColumn>
        <DataColumn name="qywz">
          <Property name="property">qywz</Property>
          <Property name="align">center</Property>
        </DataColumn>
        <DataColumn name="qyjd">
          <Property name="property">qyjd</Property>
          <Property name="align">center</Property>
        </DataColumn>
        <DataColumn name="qywd">
          <Property name="property">qywd</Property>
          <Property name="align">center</Property>
        </DataColumn>
      </DataGrid>
    </Container>
    <Dialog id="dialogMain">
      <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(&quot;#dgMain&quot;).getCurrentItem();&#xD;
view.get(&quot;#updateSave&quot;).execute(function(){&#xD;
    self.get(&quot;parent&quot;).hide();&#xD;
    view.get(&quot;#dsMain&quot;).flushAsync();&#xD;
});</ClientEvent>
          <Property name="caption">确定</Property>
          <Property name="iconClass">fa fa-check</Property>
        </Button>
        <Button>
          <ClientEvent name="onClick">var cur = view.get(&quot;#dgMain&quot;).getCurrentItem();&#xD;
self.get(&quot;parent&quot;).hide();&#xD;
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>
          <AutoFormElement>
            <Property name="name">jljgqybh</Property>
            <Property name="property">jljgqybh</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">jljgqymc</Property>
            <Property name="property">jljgqymc</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">jljgqyjc</Property>
            <Property name="property">jljgqyjc</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">zzjgdm</Property>
            <Property name="property">zzjgdm</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">jlqytyshxydm</Property>
            <Property name="property">jlqytyshxydm</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">qyjjlx</Property>
            <Property name="property">qyjjlx</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">qyxz</Property>
            <Property name="property">qyxz</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">djzclx</Property>
            <Property name="property">djzclx</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">gsdjzch</Property>
            <Property name="property">gsdjzch</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">fddbr</Property>
            <Property name="property">fddbr</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">qydz</Property>
            <Property name="property">qydz</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">qydh</Property>
            <Property name="property">qydh</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">qycz</Property>
            <Property name="property">qycz</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">qydzyx</Property>
            <Property name="property">qydzyx</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">qywz</Property>
            <Property name="property">qywz</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">qyyzbm</Property>
            <Property name="property">qyyzbm</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">qyjd</Property>
            <Property name="property">qyjd</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">qywd</Property>
            <Property name="property">qywd</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">qyxzqhmc</Property>
            <Property name="property">qyxzqhmc</Property>
            <Property name="trigger">cddGbArea</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">qyxzqhdm</Property>
            <Property name="property">qyxzqhdm</Property>
            <Property name="trigger">cddGbArea</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">khyh</Property>
            <Property name="property">khyh</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">yhzh</Property>
            <Property name="property">yhzh</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">yhxydj</Property>
            <Property name="property">yhxydj</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">gdzc</Property>
            <Property name="property">gdzc</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">zczb</Property>
            <Property name="property">zczb</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">zc</Property>
            <Property name="property">zc</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">qycyrys</Property>
            <Property name="property">qycyrys</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">scx</Property>
            <Property name="property">scx</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">scsb</Property>
            <Property name="property">scsb</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">sbmc</Property>
            <Property name="property">sbmc</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">sbcd</Property>
            <Property name="property">sbcd</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">jgnl</Property>
            <Property name="property">jgnl</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">spscxkz</Property>
            <Property name="property">spscxkz</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">zypp</Property>
            <Property name="property">zypp</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">zz</Property>
            <Property name="property">zz</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">sfyx</Property>
            <Property name="property">sfyx</Property>
            <Property name="trigger">listDropYN</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">whjlApi1201PR#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">whjlApi1201PR#delData</Property>
    </AjaxAction>
    <AjaxAction id="ajaxPush">
      <Property name="service">whjlApi1201PR#pushData</Property>
    </AjaxAction>
    <CustomDropDown id="cddGbArea">
      <Property name="assignmentMap">qyxzqhdm=code,qyxzqhmc=name</Property>
      <Property name="height">500</Property>
      <Property name="minHeight">500</Property>
      <Property name="maxHeight">500</Property>
      <Property name="width">400</Property>
      <Container layout="regionPadding:5">
        <DataSet id="dsGBArea">
          <Property name="dataProvider">gbAreaPR#findByCode</Property>
          <Property name="dataType">[dtGBArea]</Property>
        </DataSet>
        <Container layout="hbox regionPadding:5">
          <TextEditor id="key2">
            <Property name="blankText"> -- ç¼–码或者名称 --</Property>
            <Property name="width">200</Property>
          </TextEditor>
          <Button>
            <ClientEvent name="onClick">var key = view.get(&quot;#key2.value&quot;);&#xD;
view.get(&quot;#dsGBArea&quot;).set(&quot;parameter&quot;,{key:key}).flushAsync();</ClientEvent>
            <Property name="iconClass">fa fa-search</Property>
            <Property name="caption">查询</Property>
          </Button>
          <Button>
            <ClientEvent name="onClick">var data = view.get(&quot;#dsGBArea.data:#&quot;);&#xD;
if (data) {&#xD;
    view.get(&quot;#cddGbArea&quot;).close(data.toJSON());&#xD;
}</ClientEvent>
            <Property name="caption">确定</Property>
            <Property name="iconClass">fa fa-check</Property>
          </Button>
        </Container>
        <DataGrid>
          <ClientEvent name="onDataRowDoubleClick">var data = view.get(&quot;#dsGBArea.data:#&quot;);&#xD;
if(data){&#xD;
    view.get(&quot;#cddGbArea&quot;).close(data.toJSON());&#xD;
}</ClientEvent>
          <Property name="dataSet">dsGBArea</Property>
          <Property name="readOnly">true</Property>
          <DataColumn name="code">
            <Property name="property">code</Property>
          </DataColumn>
          <DataColumn name="name">
            <Property name="property">name</Property>
          </DataColumn>
        </DataGrid>
      </Container>
    </CustomDropDown>
    <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(&quot;parent&quot;).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/WhjlApi1202.view.xml
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,421 @@
<?xml version="1.0" encoding="UTF-8"?>
<ViewConfig>
  <Arguments/>
  <Context/>
  <Model>
    <DataType name="dtMain">
      <Property name="creationType">com.fzzy.otherview.whhpjl.dto.WhjlApi1202</Property>
      <PropertyDef name="jlppbh">
        <Property></Property>
        <Property name="label">军粮品牌编号</Property>
      </PropertyDef>
      <PropertyDef name="jlqybh">
        <Property></Property>
        <Property name="label">军粮企业编号</Property>
      </PropertyDef>
      <PropertyDef name="jlqymc">
        <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="jljgqybh">
        <Property></Property>
        <Property name="label">加工企业编号</Property>
      </PropertyDef>
      <PropertyDef name="jljgqymc">
        <Property></Property>
        <Property name="label">加工企业名称</Property>
      </PropertyDef>
      <PropertyDef name="jlppmc">
        <Property></Property>
        <Property name="label">军粮品牌名称</Property>
      </PropertyDef>
      <PropertyDef name="jlppmcjc">
        <Property></Property>
        <Property name="label">军粮品牌简称</Property>
      </PropertyDef>
      <PropertyDef name="sfyx">
        <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>
      </PropertyDef>
      <PropertyDef name="kqdm">
        <Property></Property>
        <Property name="label">库区代码</Property>
      </PropertyDef>
    </DataType>
    <DataType name="dtGBArea">
      <Property name="creationType">com.fzzy.api.entity.GbArea</Property>
      <PropertyDef name="code">
        <Property></Property>
        <Property name="label">接口编码</Property>
      </PropertyDef>
      <PropertyDef name="name">
        <Property></Property>
        <Property name="label">名称</Property>
      </PropertyDef>
      <PropertyDef name="parentCode">
        <Property></Property>
        <Property name="label">父编码</Property>
      </PropertyDef>
      <PropertyDef name="disabledTag">
        <Property></Property>
        <Property name="label">禁用</Property>
      </PropertyDef>
      <PropertyDef name="simple">
        <Property></Property>
        <Property name="label">是否默认</Property>
      </PropertyDef>
      <PropertyDef name="remark">
        <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">whjlApi1202PR#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(&quot;#dsMain&quot;).insert();&#xD;
view.get(&quot;#dialogMain&quot;).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(&quot;#dgMain&quot;).getCurrentItem();&#xD;
if(cur){&#xD;
    view.get(&quot;#dialogMain&quot;).show();&#xD;
}else{&#xD;
    $alert(&quot;请勾选需要修改的数据!&quot;);&#xD;
}</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(&quot;#dgMain&quot;).getCurrentItem();&#xD;
if(cur){&#xD;
    view.get(&quot;#ajaxDel&quot;).set(&quot;parameter&quot;,cur).execute(function(result){&#xD;
        if(result){&#xD;
            $alert(result);&#xD;
        } else{&#xD;
            cur.remove();&#xD;
        }&#xD;
    });&#xD;
}else{&#xD;
    $alert(&quot;请勾选需要删除的数据!&quot;);&#xD;
}</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(&quot;#dsMain&quot;).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(&quot;#dgMain&quot;).get(&quot;selection&quot;);&#xD;
if(select &amp;&amp; select.length > 0){&#xD;
    view.get(&quot;#ajaxPush&quot;).set(&quot;parameter&quot;,select).execute(function(result){&#xD;
        view.get(&quot;#dsMain&quot;).flushAsync();&#xD;
        $notify(result);&#xD;
    });&#xD;
}else{&#xD;
    $alert(&quot;请勾选需要上报的数据!&quot;);&#xD;
}</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">//显示记录&#xD;
view.get(&quot;#iFrame&quot;).reload();&#xD;
view.get(&quot;#dialogLog&quot;).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(&quot;#dsMain.data:#&quot;);&#xD;
if(data){&#xD;
    view.get(&quot;#dialogMain&quot;).show();&#xD;
}</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="jlqybh">
          <Property name="property">jlqybh</Property>
          <Property name="align">center</Property>
        </DataColumn>
        <DataColumn name="jlqymc">
          <Property name="property">jlqymc</Property>
          <Property name="align">center</Property>
        </DataColumn>
        <DataColumn name="jgzdbh">
          <Property name="property">jgzdbh</Property>
          <Property name="align">center</Property>
        </DataColumn>
        <DataColumn name="jgzdmc">
          <Property name="property">jgzdmc</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="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="sfyx">
          <Property name="property">sfyx</Property>
          <Property name="align">center</Property>
          <Property name="trigger">listDropYN</Property>
        </DataColumn>
      </DataGrid>
    </Container>
    <Dialog id="dialogMain">
      <Property name="width">85%</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(&quot;#dgMain&quot;).getCurrentItem();&#xD;
view.get(&quot;#updateSave&quot;).execute(function(){&#xD;
    self.get(&quot;parent&quot;).hide();&#xD;
    view.get(&quot;#dsMain&quot;).flushAsync();&#xD;
});</ClientEvent>
          <Property name="caption">确定</Property>
          <Property name="iconClass">fa fa-check</Property>
        </Button>
        <Button>
          <ClientEvent name="onClick">var cur = view.get(&quot;#dgMain&quot;).getCurrentItem();&#xD;
self.get(&quot;parent&quot;).hide();&#xD;
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>
          <AutoFormElement>
            <Property name="name">jlppbh</Property>
            <Property name="property">jlppbh</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">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">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">sfyx</Property>
            <Property name="property">sfyx</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">whjlApi1202PR#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">whjlApi1202PR#delData</Property>
    </AjaxAction>
    <AjaxAction id="ajaxPush">
      <Property name="service">whjlApi1202PR#pushData</Property>
    </AjaxAction>
    <CustomDropDown id="cddGbArea">
      <Property name="assignmentMap">qyxzqhdm=code,qyxzqhmc=name</Property>
      <Property name="height">500</Property>
      <Property name="minHeight">500</Property>
      <Property name="maxHeight">500</Property>
      <Property name="width">400</Property>
      <Container layout="regionPadding:5">
        <DataSet id="dsGBArea">
          <Property name="dataProvider">gbAreaPR#findByCode</Property>
          <Property name="dataType">[dtGBArea]</Property>
        </DataSet>
        <Container layout="hbox regionPadding:5">
          <TextEditor id="key2">
            <Property name="blankText"> -- ç¼–码或者名称 --</Property>
            <Property name="width">200</Property>
          </TextEditor>
          <Button>
            <ClientEvent name="onClick">var key = view.get(&quot;#key2.value&quot;);&#xD;
view.get(&quot;#dsGBArea&quot;).set(&quot;parameter&quot;,{key:key}).flushAsync();</ClientEvent>
            <Property name="iconClass">fa fa-search</Property>
            <Property name="caption">查询</Property>
          </Button>
          <Button>
            <ClientEvent name="onClick">var data = view.get(&quot;#dsGBArea.data:#&quot;);&#xD;
if (data) {&#xD;
    view.get(&quot;#cddGbArea&quot;).close(data.toJSON());&#xD;
}</ClientEvent>
            <Property name="caption">确定</Property>
            <Property name="iconClass">fa fa-check</Property>
          </Button>
        </Container>
        <DataGrid>
          <ClientEvent name="onDataRowDoubleClick">var data = view.get(&quot;#dsGBArea.data:#&quot;);&#xD;
if(data){&#xD;
    view.get(&quot;#cddGbArea&quot;).close(data.toJSON());&#xD;
}</ClientEvent>
          <Property name="dataSet">dsGBArea</Property>
          <Property name="readOnly">true</Property>
          <DataColumn name="code">
            <Property name="property">code</Property>
          </DataColumn>
          <DataColumn name="name">
            <Property name="property">name</Property>
          </DataColumn>
        </DataGrid>
      </Container>
    </CustomDropDown>
    <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(&quot;parent&quot;).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/WhjlApi1203.view.xml
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,844 @@
<?xml version="1.0" encoding="UTF-8"?>
<ViewConfig>
  <Arguments/>
  <Context/>
  <Model>
    <DataType name="dtMain">
      <Property name="creationType">com.fzzy.otherview.whhpjl.dto.WhjlApi1203</Property>
      <PropertyDef name="cpbh">
        <Property></Property>
        <Property name="label">产品编号</Property>
      </PropertyDef>
      <PropertyDef name="jlqybh">
        <Property></Property>
        <Property name="label">军粮企业编号</Property>
      </PropertyDef>
      <PropertyDef name="jlqymc">
        <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="jljgqybh">
        <Property></Property>
        <Property name="label">加工企业编号</Property>
      </PropertyDef>
      <PropertyDef name="jlppid">
        <Property></Property>
        <Property name="label">品牌ID</Property>
      </PropertyDef>
      <PropertyDef name="jlppmc">
        <Property></Property>
        <Property name="label">品牌名称</Property>
      </PropertyDef>
      <PropertyDef name="lspzbm">
        <Property></Property>
        <Property name="label">品种编号</Property>
        <Property name="mapping">
          <Property name="keyProperty">key</Property>
          <Property name="valueProperty">value</Property>
          <Property name="mapValues">
            <Collection>
              <Entity>
                <Property name="key">1</Property>
                <Property name="value">1:大米</Property>
              </Entity>
              <Entity>
                <Property name="key">2</Property>
                <Property name="value">2:小麦粉</Property>
              </Entity>
              <Entity>
                <Property name="key">3</Property>
                <Property name="value">3:食用油</Property>
              </Entity>
              <Entity>
                <Property name="key">4</Property>
                <Property name="value">4:肉</Property>
              </Entity>
              <Entity>
                <Property name="key">5</Property>
                <Property name="value">5:禽</Property>
              </Entity>
              <Entity>
                <Property name="key">6</Property>
                <Property name="value">6:蛋</Property>
              </Entity>
              <Entity>
                <Property name="key">7</Property>
                <Property name="value">7:奶</Property>
              </Entity>
              <Entity>
                <Property name="key">8</Property>
                <Property name="value">8:蔬菜</Property>
              </Entity>
              <Entity>
                <Property name="key">9</Property>
                <Property name="value">9:水果</Property>
              </Entity>
              <Entity>
                <Property name="key">A</Property>
                <Property name="value">A:大豆</Property>
              </Entity>
            </Collection>
          </Property>
        </Property>
      </PropertyDef>
      <PropertyDef name="lspzmc">
        <Property></Property>
        <Property name="label">品种名称</Property>
      </PropertyDef>
      <PropertyDef name="cpmc">
        <Property></Property>
        <Property name="label">产品名称</Property>
      </PropertyDef>
      <PropertyDef name="pzdj">
        <Property></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="bzfsbm">
        <Property></Property>
        <Property name="label">包装方式编码</Property>
      </PropertyDef>
      <PropertyDef name="bzfsmc">
        <Property></Property>
        <Property name="label">包装方式名称</Property>
      </PropertyDef>
      <PropertyDef name="bzgg">
        <Property name="dataType">Double</Property>
        <Property name="label">包装规格</Property>
        <Property name="displayFormat">#0.00000公斤/升</Property>
      </PropertyDef>
      <PropertyDef name="hsgg">
        <Property name="dataType">Double</Property>
        <Property name="label">计数规格</Property>
        <Property name="defaultValue">1</Property>
      </PropertyDef>
      <PropertyDef name="sccj">
        <Property></Property>
        <Property name="label">生产厂家</Property>
      </PropertyDef>
      <PropertyDef name="cplx">
        <Property></Property>
        <Property name="label">产品类型</Property>
      </PropertyDef>
      <PropertyDef name="bzq">
        <Property></Property>
        <Property name="label">保质期</Property>
      </PropertyDef>
      <PropertyDef name="cd">
        <Property></Property>
        <Property name="label">产地</Property>
      </PropertyDef>
      <PropertyDef name="scrq">
        <Property name="dataType">Date</Property>
        <Property name="label">生产日期</Property>
      </PropertyDef>
      <PropertyDef name="lxr">
        <Property></Property>
        <Property name="label">联系人</Property>
      </PropertyDef>
      <PropertyDef name="dh">
        <Property></Property>
        <Property name="label">电话</Property>
      </PropertyDef>
      <PropertyDef name="cz">
        <Property></Property>
        <Property name="label">传真</Property>
      </PropertyDef>
      <PropertyDef name="email">
        <Property></Property>
        <Property name="label">电子邮件</Property>
      </PropertyDef>
      <PropertyDef name="qq">
        <Property></Property>
        <Property name="label">QQ</Property>
      </PropertyDef>
      <PropertyDef name="qygk">
        <Property></Property>
        <Property name="label">企业概况</Property>
      </PropertyDef>
      <PropertyDef name="cpjs">
        <Property></Property>
        <Property name="label">产品介绍</Property>
      </PropertyDef>
      <PropertyDef name="yyzz">
        <Property></Property>
        <Property name="label">营业执照</Property>
      </PropertyDef>
      <PropertyDef name="zzjgdmz">
        <Property></Property>
        <Property name="label">组织机构代码证</Property>
      </PropertyDef>
      <PropertyDef name="swdjz">
        <Property></Property>
        <Property name="label">税务登记证</Property>
      </PropertyDef>
      <PropertyDef name="spltxkz">
        <Property></Property>
        <Property name="label">食品流通许可证</Property>
      </PropertyDef>
      <PropertyDef name="ybnsrzgz">
        <Property></Property>
        <Property name="label">一般纳税人资格证明</Property>
      </PropertyDef>
      <PropertyDef name="sjgzx">
        <Property></Property>
        <Property name="label">市军供中心审核意见</Property>
      </PropertyDef>
      <PropertyDef name="jlfwgs">
        <Property></Property>
        <Property name="label">军粮服务有限公司审核意见</Property>
      </PropertyDef>
      <PropertyDef name="sjgzxyj">
        <Property></Property>
        <Property name="label">省军供中心意见</Property>
      </PropertyDef>
      <PropertyDef name="yjcd">
        <Property></Property>
        <Property name="label">原件存档</Property>
      </PropertyDef>
      <PropertyDef name="dj">
        <Property name="dataType">Double</Property>
        <Property name="label">单价</Property>
        <Property name="displayFormat">#0.000</Property>
      </PropertyDef>
      <PropertyDef name="scxkz">
        <Property></Property>
        <Property name="label">生产许可证号</Property>
      </PropertyDef>
      <PropertyDef name="jggy">
        <Property></Property>
        <Property name="label">加工工艺</Property>
      </PropertyDef>
      <PropertyDef name="zlxx">
        <Property></Property>
        <Property name="label">质量信息</Property>
      </PropertyDef>
      <PropertyDef name="yyxx">
        <Property></Property>
        <Property name="label">营养信息</Property>
      </PropertyDef>
      <PropertyDef name="lsyjrz">
        <Property></Property>
        <Property name="label">绿色有机认证</Property>
      </PropertyDef>
      <PropertyDef name="nscl">
        <Property></Property>
        <Property name="label">年生产量</Property>
      </PropertyDef>
      <PropertyDef name="sfyx">
        <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>
      </PropertyDef>
      <PropertyDef name="kqdm">
        <Property></Property>
        <Property name="label">库区代码</Property>
      </PropertyDef>
    </DataType>
    <DataType name="dtGBArea">
      <Property name="creationType">com.fzzy.api.entity.GbArea</Property>
      <PropertyDef name="code">
        <Property></Property>
        <Property name="label">接口编码</Property>
      </PropertyDef>
      <PropertyDef name="name">
        <Property></Property>
        <Property name="label">名称</Property>
      </PropertyDef>
      <PropertyDef name="parentCode">
        <Property></Property>
        <Property name="label">父编码</Property>
      </PropertyDef>
      <PropertyDef name="disabledTag">
        <Property></Property>
        <Property name="label">禁用</Property>
      </PropertyDef>
      <PropertyDef name="simple">
        <Property></Property>
        <Property name="label">是否默认</Property>
      </PropertyDef>
      <PropertyDef name="remark">
        <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">whjlApi1203PR#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(&quot;#dsMain&quot;).insert();&#xD;
view.get(&quot;#dialogMain&quot;).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(&quot;#dgMain&quot;).getCurrentItem();&#xD;
if(cur){&#xD;
    view.get(&quot;#dialogMain&quot;).show();&#xD;
}else{&#xD;
    $alert(&quot;请勾选需要修改的数据!&quot;);&#xD;
}</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(&quot;#dgMain&quot;).getCurrentItem();&#xD;
if(cur){&#xD;
    view.get(&quot;#ajaxDel&quot;).set(&quot;parameter&quot;,cur).execute(function(result){&#xD;
        if(result){&#xD;
            $alert(result);&#xD;
        } else{&#xD;
            cur.remove();&#xD;
        }&#xD;
    });&#xD;
}else{&#xD;
    $alert(&quot;请勾选需要删除的数据!&quot;);&#xD;
}</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(&quot;#dsMain&quot;).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(&quot;#dgMain&quot;).get(&quot;selection&quot;);&#xD;
if(select &amp;&amp; select.length > 0){&#xD;
    view.get(&quot;#ajaxPush&quot;).set(&quot;parameter&quot;,select).execute(function(result){&#xD;
        view.get(&quot;#dsMain&quot;).flushAsync();&#xD;
        $notify(result);&#xD;
    });&#xD;
}else{&#xD;
    $alert(&quot;请勾选需要上报的数据!&quot;);&#xD;
}</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">//显示记录&#xD;
view.get(&quot;#iFrame&quot;).reload();&#xD;
view.get(&quot;#dialogLog&quot;).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(&quot;#dsMain.data:#&quot;);&#xD;
if(data){&#xD;
    view.get(&quot;#dialogMain&quot;).show();&#xD;
}</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="jldwmc">
          <Property name="property">jldwmc</Property>
          <Property name="align">center</Property>
        </DataColumn>
        <DataColumn name="jsdwmc">
          <Property name="property">jsdwmc</Property>
          <Property name="align">center</Property>
        </DataColumn>
        <DataColumn name="bzfsmc">
          <Property name="property">bzfsmc</Property>
          <Property name="align">center</Property>
        </DataColumn>
        <DataColumn name="bzgg">
          <Property name="property">bzgg</Property>
          <Property name="align">center</Property>
        </DataColumn>
        <DataColumn name="hsgg">
          <Property name="property">hsgg</Property>
          <Property name="align">center</Property>
        </DataColumn>
        <DataColumn name="sccj">
          <Property name="property">sccj</Property>
          <Property name="align">center</Property>
        </DataColumn>
        <DataColumn name="cplx">
          <Property name="property">cplx</Property>
          <Property name="align">center</Property>
        </DataColumn>
        <DataColumn name="bzq">
          <Property name="property">bzq</Property>
          <Property name="align">center</Property>
        </DataColumn>
        <DataColumn name="cpjs">
          <Property name="property">cpjs</Property>
          <Property name="align">center</Property>
        </DataColumn>
        <DataColumn name="yyzz">
          <Property name="property">yyzz</Property>
          <Property name="align">center</Property>
        </DataColumn>
        <DataColumn name="zzjgdmz">
          <Property name="property">zzjgdmz</Property>
          <Property name="align">center</Property>
        </DataColumn>
        <DataColumn name="swdjz">
          <Property name="property">swdjz</Property>
          <Property name="align">center</Property>
        </DataColumn>
        <DataColumn name="spltxkz">
          <Property name="property">spltxkz</Property>
          <Property name="align">center</Property>
        </DataColumn>
        <DataColumn name="ybnsrzgz">
          <Property name="property">ybnsrzgz</Property>
          <Property name="align">center</Property>
        </DataColumn>
      </DataGrid>
    </Container>
    <Dialog id="dialogMain">
      <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(&quot;#dgMain&quot;).getCurrentItem();&#xD;
view.get(&quot;#updateSave&quot;).execute(function(){&#xD;
    self.get(&quot;parent&quot;).hide();&#xD;
    view.get(&quot;#dsMain&quot;).flushAsync();&#xD;
});</ClientEvent>
          <Property name="caption">确定</Property>
          <Property name="iconClass">fa fa-check</Property>
        </Button>
        <Button>
          <ClientEvent name="onClick">var cur = view.get(&quot;#dgMain&quot;).getCurrentItem();&#xD;
self.get(&quot;parent&quot;).hide();&#xD;
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>
          <AutoFormElement>
            <Property name="name">cpbh</Property>
            <Property name="property">cpbh</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">jljgqybh</Property>
            <Property name="property">jljgqybh</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">jlppid</Property>
            <Property name="property">jlppid</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">jlppmc</Property>
            <Property name="property">jlppmc</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">cpmc</Property>
            <Property name="property">cpmc</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">pzdj</Property>
            <Property name="property">pzdj</Property>
            <Property name="trigger">listDropDJ</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">bzfsbm</Property>
            <Property name="property">bzfsbm</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">bzfsmc</Property>
            <Property name="property">bzfsmc</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">bzgg</Property>
            <Property name="property">bzgg</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">hsgg</Property>
            <Property name="property">hsgg</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">sccj</Property>
            <Property name="property">sccj</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">cplx</Property>
            <Property name="property">cplx</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">email</Property>
            <Property name="property">email</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">qq</Property>
            <Property name="property">qq</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">zzjgdmz</Property>
            <Property name="property">zzjgdmz</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">ybnsrzgz</Property>
            <Property name="property">ybnsrzgz</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">sjgzx</Property>
            <Property name="property">sjgzx</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">jlfwgs</Property>
            <Property name="property">jlfwgs</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">scxkz</Property>
            <Property name="property">scxkz</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">yyxx</Property>
            <Property name="property">yyxx</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>
            <Property name="trigger">listDropYN</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">whjlApi1203PR#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">whjlApi1203PR#delData</Property>
    </AjaxAction>
    <AjaxAction id="ajaxPush">
      <Property name="service">whjlApi1203PR#pushData</Property>
    </AjaxAction>
    <CustomDropDown id="cddGbArea">
      <Property name="assignmentMap">qyxzqhdm=code,qyxzqhmc=name</Property>
      <Property name="height">500</Property>
      <Property name="minHeight">500</Property>
      <Property name="maxHeight">500</Property>
      <Property name="width">400</Property>
      <Container layout="regionPadding:5">
        <DataSet id="dsGBArea">
          <Property name="dataProvider">gbAreaPR#findByCode</Property>
          <Property name="dataType">[dtGBArea]</Property>
        </DataSet>
        <Container layout="hbox regionPadding:5">
          <TextEditor id="key2">
            <Property name="blankText"> -- ç¼–码或者名称 --</Property>
            <Property name="width">200</Property>
          </TextEditor>
          <Button>
            <ClientEvent name="onClick">var key = view.get(&quot;#key2.value&quot;);&#xD;
view.get(&quot;#dsGBArea&quot;).set(&quot;parameter&quot;,{key:key}).flushAsync();</ClientEvent>
            <Property name="iconClass">fa fa-search</Property>
            <Property name="caption">查询</Property>
          </Button>
          <Button>
            <ClientEvent name="onClick">var data = view.get(&quot;#dsGBArea.data:#&quot;);&#xD;
if (data) {&#xD;
    view.get(&quot;#cddGbArea&quot;).close(data.toJSON());&#xD;
}</ClientEvent>
            <Property name="caption">确定</Property>
            <Property name="iconClass">fa fa-check</Property>
          </Button>
        </Container>
        <DataGrid>
          <ClientEvent name="onDataRowDoubleClick">var data = view.get(&quot;#dsGBArea.data:#&quot;);&#xD;
if(data){&#xD;
    view.get(&quot;#cddGbArea&quot;).close(data.toJSON());&#xD;
}</ClientEvent>
          <Property name="dataSet">dsGBArea</Property>
          <Property name="readOnly">true</Property>
          <DataColumn name="code">
            <Property name="property">code</Property>
          </DataColumn>
          <DataColumn name="name">
            <Property name="property">name</Property>
          </DataColumn>
        </DataGrid>
      </Container>
    </CustomDropDown>
    <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(&quot;parent&quot;).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="listDropDJ">
      <Property name="items">一级,二级,三级,四级,五级,其他</Property>
    </ListDropDown>
  </View>
</ViewConfig>
src/main/java/com/fzzy/otherview/whhpjl/dto/WhjlApi1106.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;
/**
 * @Author: YYC
 * @Description:
 * @DateTime: 2023-10-25 14:04
 **/
@Data
@EqualsAndHashCode(callSuper = false)
public class WhjlApi1106 implements Serializable {
    /**
     *
     */
    private static final long serialVersionUID = 1L;
    private String ygbh;//油罐编号
    private String jlqybh;//军粮企业编号
    private String jlqymc;//军粮企业名称
    private String jgzdbh;//军供站点编号
    private String jgzdmc;//军供站点名称
    private String ygmc;//油灌名称
    private String yglx;//油灌类型
    private String ykdj;//油灌等级
    private Double ygor;//油罐总容
    private Double ygzrd1;//油罐组容
    private String lxdh;//联系电话
    private Double cfjd;//仓房经度
    private Double cfwd;//仓房纬度
    @JSONField(format = "yyyy-MM-dd")
    private Date qyrq;//启用日期
    private String ygzt;//油罐状态
    private String ygsyzt;//油罐使用状态
    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/WhjlApi1201.java
@@ -1,9 +1,11 @@
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
@@ -62,4 +64,14 @@
    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/WhjlApi1202.java
@@ -1,9 +1,11 @@
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
@@ -29,4 +31,15 @@
    private String jlppmc; //军粮品牌名称
    private String jlppmcjc; //军粮品牌简称
    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/WhjlApi1203.java
@@ -72,4 +72,14 @@
    private String nscl; //年生产量
    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/pr/WhjlApi1106PR.java
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,154 @@
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.WhjlApi1106;
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: YYC
 * @Description:油罐信息
 * @DateTime: 2023-10-25 14:13
 **/
@Component
public class WhjlApi1106PR {
    @Autowired
    private ApiCommonService apiCommonService;
    @Autowired
    private ApiPushManager apiPushManager;
    @Autowired
    private ApiInfoDataRep apiInfoDataRep;
    /**
     * èŽ·å–åˆ—è¡¨ä¿¡æ¯
     * WhjlApi1106PR#listData
     *
     * @return
     */
    @DataProvider
    public List<WhjlApi1106> listData() {
        List<ApiInfoData> result = apiInfoDataRep.getDataByInteId(WhjlConstant.API_CODE_1106);
        if (null == result || result.isEmpty()) {
            return null;
        }
        List<WhjlApi1106> list = new ArrayList<>();
        WhjlApi1106 whjlApi1106;
        for (ApiInfoData infoData : result) {
            whjlApi1106 = JSONObject.parseObject(infoData.getData(), WhjlApi1106.class);
            whjlApi1106.setKqdm(infoData.getKqdm());
            whjlApi1106.setCzbz(infoData.getCzbz());
            whjlApi1106.setUpdateTime(infoData.getUpdateTime());
            whjlApi1106.setBizId(infoData.getDataId());
            list.add(whjlApi1106);
        }
        return list;
    }
    /**
     * æ›´æ–°æˆ–修改
     * WhjlApi1106PR#saveData
     *
     * @param data
     * @return
     */
    @DataResolver
    public void saveData(WhjlApi1106 data) {
        ApiInfoData infoData = new ApiInfoData();
        infoData.setId(data.getBizId());
        infoData.setKqdm(data.getKqdm());
        infoData.setInteType(WhjlConstant.API_CATEGORY_11);
        infoData.setInteId(WhjlConstant.API_CODE_1106);
        infoData.setUpdateTime(new Date());
        infoData.setDataId(data.getBizId());
        infoData.setData(JSON.toJSONString(data));
        infoData.setCzbz(data.getCzbz());
        infoData.setRemarks("备注信息");
        apiInfoDataRep.save(infoData);
    }
    /**
     * åˆ é™¤
     * WhjlApi1106PR#delData
     *
     * @param data
     * @return
     */
    @Expose
    public String delData(WhjlApi1106 data) {
        apiInfoDataRep.deleteById(data.getBizId());
        return null;
    }
    /**
     * ä¸Šä¼ 
     * WhjlApi1106PR#pushData
     *
     * @param items
     * @return
     */
    @Expose
    public String pushData(List<WhjlApi1106> 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_11, WhjlConstant.API_CODE_1106);
        //获取实现接口
        ApiRemoteService apiService = apiPushManager.getApiRemoteService(param.getPushProtocol());
        if (null == apiService) {
            return "系统没有当前推送协议配置,执行失败";
        }
        ResponseDto responseDto;
        ApiInfoData infoData;
        for (WhjlApi1106 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_11);
                    infoData.setInteId(WhjlConstant.API_CODE_1106);
                    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/WhjlApi1201PR.java
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,154 @@
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.WhjlApi1201;
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: YYC
 * @Description:副食供应商信息
 * @DateTime: 2023-10-25 14:13
 **/
@Component
public class WhjlApi1201PR {
    @Autowired
    private ApiCommonService apiCommonService;
    @Autowired
    private ApiPushManager apiPushManager;
    @Autowired
    private ApiInfoDataRep apiInfoDataRep;
    /**
     * èŽ·å–åˆ—è¡¨ä¿¡æ¯
     * WhjlApi1201PR#listData
     *
     * @return
     */
    @DataProvider
    public List<WhjlApi1201> listData() {
        List<ApiInfoData> result = apiInfoDataRep.getDataByInteId(WhjlConstant.API_CODE_1201);
        if (null == result || result.isEmpty()) {
            return null;
        }
        List<WhjlApi1201> list = new ArrayList<>();
        WhjlApi1201 whjlApi1201;
        for (ApiInfoData infoData : result) {
            whjlApi1201 = JSONObject.parseObject(infoData.getData(), WhjlApi1201.class);
            whjlApi1201.setKqdm(infoData.getKqdm());
            whjlApi1201.setCzbz(infoData.getCzbz());
            whjlApi1201.setUpdateTime(infoData.getUpdateTime());
            whjlApi1201.setBizId(infoData.getDataId());
            list.add(whjlApi1201);
        }
        return list;
    }
    /**
     * æ›´æ–°æˆ–修改
     * WhjlApi1201PR#saveData
     *
     * @param data
     * @return
     */
    @DataResolver
    public void saveData(WhjlApi1201 data) {
        ApiInfoData infoData = new ApiInfoData();
        infoData.setId(data.getBizId());
        infoData.setKqdm(data.getKqdm());
        infoData.setInteType(WhjlConstant.API_CATEGORY_12);
        infoData.setInteId(WhjlConstant.API_CODE_1201);
        infoData.setUpdateTime(new Date());
        infoData.setDataId(data.getBizId());
        infoData.setData(JSON.toJSONString(data));
        infoData.setCzbz(data.getCzbz());
        infoData.setRemarks("备注信息");
        apiInfoDataRep.save(infoData);
    }
    /**
     * åˆ é™¤
     * WhjlApi1201PR#delData
     *
     * @param data
     * @return
     */
    @Expose
    public String delData(WhjlApi1201 data) {
        apiInfoDataRep.deleteById(data.getBizId());
        return null;
    }
    /**
     * ä¸Šä¼ 
     * WhjlApi1201PR#pushData
     *
     * @param items
     * @return
     */
    @Expose
    public String pushData(List<WhjlApi1201> 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_1201);
        //获取实现接口
        ApiRemoteService apiService = apiPushManager.getApiRemoteService(param.getPushProtocol());
        if (null == apiService) {
            return "系统没有当前推送协议配置,执行失败";
        }
        ResponseDto responseDto;
        ApiInfoData infoData;
        for (WhjlApi1201 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_1201);
                    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/WhjlApi1202PR.java
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,154 @@
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.WhjlApi1202;
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: YYC
 * @Description:副食品牌信息
 * @DateTime: 2023-10-25 14:13
 **/
@Component
public class WhjlApi1202PR {
    @Autowired
    private ApiCommonService apiCommonService;
    @Autowired
    private ApiPushManager apiPushManager;
    @Autowired
    private ApiInfoDataRep apiInfoDataRep;
    /**
     * èŽ·å–åˆ—è¡¨ä¿¡æ¯
     * WhjlApi1202PR#listData
     *
     * @return
     */
    @DataProvider
    public List<WhjlApi1202> listData() {
        List<ApiInfoData> result = apiInfoDataRep.getDataByInteId(WhjlConstant.API_CODE_1202);
        if (null == result || result.isEmpty()) {
            return null;
        }
        List<WhjlApi1202> list = new ArrayList<>();
        WhjlApi1202 whjlApi1202;
        for (ApiInfoData infoData : result) {
            whjlApi1202 = JSONObject.parseObject(infoData.getData(), WhjlApi1202.class);
            whjlApi1202.setKqdm(infoData.getKqdm());
            whjlApi1202.setCzbz(infoData.getCzbz());
            whjlApi1202.setUpdateTime(infoData.getUpdateTime());
            whjlApi1202.setBizId(infoData.getDataId());
            list.add(whjlApi1202);
        }
        return list;
    }
    /**
     * æ›´æ–°æˆ–修改
     * WhjlApi1202PR#saveData
     *
     * @param data
     * @return
     */
    @DataResolver
    public void saveData(WhjlApi1202 data) {
        ApiInfoData infoData = new ApiInfoData();
        infoData.setId(data.getBizId());
        infoData.setKqdm(data.getKqdm());
        infoData.setInteType(WhjlConstant.API_CATEGORY_12);
        infoData.setInteId(WhjlConstant.API_CODE_1202);
        infoData.setUpdateTime(new Date());
        infoData.setDataId(data.getBizId());
        infoData.setData(JSON.toJSONString(data));
        infoData.setCzbz(data.getCzbz());
        infoData.setRemarks("备注信息");
        apiInfoDataRep.save(infoData);
    }
    /**
     * åˆ é™¤
     * WhjlApi1202PR#delData
     *
     * @param data
     * @return
     */
    @Expose
    public String delData(WhjlApi1202 data) {
        apiInfoDataRep.deleteById(data.getBizId());
        return null;
    }
    /**
     * ä¸Šä¼ 
     * WhjlApi1202PR#pushData
     *
     * @param items
     * @return
     */
    @Expose
    public String pushData(List<WhjlApi1202> 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_1202);
        //获取实现接口
        ApiRemoteService apiService = apiPushManager.getApiRemoteService(param.getPushProtocol());
        if (null == apiService) {
            return "系统没有当前推送协议配置,执行失败";
        }
        ResponseDto responseDto;
        ApiInfoData infoData;
        for (WhjlApi1202 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_1202);
                    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/WhjlApi1203PR.java
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,154 @@
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.WhjlApi1203;
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: YYC
 * @Description:副食产品信息
 * @DateTime: 2023-10-25 14:13
 **/
@Component
public class WhjlApi1203PR {
    @Autowired
    private ApiCommonService apiCommonService;
    @Autowired
    private ApiPushManager apiPushManager;
    @Autowired
    private ApiInfoDataRep apiInfoDataRep;
    /**
     * èŽ·å–åˆ—è¡¨ä¿¡æ¯
     * WhjlApi1203PR#listData
     *
     * @return
     */
    @DataProvider
    public List<WhjlApi1203> listData() {
        List<ApiInfoData> result = apiInfoDataRep.getDataByInteId(WhjlConstant.API_CODE_1203);
        if (null == result || result.isEmpty()) {
            return null;
        }
        List<WhjlApi1203> list = new ArrayList<>();
        WhjlApi1203 whjlApi1203;
        for (ApiInfoData infoData : result) {
            whjlApi1203 = JSONObject.parseObject(infoData.getData(), WhjlApi1203.class);
            whjlApi1203.setKqdm(infoData.getKqdm());
            whjlApi1203.setCzbz(infoData.getCzbz());
            whjlApi1203.setUpdateTime(infoData.getUpdateTime());
            whjlApi1203.setBizId(infoData.getDataId());
            list.add(whjlApi1203);
        }
        return list;
    }
    /**
     * æ›´æ–°æˆ–修改
     * WhjlApi1203PR#saveData
     *
     * @param data
     * @return
     */
    @DataResolver
    public void saveData(WhjlApi1203 data) {
        ApiInfoData infoData = new ApiInfoData();
        infoData.setId(data.getBizId());
        infoData.setKqdm(data.getKqdm());
        infoData.setInteType(WhjlConstant.API_CATEGORY_12);
        infoData.setInteId(WhjlConstant.API_CODE_1203);
        infoData.setUpdateTime(new Date());
        infoData.setDataId(data.getBizId());
        infoData.setData(JSON.toJSONString(data));
        infoData.setCzbz(data.getCzbz());
        infoData.setRemarks("备注信息");
        apiInfoDataRep.save(infoData);
    }
    /**
     * åˆ é™¤
     * WhjlApi1203PR#delData
     *
     * @param data
     * @return
     */
    @Expose
    public String delData(WhjlApi1203 data) {
        apiInfoDataRep.deleteById(data.getBizId());
        return null;
    }
    /**
     * ä¸Šä¼ 
     * WhjlApi1203PR#pushData
     *
     * @param items
     * @return
     */
    @Expose
    public String pushData(List<WhjlApi1203> 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_1203);
        //获取实现接口
        ApiRemoteService apiService = apiPushManager.getApiRemoteService(param.getPushProtocol());
        if (null == apiService) {
            return "系统没有当前推送协议配置,执行失败";
        }
        ResponseDto responseDto;
        ApiInfoData infoData;
        for (WhjlApi1203 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_1203);
                    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/resources/templates/home/home-whjl.html
@@ -124,31 +124,34 @@
                                <a lay-href="com.fzzy.otherview.whhpjl.WhjlApi1105.d">仓房信息</a>
                            </dd>
                            <dd>
                                <a lay-href="com.fzzy.otherview.whhpjl.WhjlApi1106.d">廒间信息</a>
                                <a lay-href="com.fzzy.otherview.whhpjl.WhjlApi1106.d">油罐信息</a>
                            </dd>
                            <dd>
                                <a lay-href="com.fzzy.otherview.whhpjl.WhjlApi1107.d">货位信息</a>
                                <a lay-href="com.fzzy.otherview.whhpjl.WhjlApi1107.d">廒间信息</a>
                            </dd>
                            <dd>
                                <a lay-href="com.fzzy.otherview.whhpjl.WhjlApi1108.d">仓储设施电子档案</a>
                                <a lay-href="com.fzzy.otherview.whhpjl.WhjlApi1108.d">货位信息</a>
                            </dd>
                            <dd>
                                <a lay-href="com.fzzy.otherview.whhpjl.WhjlApi1109.d">仓储设施维护记录</a>
                                <a lay-href="com.fzzy.otherview.whhpjl.WhjlApi1109.d">仓储设施电子档案</a>
                            </dd>
                            <dd>
                                <a lay-href="com.fzzy.otherview.whhpjl.WhjlApi1110.d">仓储设备报废记录</a>
                                <a lay-href="com.fzzy.otherview.whhpjl.WhjlApi1110.d">仓储设施维护记录</a>
                            </dd>
                            <dd>
                                <a lay-href="com.fzzy.otherview.whhpjl.WhjlApi1111.d">仓储设备信息</a>
                                <a lay-href="com.fzzy.otherview.whhpjl.WhjlApi1111.d">仓储设备报废记录</a>
                            </dd>
                            <dd>
                                <a lay-href="com.fzzy.otherview.whhpjl.WhjlApi1112.d">仓储设备维护记录</a>
                                <a lay-href="com.fzzy.otherview.whhpjl.WhjlApi1112.d">仓储设备信息</a>
                            </dd>
                            <dd>
                                <a lay-href="com.fzzy.otherview.whhpjl.WhjlApi1113.d">仓储设备维修记录</a>
                                <a lay-href="com.fzzy.otherview.whhpjl.WhjlApi1113.d">仓储设备维护记录</a>
                            </dd>
                            <dd>
                                <a lay-href="com.fzzy.otherview.whhpjl.WhjlApi1114.d">仓储设备报废记录</a>
                                <a lay-href="com.fzzy.otherview.whhpjl.WhjlApi1114.d">仓储设备维修记录</a>
                            </dd>
                            <dd>
                                <a lay-href="com.fzzy.otherview.whhpjl.WhjlApi1115.d">仓储设备报废记录</a>
                            </dd>
                        </dl>
                    </li>
@@ -163,6 +166,15 @@
                        </a>
                        <dl class="layui-nav-child">
                            <dd>
                                <a lay-href="com.fzzy.otherview.whhpjl.WhjlApi1201.d">副食供应商信息</a>
                            </dd>
                            <dd>
                                <a lay-href="com.fzzy.otherview.whhpjl.WhjlApi1202.d">副食品牌信息</a>
                            </dd>
                            <dd>
                                <a lay-href="com.fzzy.otherview.whhpjl.WhjlApi1203.d">副食产品信息</a>
                            </dd>
                            <dd>
                                <a lay-href="com.fzzy.otherview.whhpjl.WhjlApi1204.d">客户信息</a>
                            </dd>
                            <dd>