ws
2023-11-02 933e6001d6259dbedc2e9cc5246c514bdeaa5814
提交武汉接口1
已修改25个文件
已添加31个文件
6993 ■■■■■ 文件已修改
src/main/java/com/fzzy/otherview/whhpjl/WhjlApi1106.view.xml 129 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/fzzy/otherview/whhpjl/WhjlApi1109.view.xml 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/fzzy/otherview/whhpjl/WhjlApi1110.view.xml 5 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/fzzy/otherview/whhpjl/WhjlApi1113.view.xml 136 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/fzzy/otherview/whhpjl/WhjlApi1114.view.xml 172 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/fzzy/otherview/whhpjl/WhjlApi1201.view.xml 7 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/fzzy/otherview/whhpjl/WhjlApi1202.view.xml 7 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/fzzy/otherview/whhpjl/WhjlApi1203.view.xml 27 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/fzzy/otherview/whhpjl/WhjlApi1205.view.xml 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/fzzy/otherview/whhpjl/WhjlApi1207.view.xml 48 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/fzzy/otherview/whhpjl/WhjlApi1301.view.xml 493 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/fzzy/otherview/whhpjl/WhjlApi1302.view.xml 391 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/fzzy/otherview/whhpjl/WhjlApi1303.view.xml 343 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/fzzy/otherview/whhpjl/WhjlApi1304.view.xml 391 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/fzzy/otherview/whhpjl/WhjlApi1305.view.xml 494 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/fzzy/otherview/whhpjl/WhjlApi1306.view.xml 319 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/fzzy/otherview/whhpjl/WhjlApi1307.view.xml 371 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/fzzy/otherview/whhpjl/WhjlApi1308.view.xml 343 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/fzzy/otherview/whhpjl/WhjlApi1309.view.xml 371 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/fzzy/otherview/whhpjl/WhjlApi1412.view.xml 249 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/fzzy/otherview/whhpjl/WhjlApi1413.view.xml 458 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/fzzy/otherview/whhpjl/WhjlConstant.java 16 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/fzzy/otherview/whhpjl/dto/WhjlApi1113.java 7 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/fzzy/otherview/whhpjl/dto/WhjlApi1114.java 11 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/fzzy/otherview/whhpjl/dto/WhjlApi1206.java 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/fzzy/otherview/whhpjl/dto/WhjlApi1301.java 58 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/fzzy/otherview/whhpjl/dto/WhjlApi1302.java 68 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/fzzy/otherview/whhpjl/dto/WhjlApi1303.java 47 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/fzzy/otherview/whhpjl/dto/WhjlApi1304.java 14 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/fzzy/otherview/whhpjl/dto/WhjlApi1305.java 54 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/fzzy/otherview/whhpjl/dto/WhjlApi1306.java 42 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/fzzy/otherview/whhpjl/dto/WhjlApi1307.java 43 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/fzzy/otherview/whhpjl/dto/WhjlApi1308.java 43 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/fzzy/otherview/whhpjl/dto/WhjlApi1309.java 48 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/fzzy/otherview/whhpjl/dto/WhjlApi1412.java 33 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/fzzy/otherview/whhpjl/dto/WhjlApi1413.java 49 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/fzzy/otherview/whhpjl/dto/WhjlLXZBMX.java 23 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/fzzy/otherview/whhpjl/dto/WhjlWDZJH.java 25 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/fzzy/otherview/whhpjl/dto/WhjlWHJLZP.java 29 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/fzzy/otherview/whhpjl/dto/WhjlXDZJH.java 25 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/fzzy/otherview/whhpjl/pr/WhjlApi1112PR.java 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/fzzy/otherview/whhpjl/pr/WhjlApi1113PR.java 8 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/fzzy/otherview/whhpjl/pr/WhjlApi1114PR.java 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/fzzy/otherview/whhpjl/pr/WhjlApi1206PR.java 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/fzzy/otherview/whhpjl/pr/WhjlApi1301PR.java 156 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/fzzy/otherview/whhpjl/pr/WhjlApi1302PR.java 156 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/fzzy/otherview/whhpjl/pr/WhjlApi1303PR.java 156 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/fzzy/otherview/whhpjl/pr/WhjlApi1304PR.java 156 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/fzzy/otherview/whhpjl/pr/WhjlApi1305PR.java 156 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/fzzy/otherview/whhpjl/pr/WhjlApi1306PR.java 156 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/fzzy/otherview/whhpjl/pr/WhjlApi1307PR.java 156 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/fzzy/otherview/whhpjl/pr/WhjlApi1308PR.java 156 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/fzzy/otherview/whhpjl/pr/WhjlApi1309PR.java 156 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/fzzy/otherview/whhpjl/pr/WhjlApi1412PR.java 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/fzzy/otherview/whhpjl/pr/WhjlApi1413PR.java 157 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/resources/templates/home/home-whjl.html 23 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/fzzy/otherview/whhpjl/WhjlApi1106.view.xml
@@ -32,10 +32,66 @@
      <PropertyDef name="yglx">
        <Property></Property>
        <Property name="label">油灌类型</Property>
        <Property name="mapping">
          <Property name="mapValues">
            <Collection>
              <Entity>
                <Property name="key">501</Property>
                <Property name="value">立式油罐</Property>
              </Entity>
              <Entity>
                <Property name="key">502</Property>
                <Property name="value">卧式油罐</Property>
              </Entity>
              <Entity>
                <Property name="key">503</Property>
                <Property name="value">油槽(池)</Property>
              </Entity>
              <Entity>
                <Property name="key">504</Property>
                <Property name="value">地下油罐</Property>
              </Entity>
              <Entity>
                <Property name="key">505</Property>
                <Property name="value">其他</Property>
              </Entity>
            </Collection>
          </Property>
          <Property name="keyProperty">key</Property>
          <Property name="valueProperty">value</Property>
        </Property>
      </PropertyDef>
      <PropertyDef name="ykdj">
        <Property></Property>
        <Property name="label">油灌等级</Property>
        <Property name="mapping">
          <Property name="mapValues">
            <Collection>
              <Entity>
                <Property name="key">1</Property>
                <Property name="value">一级</Property>
              </Entity>
              <Entity>
                <Property name="key">2</Property>
                <Property name="value">二级</Property>
              </Entity>
              <Entity>
                <Property name="key">3</Property>
                <Property name="value">三级</Property>
              </Entity>
              <Entity>
                <Property name="key">4</Property>
                <Property name="value">四级</Property>
              </Entity>
              <Entity>
                <Property name="key">5</Property>
                <Property name="value">五级</Property>
              </Entity>
            </Collection>
          </Property>
          <Property name="keyProperty">key</Property>
          <Property name="valueProperty">value</Property>
        </Property>
      </PropertyDef>
      <PropertyDef name="ygor">
        <Property name="dataType">Double</Property>
@@ -64,10 +120,82 @@
      <PropertyDef name="ygzt">
        <Property></Property>
        <Property name="label">油罐状态</Property>
        <Property name="mapping">
          <Property name="mapValues">
            <Collection>
              <Entity>
                <Property name="key">1</Property>
                <Property name="value">完好</Property>
              </Entity>
              <Entity>
                <Property name="key">2</Property>
                <Property name="value">需小修</Property>
              </Entity>
              <Entity>
                <Property name="key">3</Property>
                <Property name="value">需大修</Property>
              </Entity>
              <Entity>
                <Property name="key">4</Property>
                <Property name="value">待报废</Property>
              </Entity>
              <Entity>
                <Property name="key">5</Property>
                <Property name="value">待拆除</Property>
              </Entity>
              <Entity>
                <Property name="key">6</Property>
                <Property name="value">长期闲置</Property>
              </Entity>
              <Entity>
                <Property name="key">9</Property>
                <Property name="value">其他</Property>
              </Entity>
            </Collection>
          </Property>
          <Property name="keyProperty">key</Property>
          <Property name="valueProperty">value</Property>
        </Property>
      </PropertyDef>
      <PropertyDef name="ygsyzt">
        <Property></Property>
        <Property name="label">油罐使用状态</Property>
        <Property name="mapping">
          <Property name="mapValues">
            <Collection>
              <Entity>
                <Property name="key">1</Property>
                <Property name="value">空仓</Property>
              </Entity>
              <Entity>
                <Property name="key">2</Property>
                <Property name="value">占用</Property>
              </Entity>
              <Entity>
                <Property name="key">3</Property>
                <Property name="value">满仓</Property>
              </Entity>
              <Entity>
                <Property name="key">4</Property>
                <Property name="value">入库中</Property>
              </Entity>
              <Entity>
                <Property name="key">5</Property>
                <Property name="value">出库中</Property>
              </Entity>
              <Entity>
                <Property name="key">6</Property>
                <Property name="value">ç»´ä¿®</Property>
              </Entity>
              <Entity>
                <Property name="key">9</Property>
                <Property name="value">其他</Property>
              </Entity>
            </Collection>
          </Property>
          <Property name="keyProperty">key</Property>
          <Property name="valueProperty">value</Property>
        </Property>
      </PropertyDef>
      <PropertyDef name="sfyx">
        <Property></Property>
@@ -367,6 +495,7 @@
          <AutoFormElement>
            <Property name="name">sfyx</Property>
            <Property name="property">sfyx</Property>
            <Property name="trigger">listDropYN</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
src/main/java/com/fzzy/otherview/whhpjl/WhjlApi1109.view.xml
@@ -302,6 +302,7 @@
          <AutoFormElement>
            <Property name="name">dalx</Property>
            <Property name="property">dalx</Property>
            <Property name="trigger">listDropDALX</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
@@ -366,5 +367,8 @@
    <ListDropDown id="listDropYN">
      <Property name="items">是,否</Property>
    </ListDropDown>
    <ListDropDown id="listDropDALX">
      <Property name="items">论证,建设,使用,维修保养,转让,改用,占用</Property>
    </ListDropDown>
  </View>
</ViewConfig>
src/main/java/com/fzzy/otherview/whhpjl/WhjlApi1110.view.xml
@@ -324,6 +324,7 @@
          <AutoFormElement>
            <Property name="name">jclx</Property>
            <Property name="property">jclx</Property>
            <Property name="trigger">listDropJCLX</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
@@ -430,8 +431,8 @@
      </Children>
      <Tools/>
    </Dialog>
    <ListDropDown id="listDropYN">
      <Property name="items">是,否</Property>
    <ListDropDown id="listDropJCLX">
      <Property name="items">日常监,随机抽查,突击检查</Property>
    </ListDropDown>
  </View>
</ViewConfig>
src/main/java/com/fzzy/otherview/whhpjl/WhjlApi1113.view.xml
@@ -7,88 +7,105 @@
      <Property name="creationType">com.fzzy.otherview.whhpjl.dto.WhjlApi1113</Property>
      <PropertyDef name="sbwhjlbh">
        <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="sbbh">
        <Property></Property>
        <Property name="label">设备编号</Property>
      </PropertyDef>
      <PropertyDef name="sbmc">
        <Property></Property>
        <Property name="label">设备名称</Property>
      </PropertyDef>
      <PropertyDef name="wbrq">
        <Property name="dataType">Date</Property>
        <Property name="label">维保日期</Property>
      </PropertyDef>
      <PropertyDef name="wbdw">
        <Property></Property>
        <Property name="label">维保单位</Property>
      </PropertyDef>
      <PropertyDef name="wbr">
        <Property></Property>
        <Property name="label">维保人</Property>
      </PropertyDef>
      <PropertyDef name="lxdh">
        <Property></Property>
        <Property name="label">联系电话</Property>
      </PropertyDef>
      <PropertyDef name="whlr">
        <Property></Property>
        <Property name="label">维护内容</Property>
      </PropertyDef>
      <PropertyDef name="whjl">
        <Property></Property>
        <Property name="label">维护记录</Property>
      </PropertyDef>
      <PropertyDef name="fxwt">
        <Property></Property>
        <Property name="label">发现问题</Property>
      </PropertyDef>
      <PropertyDef name="jjcs">
        <Property></Property>
        <Property name="label">解决措施</Property>
      </PropertyDef>
      <PropertyDef name="xcwbrq">
        <Property name="dataType">Date</Property>
        <Property name="label">下次维保日期</Property>
      </PropertyDef>
      <PropertyDef name="ysr">
        <Property></Property>
        <Property name="label">验收人</Property>
      </PropertyDef>
      <PropertyDef name="whjy">
        <Property></Property>
      </PropertyDef>
      <PropertyDef name="whjlzp">
        <Property></Property>
        <Property name="label">维护建议</Property>
      </PropertyDef>
      <PropertyDef name="bz">
        <Property></Property>
      </PropertyDef>
      <PropertyDef name="zpid">
        <Property></Property>
      </PropertyDef>
      <PropertyDef name="zpmc">
        <Property></Property>
      </PropertyDef>
      <PropertyDef name="zplj">
        <Property></Property>
      </PropertyDef>
      <PropertyDef name="zpdx">
        <Property></Property>
        <Property name="label">备注</Property>
      </PropertyDef>
      <PropertyDef name="bizId">
        <Property></Property>
        <Property name="label">业务ID</Property>
      </PropertyDef>
      <PropertyDef name="updateTime">
        <Property name="dataType">Date</Property>
        <Property name="label">最后更新时间</Property>
      </PropertyDef>
      <PropertyDef name="czbz">
        <Property></Property>
        <Property name="label">操作标志</Property>
        <Property name="mapping">
          <Property name="mapValues">${dorado.getDataProvider(&quot;apiTriggerService#trigger&quot;).getResult(&quot;CZBZ&quot;)}</Property>
          <Property name="keyProperty">code</Property>
          <Property name="valueProperty">name</Property>
        </Property>
      </PropertyDef>
      <PropertyDef name="kqdm">
        <Property></Property>
        <Property name="label">库区代码</Property>
      </PropertyDef>
      <Reference name="whjlzp">
        <Property name="label">维护记录照片</Property>
        <Property name="dataType">[dtWhjlzp]</Property>
      </Reference>
    </DataType>
    <DataType name="dtParam">
      <Property name="creationType">com.fzzy.api.data.ApiParam</Property>
@@ -114,12 +131,32 @@
        </Property>
      </PropertyDef>
    </DataType>
    <DataType name="dtWhjlzp">
      <Property name="creationType">com.fzzy.otherview.whhpjl.dto.WhjlWHJLZP</Property>
      <PropertyDef name="zpid">
        <Property/>
        <Property name="label">照片id</Property>
      </PropertyDef>
      <PropertyDef name="zpmc">
        <Property/>
        <Property name="label">照片名称</Property>
      </PropertyDef>
      <PropertyDef name="zplj">
        <Property/>
        <Property name="label">照片路径</Property>
      </PropertyDef>
      <PropertyDef name="zpdx">
        <Property name="dataType">Integer</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">whjlApi1113PR#listData</Property>
      <Property name="pageSize">20</Property>
    </DataSet>
    <DataSet id="dsQuery">
      <ClientEvent name="onReady">self.insert();</ClientEvent>
@@ -260,6 +297,7 @@
      <Property name="closeable">false</Property>
      <Property name="iconClass">fa fa-sliders</Property>
      <Property name="caption">货位信息</Property>
      <Property name="height">80%</Property>
      <Buttons>
        <Button>
          <ClientEvent name="onClick">var cur = view.get(&quot;#dgMain&quot;).getCurrentItem();&#xD;
@@ -377,33 +415,8 @@
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">whjlzp</Property>
            <Property name="property">whjlzp</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">bz</Property>
            <Property name="property">bz</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">zpid</Property>
            <Property name="property">zpid</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">zpmc</Property>
            <Property name="property">zpmc</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">zplj</Property>
            <Property name="property">zplj</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">zpdx</Property>
            <Property name="property">zpdx</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
@@ -427,6 +440,49 @@
            <Editor/>
          </AutoFormElement>
        </AutoForm>
        <Panel>
          <Property name="caption">设备维护记录照片</Property>
          <Property name="height">80%</Property>
          <Buttons/>
          <Children>
            <Container layout="regionPadding:10">
              <Label layoutConstraint="left">
                <Property name="text">菜单栏:</Property>
              </Label>
              <Button layoutConstraint="left">
                <ClientEvent name="onClick">var list = view.get(&quot;#dsMain.data:#&quot;).get(&quot;whjlzp&quot;);&#xD;
list.insert({});</ClientEvent>
                <Property name="caption">新增</Property>
                <Property name="exClassName">btn-default</Property>
                <Property name="iconClass">fa fa-plus</Property>
              </Button>
              <Button layoutConstraint="left">
                <ClientEvent name="onClick">var data = view.get(&quot;#dgWhjlzp.currentEntity&quot;);&#xD;
data.remove();</ClientEvent>
                <Property name="caption">删除</Property>
                <Property name="exClassName">btn-warn</Property>
                <Property name="iconClass">fa fa-minus</Property>
              </Button>
            </Container>
            <DataGrid id="dgWhjlzp">
              <Property name="dataPath">#.whjlzp</Property>
              <Property name="dataSet">dsMain</Property>
              <DataColumn name="zpid">
                <Property name="property">zpid</Property>
              </DataColumn>
              <DataColumn name="zpmc">
                <Property name="property">zpmc</Property>
              </DataColumn>
              <DataColumn name="zplj">
                <Property name="property">zplj</Property>
              </DataColumn>
              <DataColumn name="zpdx">
                <Property name="property">zpdx</Property>
              </DataColumn>
            </DataGrid>
          </Children>
          <Tools/>
        </Panel>
      </Children>
      <Tools/>
    </Dialog>
src/main/java/com/fzzy/otherview/whhpjl/WhjlApi1114.view.xml
@@ -6,70 +6,73 @@
    <DataType name="dtMain">
      <Property name="creationType">com.fzzy.otherview.whhpjl.dto.WhjlApi1114</Property>
      <PropertyDef name="sbwxjlbh">
        <Property/>
        <Property name="label">设备维修记录编号</Property>
        <Property></Property>
        <Property name="label">维修记录编号</Property>
      </PropertyDef>
      <PropertyDef name="jlqybh">
        <Property/>
        <Property></Property>
        <Property name="label">军粮企业编号</Property>
      </PropertyDef>
      <PropertyDef name="jlqymc">
        <Property/>
        <Property></Property>
        <Property name="label">军粮企业名称</Property>
      </PropertyDef>
      <PropertyDef name="jgzdbh">
        <Property/>
        <Property></Property>
        <Property name="label">军供站点编号</Property>
      </PropertyDef>
      <PropertyDef name="jgzdmc">
        <Property/>
        <Property></Property>
        <Property name="label">军供站点名称</Property>
      </PropertyDef>
      <PropertyDef name="sbbh">
        <Property/>
        <Property></Property>
        <Property name="label">设备编号</Property>
      </PropertyDef>
      <PropertyDef name="sbmc">
        <Property/>
        <Property></Property>
        <Property name="label">设备名称</Property>
      </PropertyDef>
      <PropertyDef name="wxkssj">
        <Property/>
        <Property></Property>
        <Property name="label">开始维修时间</Property>
        <Property name="dataType">Date</Property>
      </PropertyDef>
      <PropertyDef name="wxjssj">
        <Property/>
        <Property></Property>
        <Property name="label">结束维修时间</Property>
        <Property name="dataType">Date</Property>
      </PropertyDef>
      <PropertyDef name="wxdw">
        <Property/>
        <Property></Property>
        <Property name="label">维修单位</Property>
      </PropertyDef>
      <PropertyDef name="lxr">
        <Property/>
        <Property></Property>
        <Property name="label">联系人</Property>
      </PropertyDef>
      <PropertyDef name="lxdh">
        <Property/>
        <Property></Property>
        <Property name="label">联系电话</Property>
      </PropertyDef>
      <PropertyDef name="gzxx">
        <Property/>
        <Property></Property>
        <Property name="label">故障现象</Property>
      </PropertyDef>
      <PropertyDef name="gzyy">
        <Property/>
        <Property></Property>
        <Property name="label">故障原因</Property>
      </PropertyDef>
      <PropertyDef name="wxff">
        <Property/>
        <Property></Property>
        <Property name="label">维修方法</Property>
      </PropertyDef>
      <PropertyDef name="gxpjxx">
        <Property/>
        <Property></Property>
        <Property name="label">更新配件信息</Property>
      </PropertyDef>
      <PropertyDef name="wxhyxzt">
        <Property/>
        <Property></Property>
        <Property name="label">维修后运行状态</Property>
      </PropertyDef>
      <PropertyDef name="sysj">
@@ -77,43 +80,23 @@
        <Property name="label">试用时间</Property>
      </PropertyDef>
      <PropertyDef name="wxfy">
        <Property/>
        <Property></Property>
        <Property name="label">维修费用</Property>
      </PropertyDef>
      <PropertyDef name="ysr">
        <Property/>
        <Property></Property>
        <Property name="label">验收人</Property>
      </PropertyDef>
      <PropertyDef name="jl">
        <Property/>
        <Property></Property>
        <Property name="label">结论</Property>
      </PropertyDef>
      <PropertyDef name="wxjlzp">
        <Property/>
        <Property name="label">维护记录照片</Property>
      </PropertyDef>
      <PropertyDef name="bz">
        <Property/>
        <Property></Property>
        <Property name="label">备注</Property>
      </PropertyDef>
      <PropertyDef name="zpid">
        <Property/>
        <Property name="label">照片id</Property>
      </PropertyDef>
      <PropertyDef name="zpmc">
        <Property/>
        <Property name="label">照片名称</Property>
      </PropertyDef>
      <PropertyDef name="zplj">
        <Property/>
        <Property name="label">照片路径</Property>
      </PropertyDef>
      <PropertyDef name="zpdx">
        <Property name="dataType">int</Property>
        <Property name="label">照片大小</Property>
      </PropertyDef>
      <PropertyDef name="bizId">
        <Property/>
        <Property></Property>
        <Property name="label">业务ID</Property>
      </PropertyDef>
      <PropertyDef name="updateTime">
@@ -121,13 +104,22 @@
        <Property name="label">最后更新时间</Property>
      </PropertyDef>
      <PropertyDef name="czbz">
        <Property/>
        <Property></Property>
        <Property name="label">操作标志</Property>
        <Property name="mapping">
          <Property name="mapValues">${dorado.getDataProvider(&quot;apiTriggerService#trigger&quot;).getResult(&quot;CZBZ&quot;)}</Property>
          <Property name="keyProperty">code</Property>
          <Property name="valueProperty">name</Property>
        </Property>
      </PropertyDef>
      <PropertyDef name="kqdm">
        <Property/>
        <Property></Property>
        <Property name="label">库区代码</Property>
      </PropertyDef>
      <Reference name="whjlzp">
        <Property name="label">维护记录照片</Property>
        <Property name="dataType">[dtWhjlzp]</Property>
      </Reference>
    </DataType>
    <DataType name="dtParam">
      <Property name="creationType">com.fzzy.api.data.ApiParam</Property>
@@ -153,13 +145,32 @@
        </Property>
      </PropertyDef>
    </DataType>
    <DataType name="dtWhjlzp">
      <Property name="creationType">com.fzzy.otherview.whhpjl.dto.WhjlWHJLZP</Property>
      <PropertyDef name="zpid">
        <Property/>
        <Property name="label">照片id</Property>
      </PropertyDef>
      <PropertyDef name="zpmc">
        <Property/>
        <Property name="label">照片名称</Property>
      </PropertyDef>
      <PropertyDef name="zplj">
        <Property/>
        <Property name="label">照片路径</Property>
      </PropertyDef>
      <PropertyDef name="zpdx">
        <Property name="dataType">Integer</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">whjlApi1114PR#listData</Property>
      <Property name="parameter">20</Property>
      <Property name="pageSize">20</Property>
    </DataSet>
    <DataSet id="dsQuery">
      <ClientEvent name="onReady">self.insert();</ClientEvent>
@@ -306,6 +317,7 @@
      <Property name="closeable">false</Property>
      <Property name="iconClass">fa fa-sliders</Property>
      <Property name="caption">货位信息</Property>
      <Property name="height">80%</Property>
      <Buttons>
        <Button>
          <ClientEvent name="onClick">var cur = view.get(&quot;#dgMain&quot;).getCurrentItem();&#xD;
@@ -438,33 +450,8 @@
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">wxjlzp</Property>
            <Property name="property">wxjlzp</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">bz</Property>
            <Property name="property">bz</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">zpid</Property>
            <Property name="property">zpid</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">zpmc</Property>
            <Property name="property">zpmc</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">zplj</Property>
            <Property name="property">zplj</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">zpdx</Property>
            <Property name="property">zpdx</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
@@ -488,6 +475,49 @@
            <Editor/>
          </AutoFormElement>
        </AutoForm>
        <Panel>
          <Property name="caption">设备维护记录照片</Property>
          <Property name="height">80%</Property>
          <Buttons/>
          <Children>
            <Container layout="regionPadding:10">
              <Label layoutConstraint="left">
                <Property name="text">菜单栏:</Property>
              </Label>
              <Button layoutConstraint="left">
                <ClientEvent name="onClick">var list = view.get(&quot;#dsMain.data:#&quot;).get(&quot;whjlzp&quot;);&#xD;
list.insert({});</ClientEvent>
                <Property name="caption">新增</Property>
                <Property name="exClassName">btn-default</Property>
                <Property name="iconClass">fa fa-plus</Property>
              </Button>
              <Button layoutConstraint="left">
                <ClientEvent name="onClick">var data = view.get(&quot;#dgWhjlzp.currentEntity&quot;);&#xD;
data.remove();</ClientEvent>
                <Property name="caption">删除</Property>
                <Property name="exClassName">btn-warn</Property>
                <Property name="iconClass">fa fa-minus</Property>
              </Button>
            </Container>
            <DataGrid id="dgWhjlzp">
              <Property name="dataPath">#.whjlzp</Property>
              <Property name="dataSet">dsMain</Property>
              <DataColumn name="zpid">
                <Property name="property">zpid</Property>
              </DataColumn>
              <DataColumn name="zpmc">
                <Property name="property">zpmc</Property>
              </DataColumn>
              <DataColumn name="zplj">
                <Property name="property">zplj</Property>
              </DataColumn>
              <DataColumn name="zpdx">
                <Property name="property">zpdx</Property>
              </DataColumn>
            </DataGrid>
          </Children>
          <Tools/>
        </Panel>
      </Children>
      <Tools/>
    </Dialog>
src/main/java/com/fzzy/otherview/whhpjl/WhjlApi1201.view.xml
@@ -186,6 +186,11 @@
      <PropertyDef name="czbz">
        <Property></Property>
        <Property name="label">操作标志</Property>
        <Property name="mapping">
          <Property name="mapValues">${dorado.getDataProvider(&quot;apiTriggerService#trigger&quot;).getResult(&quot;CZBZ&quot;)}</Property>
          <Property name="keyProperty">code</Property>
          <Property name="valueProperty">name</Property>
        </Property>
      </PropertyDef>
      <PropertyDef name="kqdm">
        <Property></Property>
@@ -421,7 +426,7 @@
      <Property name="width">85%</Property>
      <Property name="closeable">false</Property>
      <Property name="iconClass">fa fa-sliders</Property>
      <Property name="caption">军粮企业信息</Property>
      <Property name="caption">副食供应商信息</Property>
      <Property name="height">85%</Property>
      <Buttons>
        <Button>
src/main/java/com/fzzy/otherview/whhpjl/WhjlApi1202.view.xml
@@ -56,6 +56,11 @@
      <PropertyDef name="czbz">
        <Property></Property>
        <Property name="label">操作标志</Property>
        <Property name="mapping">
          <Property name="mapValues">${dorado.getDataProvider(&quot;apiTriggerService#trigger&quot;).getResult(&quot;CZBZ&quot;)}</Property>
          <Property name="keyProperty">code</Property>
          <Property name="valueProperty">name</Property>
        </Property>
      </PropertyDef>
      <PropertyDef name="kqdm">
        <Property></Property>
@@ -228,7 +233,7 @@
      <Property name="width">85%</Property>
      <Property name="closeable">false</Property>
      <Property name="iconClass">fa fa-sliders</Property>
      <Property name="caption">军粮企业信息</Property>
      <Property name="caption">副食品牌信息</Property>
      <Buttons>
        <Button>
          <ClientEvent name="onClick">var cur = view.get(&quot;#dgMain&quot;).getCurrentItem();&#xD;
src/main/java/com/fzzy/otherview/whhpjl/WhjlApi1203.view.xml
@@ -104,6 +104,26 @@
      <PropertyDef name="jldwbm">
        <Property></Property>
        <Property name="label">计量单位编号</Property>
        <Property name="mapping">
          <Property name="mapValues">
            <Collection>
              <Entity>
                <Property name="key">11</Property>
                <Property name="value">11-吨</Property>
              </Entity>
              <Entity>
                <Property name="key">12</Property>
                <Property name="value">12-千克</Property>
              </Entity>
              <Entity>
                <Property name="key">13</Property>
                <Property name="value">13-升</Property>
              </Entity>
            </Collection>
          </Property>
          <Property name="keyProperty">key</Property>
          <Property name="valueProperty">value</Property>
        </Property>
      </PropertyDef>
      <PropertyDef name="jldwmc">
        <Property></Property>
@@ -263,6 +283,11 @@
      <PropertyDef name="czbz">
        <Property></Property>
        <Property name="label">操作标志</Property>
        <Property name="mapping">
          <Property name="mapValues">${dorado.getDataProvider(&quot;apiTriggerService#trigger&quot;).getResult(&quot;CZBZ&quot;)}</Property>
          <Property name="keyProperty">code</Property>
          <Property name="valueProperty">name</Property>
        </Property>
      </PropertyDef>
      <PropertyDef name="kqdm">
        <Property></Property>
@@ -450,7 +475,7 @@
      <Property name="width">85%</Property>
      <Property name="closeable">false</Property>
      <Property name="iconClass">fa fa-sliders</Property>
      <Property name="caption">军粮企业信息</Property>
      <Property name="caption">副食产品信息</Property>
      <Property name="height">85%</Property>
      <Buttons>
        <Button>
src/main/java/com/fzzy/otherview/whhpjl/WhjlApi1205.view.xml
@@ -463,6 +463,7 @@
          <AutoFormElement>
            <Property name="name">sfyx</Property>
            <Property name="property">sfyx</Property>
            <Property name="trigger">listDropYN</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
src/main/java/com/fzzy/otherview/whhpjl/WhjlApi1207.view.xml
@@ -52,6 +52,42 @@
      <PropertyDef name="lspzbm">
        <Property></Property>
        <Property name="label">品种编号</Property>
        <Property name="mapping">
          <Property name="mapValues">
            <Collection>
              <Entity>
                <Property name="key">1</Property>
                <Property name="value">大米</Property>
              </Entity>
              <Entity>
                <Property name="key">2</Property>
                <Property name="value">小麦粉</Property>
              </Entity>
              <Entity>
                <Property name="key">3</Property>
                <Property name="value">食用油</Property>
              </Entity>
              <Entity>
                <Property name="key">4</Property>
                <Property name="value">肉</Property>
              </Entity>
              <Entity>
                <Property name="key">5</Property>
                <Property name="value">禽</Property>
              </Entity>
              <Entity>
                <Property name="key">6</Property>
                <Property name="value">蛋</Property>
              </Entity>
              <Entity>
                <Property name="key">9</Property>
                <Property name="value">奶</Property>
              </Entity>
            </Collection>
          </Property>
          <Property name="keyProperty">key</Property>
          <Property name="valueProperty">value</Property>
        </Property>
      </PropertyDef>
      <PropertyDef name="lspzmc">
        <Property></Property>
@@ -176,6 +212,11 @@
      <PropertyDef name="czbz">
        <Property></Property>
        <Property name="label">操作标志</Property>
        <Property name="mapping">
          <Property name="mapValues">${dorado.getDataProvider(&quot;apiTriggerService#trigger&quot;).getResult(&quot;CZBZ&quot;)}</Property>
          <Property name="keyProperty">code</Property>
          <Property name="valueProperty">name</Property>
        </Property>
      </PropertyDef>
      <PropertyDef name="kqdm">
        <Property></Property>
@@ -292,6 +333,7 @@
        </DataColumn>
        <DataColumn name="cfbh">
          <Property name="property">cfbh</Property>
          <Property
        </DataColumn>
        <DataColumn name="jldwmc">
          <Property name="property">jldwmc</Property>
@@ -615,5 +657,11 @@
    <ListDropDown id="listDropLX">
      <Property name="items">军粮供应合同,副食供应合同</Property>
    </ListDropDown>
    <ListDropDown id="listDropFS">
      <Property name="items">直储,代储</Property>
    </ListDropDown>
    <ListDropDown id="listDropZT">
      <Property name="items">启用,停用</Property>
    </ListDropDown>
  </View>
</ViewConfig>
src/main/java/com/fzzy/otherview/whhpjl/WhjlApi1301.view.xml
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,493 @@
<?xml version="1.0" encoding="UTF-8"?>
<ViewConfig>
  <Arguments/>
  <Context/>
  <Model>
    <DataType name="dtMain">
      <Property name="creationType">com.fzzy.otherview.whhpjl.dto.WhjlApi1301</Property>
      <PropertyDef name="lqjcid">
        <Property/>
        <Property name="label">粮情检测id</Property>
      </PropertyDef>
      <PropertyDef name="jlqybh">
        <Property/>
        <Property name="label">军粮企业编号</Property>
      </PropertyDef>
      <PropertyDef name="ssqymc">
        <Property/>
        <Property name="label">军粮企业名称</Property>
      </PropertyDef>
      <PropertyDef name="jgzdbh">
        <Property/>
        <Property name="label">军供站点编号</Property>
      </PropertyDef>
      <PropertyDef name="jgzdmc">
        <Property/>
        <Property name="label">军供站点名称</Property>
      </PropertyDef>
      <PropertyDef name="cfbh">
        <Property/>
        <Property name="label">仓房编号</Property>
      </PropertyDef>
      <PropertyDef name="sscfmc">
        <Property/>
        <Property name="label">仓房名称</Property>
      </PropertyDef>
      <PropertyDef name="ajbh">
        <Property/>
        <Property name="label">廒间编号</Property>
      </PropertyDef>
      <PropertyDef name="ajmc">
        <Property/>
        <Property name="label">廒间名称</Property>
      </PropertyDef>
      <PropertyDef name="jcsj">
        <Property/>
        <Property name="label">检测时间</Property>
        <Property name="dataType">Date</Property>
      </PropertyDef>
      <PropertyDef name="cw">
        <Property name="dataType">double</Property>
        <Property name="label">仓温</Property>
      </PropertyDef>
      <PropertyDef name="sw">
        <Property name="dataType">double</Property>
        <Property name="label">仓湿</Property>
      </PropertyDef>
      <PropertyDef name="ww">
        <Property name="dataType">double</Property>
        <Property name="label">外温</Property>
      </PropertyDef>
      <PropertyDef name="ws">
        <Property name="dataType">double</Property>
        <Property name="label">外湿</Property>
      </PropertyDef>
      <PropertyDef name="pjlw">
        <Property name="dataType">double</Property>
        <Property name="label">平均粮温</Property>
      </PropertyDef>
      <PropertyDef name="zglw">
        <Property name="dataType">double</Property>
        <Property name="label">最高粮温</Property>
      </PropertyDef>
      <PropertyDef name="zdlw">
        <Property name="dataType">double</Property>
        <Property name="label">最低粮温</Property>
      </PropertyDef>
      <PropertyDef name="pjlx">
        <Property name="dataType">double</Property>
        <Property name="label">平均粮湿</Property>
      </PropertyDef>
      <PropertyDef name="zglx">
        <Property name="dataType">double</Property>
        <Property name="label">最高粮湿</Property>
      </PropertyDef>
      <PropertyDef name="zdlx">
        <Property name="dataType">double</Property>
        <Property name="label">最低粮湿</Property>
      </PropertyDef>
      <PropertyDef name="jcjg">
        <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>
      <Reference name="wdzjh">
        <Property name="label">温度值集合</Property>
        <Property name="dataType">[dtWdzjh]</Property>
      </Reference>
      <Reference name="xdzjh">
        <Property name="label">湿度值集合</Property>
        <Property name="dataType">[dtXdzjh]</Property>
      </Reference>
      <Reference name="kctzid">
        <Property name="label">库存台账ID集合</Property>
      </Reference>
    </DataType>
    <DataType name="dtWdzjh">
      <Property name="creationType">com.fzzy.otherview.whhpjl.dto.WhjlWDZJH</Property>
      <PropertyDef name="sxh">
        <Property/>
        <Property name="label">顺序号</Property>
      </PropertyDef>
      <PropertyDef name="wdz">
        <Property name="dataType">double</Property>
        <Property name="label">温度值</Property>
      </PropertyDef>
      <PropertyDef name="hwbh">
        <Property/>
        <Property name="label">货位编号</Property>
      </PropertyDef>
      <PropertyDef name="jcjg">
        <Property/>
        <Property name="label">检测结果</Property>
      </PropertyDef>
    </DataType>
    <DataType name="dtXdzjh">
      <Property name="creationType">com.fzzy.otherview.whhpjl.dto.WhjlXDZJH</Property>
      <PropertyDef name="sxh">
        <Property/>
        <Property name="label">顺序号</Property>
      </PropertyDef>
      <PropertyDef name="sdz">
        <Property name="dataType">double</Property>
        <Property name="label">湿度值</Property>
      </PropertyDef>
      <PropertyDef name="hwbh">
        <Property/>
        <Property name="label">货位编号</Property>
      </PropertyDef>
      <PropertyDef name="jcjg">
        <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">whjlApi1301PR#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="lqjcid">
          <Property name="property">lqjcid</Property>
        </DataColumn>
        <DataColumn name="jlqybh">
          <Property name="property">jlqybh</Property>
        </DataColumn>
        <DataColumn name="ssqymc">
          <Property name="property">ssqymc</Property>
        </DataColumn>
        <DataColumn name="jgzdbh">
          <Property name="property">jgzdbh</Property>
        </DataColumn>
        <DataColumn name="jgzdmc">
          <Property name="property">jgzdmc</Property>
        </DataColumn>
        <DataColumn name="cfbh">
          <Property name="property">cfbh</Property>
        </DataColumn>
        <DataColumn name="sscfmc">
          <Property name="property">sscfmc</Property>
        </DataColumn>
        <DataColumn name="ajbh">
          <Property name="property">ajbh</Property>
        </DataColumn>
        <DataColumn name="ajmc">
          <Property name="property">ajmc</Property>
        </DataColumn>
        <DataColumn name="jcsj">
          <Property name="property">jcsj</Property>
        </DataColumn>
        <DataColumn name="cw">
          <Property name="property">cw</Property>
        </DataColumn>
        <DataColumn name="sw">
          <Property name="property">sw</Property>
        </DataColumn>
        <DataColumn name="ww">
          <Property name="property">ww</Property>
        </DataColumn>
        <DataColumn name="ws">
          <Property name="property">ws</Property>
        </DataColumn>
        <DataColumn name="pjlw">
          <Property name="property">pjlw</Property>
        </DataColumn>
        <DataColumn name="zglw">
          <Property name="property">zglw</Property>
        </DataColumn>
        <DataColumn name="zdlw">
          <Property name="property">zdlw</Property>
        </DataColumn>
        <DataColumn name="pjlx">
          <Property name="property">pjlx</Property>
        </DataColumn>
        <DataColumn name="zglx">
          <Property name="property">zglx</Property>
        </DataColumn>
        <DataColumn name="zdlx">
          <Property name="property">zdlx</Property>
        </DataColumn>
        <DataColumn name="jcjg">
          <Property name="property">jcjg</Property>
        </DataColumn>
        <DataColumn name="bizId">
          <Property name="property">bizId</Property>
        </DataColumn>
        <DataColumn name="updateTime">
          <Property name="property">updateTime</Property>
        </DataColumn>
        <DataColumn name="czbz">
          <Property name="property">czbz</Property>
        </DataColumn>
        <DataColumn name="kqdm">
          <Property name="property">kqdm</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>
          <Property name="labelAlign">left</Property>
        </AutoForm>
        <Panel>
          <Property name="caption">温度值集合</Property>
          <Property name="height">80%</Property>
          <Buttons/>
          <Children>
            <Container layout="regionPadding:10">
              <Label layoutConstraint="left">
                <Property name="text">菜单栏:</Property>
              </Label>
              <Button layoutConstraint="left">
                <ClientEvent name="onClick">var list = view.get(&quot;#dsMain.data:#&quot;).get(&quot;jcbgfjmx&quot;);&#xD;
list.insert({});</ClientEvent>
                <Property name="caption">新增</Property>
                <Property name="exClassName">btn-default</Property>
                <Property name="iconClass">fa fa-plus</Property>
              </Button>
              <Button layoutConstraint="left">
                <ClientEvent name="onClick">var data = view.get(&quot;#dgLink.currentEntity&quot;);&#xD;
data.remove();</ClientEvent>
                <Property name="caption">删除</Property>
                <Property name="exClassName">btn-warn</Property>
                <Property name="iconClass">fa fa-minus</Property>
              </Button>
            </Container>
            <DataGrid id="dgWdzjh">
              <Property name="dataPath">#.wdzjh</Property>
              <Property name="dataSet">dsMain</Property>
              <DataColumn name="sxh">
                <Property name="property">sxh</Property>
              </DataColumn>
              <DataColumn name="wdz">
                <Property name="property">wdz</Property>
              </DataColumn>
              <DataColumn name="hwbh">
                <Property name="property">hwbh</Property>
              </DataColumn>
              <DataColumn name="jcjg">
                <Property name="property">jcjg</Property>
              </DataColumn>
            </DataGrid>
          </Children>
          <Tools/>
        </Panel>
        <Panel>
          <Property name="caption">湿度值集合</Property>
          <Property name="height">80%</Property>
          <Buttons/>
          <Children>
            <Container layout="regionPadding:10">
              <Label layoutConstraint="left">
                <Property name="text">菜单栏:</Property>
              </Label>
              <Button layoutConstraint="left">
                <ClientEvent name="onClick">var list = view.get(&quot;#dsMain.data:#&quot;).get(&quot;jcbgfjmx&quot;);&#xD;
list.insert({});</ClientEvent>
                <Property name="caption">新增</Property>
                <Property name="exClassName">btn-default</Property>
                <Property name="iconClass">fa fa-plus</Property>
              </Button>
              <Button layoutConstraint="left">
                <ClientEvent name="onClick">var data = view.get(&quot;#dgLink.currentEntity&quot;);&#xD;
data.remove();</ClientEvent>
                <Property name="caption">删除</Property>
                <Property name="exClassName">btn-warn</Property>
                <Property name="iconClass">fa fa-minus</Property>
              </Button>
            </Container>
            <DataGrid id="dgLink">
              <Property name="dataPath">#.xdzjh</Property>
              <Property name="dataSet">dsMain</Property>
              <DataColumn name="jybgwjid">
                <Property name="property">jybgwjid</Property>
              </DataColumn>
              <DataColumn name="qklwjdz">
                <Property name="property">qklwjdz</Property>
              </DataColumn>
            </DataGrid>
          </Children>
          <Tools/>
        </Panel>
      </Children>
      <Tools/>
    </Dialog>
    <UpdateAction id="updateSave">
      <Property name="dataResolver">whjlApi1301PR#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">whjlApi1301PR#delData</Property>
    </AjaxAction>
    <AjaxAction id="ajaxPush">
      <Property name="service">whjlApi1301PR#pushData</Property>
    </AjaxAction>
    <Dialog id="dialogLog">
      <Property name="width">90%</Property>
      <Property name="height">90%</Property>
      <Property name="caption">上传记录</Property>
      <Property name="iconClass">fa fa-sliders</Property>
      <Buttons>
        <Button>
          <ClientEvent name="onClick">self.get(&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="listDropType">
      <Property name="items">日常出库,日常入库,应急出库,应急入库</Property>
    </ListDropDown>
    <ListDropDown id="listDropInOut">
      <Property name="items">入库,出库</Property>
    </ListDropDown>
  </View>
</ViewConfig>
src/main/java/com/fzzy/otherview/whhpjl/WhjlApi1302.view.xml
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,391 @@
<?xml version="1.0" encoding="UTF-8"?>
<ViewConfig>
  <Arguments/>
  <Context/>
  <Model>
    <DataType name="dtMain">
      <Property name="creationType">com.fzzy.otherview.whhpjl.dto.WhjlApi1302</Property>
      <PropertyDef name="chjlid">
        <Property/>
        <Property name="label">运输环境记录id</Property>
      </PropertyDef>
      <PropertyDef name="jlqybh">
        <Property/>
        <Property name="label">军粮企业编号</Property>
      </PropertyDef>
      <PropertyDef name="ssqymc">
        <Property/>
        <Property name="label">军粮企业名称</Property>
      </PropertyDef>
      <PropertyDef name="jgzdbh">
        <Property/>
        <Property name="label">军供站点编号</Property>
      </PropertyDef>
      <PropertyDef name="jgzdmc">
        <Property/>
        <Property name="label">军供站点名称</Property>
      </PropertyDef>
      <PropertyDef name="ydlx">
        <Property/>
        <Property name="label">运单类型</Property>
      </PropertyDef>
      <PropertyDef name="rwbh">
        <Property/>
        <Property name="label">调度任务编号</Property>
      </PropertyDef>
      <PropertyDef name="psclid">
        <Property/>
        <Property name="label">配送车牌号</Property>
      </PropertyDef>
      <PropertyDef name="cjsj">
        <Property name="dataType">Date</Property>
        <Property name="label">采集时间</Property>
      </PropertyDef>
      <PropertyDef name="wdz">
        <Property name="dataType">double</Property>
        <Property name="label">温度值</Property>
      </PropertyDef>
      <PropertyDef name="xdz">
        <Property name="dataType">double</Property>
        <Property name="label">湿度值</Property>
      </PropertyDef>
      <PropertyDef name="wdzsfhg">
        <Property/>
        <Property name="label">温度值是否合格</Property>
      </PropertyDef>
      <PropertyDef name="xdzsfhg">
        <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>
  </Model>
  <View layout="regionPadding:10">
    <Property name="packages">font-awesome,css-common</Property>
    <DataSet id="dsMain">
      <Property name="dataType">[dtMain]</Property>
      <Property name="dataProvider">whjlApi1302PR#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="chjlid">
          <Property name="property">chjlid</Property>
        </DataColumn>
        <DataColumn name="jlqybh">
          <Property name="property">jlqybh</Property>
        </DataColumn>
        <DataColumn name="ssqymc">
          <Property name="property">ssqymc</Property>
        </DataColumn>
        <DataColumn name="jgzdbh">
          <Property name="property">jgzdbh</Property>
        </DataColumn>
        <DataColumn name="jgzdmc">
          <Property name="property">jgzdmc</Property>
        </DataColumn>
        <DataColumn name="ydlx">
          <Property name="property">ydlx</Property>
        </DataColumn>
        <DataColumn name="rwbh">
          <Property name="property">rwbh</Property>
        </DataColumn>
        <DataColumn name="psclid">
          <Property name="property">psclid</Property>
        </DataColumn>
        <DataColumn name="cjsj">
          <Property name="property">cjsj</Property>
        </DataColumn>
        <DataColumn name="wdz">
          <Property name="property">wdz</Property>
        </DataColumn>
        <DataColumn name="xdz">
          <Property name="property">xdz</Property>
        </DataColumn>
        <DataColumn name="wdzsfhg">
          <Property name="property">wdzsfhg</Property>
        </DataColumn>
        <DataColumn name="xdzsfhg">
          <Property name="property">xdzsfhg</Property>
        </DataColumn>
        <DataColumn name="bizId">
          <Property name="property">bizId</Property>
        </DataColumn>
        <DataColumn name="updateTime">
          <Property name="property">updateTime</Property>
        </DataColumn>
        <DataColumn name="czbz">
          <Property name="property">czbz</Property>
        </DataColumn>
        <DataColumn name="kqdm">
          <Property name="property">kqdm</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>
          <Property name="labelAlign">left</Property>
          <AutoFormElement>
            <Property name="name">chjlid</Property>
            <Property name="property">chjlid</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">jlqybh</Property>
            <Property name="property">jlqybh</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">ssqymc</Property>
            <Property name="property">ssqymc</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">jgzdbh</Property>
            <Property name="property">jgzdbh</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">jgzdmc</Property>
            <Property name="property">jgzdmc</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">ydlx</Property>
            <Property name="property">ydlx</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">rwbh</Property>
            <Property name="property">rwbh</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">psclid</Property>
            <Property name="property">psclid</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">cjsj</Property>
            <Property name="property">cjsj</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">wdz</Property>
            <Property name="property">wdz</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">xdz</Property>
            <Property name="property">xdz</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">wdzsfhg</Property>
            <Property name="property">wdzsfhg</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">xdzsfhg</Property>
            <Property name="property">xdzsfhg</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">whjlApi1302PR#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">whjlApi1302PR#delData</Property>
    </AjaxAction>
    <AjaxAction id="ajaxPush">
      <Property name="service">whjlApi1302PR#pushData</Property>
    </AjaxAction>
    <Dialog id="dialogLog">
      <Property name="width">90%</Property>
      <Property name="height">90%</Property>
      <Property name="caption">上传记录</Property>
      <Property name="iconClass">fa fa-sliders</Property>
      <Buttons>
        <Button>
          <ClientEvent name="onClick">self.get(&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="listDropType">
      <Property name="items">日常出库,日常入库,应急出库,应急入库</Property>
    </ListDropDown>
    <ListDropDown id="listDropInOut">
      <Property name="items">入库,出库</Property>
    </ListDropDown>
  </View>
</ViewConfig>
src/main/java/com/fzzy/otherview/whhpjl/WhjlApi1303.view.xml
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,343 @@
<?xml version="1.0" encoding="UTF-8"?>
<ViewConfig>
  <Arguments/>
  <Context/>
  <Model>
    <DataType name="dtMain">
      <Property name="creationType">com.fzzy.otherview.whhpjl.dto.WhjlApi1303</Property>
      <PropertyDef name="wsdgjjlid">
        <Property/>
        <Property name="label">温湿度告警记录id</Property>
      </PropertyDef>
      <PropertyDef name="jlqybh">
        <Property/>
        <Property name="label">军粮企业编号</Property>
      </PropertyDef>
      <PropertyDef name="jlqymc">
        <Property/>
        <Property name="label">军粮企业名称</Property>
      </PropertyDef>
      <PropertyDef name="jgzdbh">
        <Property/>
        <Property name="label">军供站点编号</Property>
      </PropertyDef>
      <PropertyDef name="jgzdmc">
        <Property/>
        <Property name="label">军供站点名称</Property>
      </PropertyDef>
      <PropertyDef name="gjsj">
        <Property name="dataType">Date</Property>
        <Property name="label">告警时间</Property>
      </PropertyDef>
      <PropertyDef name="gjbt">
        <Property/>
        <Property name="label">告警标题</Property>
      </PropertyDef>
      <PropertyDef name="gjms">
        <Property/>
        <Property name="label">告警描述</Property>
      </PropertyDef>
      <PropertyDef name="gjjb">
        <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>
  </Model>
  <View layout="regionPadding:10">
    <Property name="packages">font-awesome,css-common</Property>
    <DataSet id="dsMain">
      <Property name="dataType">[dtMain]</Property>
      <Property name="dataProvider">whjlApi1303PR#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="wsdgjjlid">
          <Property name="property">wsdgjjlid</Property>
        </DataColumn>
        <DataColumn name="jlqybh">
          <Property name="property">jlqybh</Property>
        </DataColumn>
        <DataColumn name="jlqymc">
          <Property name="property">jlqymc</Property>
        </DataColumn>
        <DataColumn name="jgzdbh">
          <Property name="property">jgzdbh</Property>
        </DataColumn>
        <DataColumn name="jgzdmc">
          <Property name="property">jgzdmc</Property>
        </DataColumn>
        <DataColumn name="gjsj">
          <Property name="property">gjsj</Property>
        </DataColumn>
        <DataColumn name="gjbt">
          <Property name="property">gjbt</Property>
        </DataColumn>
        <DataColumn name="gjms">
          <Property name="property">gjms</Property>
        </DataColumn>
        <DataColumn name="gjjb">
          <Property name="property">gjjb</Property>
        </DataColumn>
        <DataColumn name="bizId">
          <Property name="property">bizId</Property>
        </DataColumn>
        <DataColumn name="updateTime">
          <Property name="property">updateTime</Property>
        </DataColumn>
        <DataColumn name="czbz">
          <Property name="property">czbz</Property>
        </DataColumn>
        <DataColumn name="kqdm">
          <Property name="property">kqdm</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>
          <Property name="labelAlign">left</Property>
          <AutoFormElement>
            <Property name="name">wsdgjjlid</Property>
            <Property name="property">wsdgjjlid</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">gjsj</Property>
            <Property name="property">gjsj</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">gjbt</Property>
            <Property name="property">gjbt</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">gjms</Property>
            <Property name="property">gjms</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">gjjb</Property>
            <Property name="property">gjjb</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">whjlApi1303PR#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">whjlApi1303PR#delData</Property>
    </AjaxAction>
    <AjaxAction id="ajaxPush">
      <Property name="service">whjlApi1303PR#pushData</Property>
    </AjaxAction>
    <Dialog id="dialogLog">
      <Property name="width">90%</Property>
      <Property name="height">90%</Property>
      <Property name="caption">上传记录</Property>
      <Property name="iconClass">fa fa-sliders</Property>
      <Buttons>
        <Button>
          <ClientEvent name="onClick">self.get(&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="listDropType">
      <Property name="items">日常出库,日常入库,应急出库,应急入库</Property>
    </ListDropDown>
    <ListDropDown id="listDropInOut">
      <Property name="items">入库,出库</Property>
    </ListDropDown>
  </View>
</ViewConfig>
src/main/java/com/fzzy/otherview/whhpjl/WhjlApi1304.view.xml
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,391 @@
<?xml version="1.0" encoding="UTF-8"?>
<ViewConfig>
  <Arguments/>
  <Context/>
  <Model>
    <DataType name="dtMain">
      <Property name="creationType">com.fzzy.otherview.whhpjl.dto.WhjlApi1304</Property>
      <PropertyDef name="chjlid">
        <Property/>
        <Property name="label">能耗记录id</Property>
      </PropertyDef>
      <PropertyDef name="jlqybh">
        <Property/>
        <Property name="label">军粮企业编号</Property>
      </PropertyDef>
      <PropertyDef name="ssqymc">
        <Property/>
        <Property name="label">军粮企业名称</Property>
      </PropertyDef>
      <PropertyDef name="jgzdbh">
        <Property/>
        <Property name="label">军供站点编号</Property>
      </PropertyDef>
      <PropertyDef name="jgzdmc">
        <Property/>
        <Property name="label">军供站点名称</Property>
      </PropertyDef>
      <PropertyDef name="ajbh">
        <Property/>
        <Property name="label">廒间编号</Property>
      </PropertyDef>
      <PropertyDef name="sbbh">
        <Property/>
        <Property name="label">设备编号</Property>
      </PropertyDef>
      <PropertyDef name="cjsj">
        <Property name="dataType">Date</Property>
        <Property name="label">采集时间</Property>
      </PropertyDef>
      <PropertyDef name="nhz">
        <Property/>
        <Property name="label">能耗值</Property>
      </PropertyDef>
      <PropertyDef name="nhxzz">
        <Property/>
        <Property name="label">能耗修正值</Property>
      </PropertyDef>
      <PropertyDef name="nhzl">
        <Property/>
        <Property name="label">能耗增量</Property>
      </PropertyDef>
      <PropertyDef name="nhxm">
        <Property/>
        <Property name="label">能耗项目</Property>
      </PropertyDef>
      <PropertyDef name="bz">
        <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>
  </Model>
  <View layout="regionPadding:10">
    <Property name="packages">font-awesome,css-common</Property>
    <DataSet id="dsMain">
      <Property name="dataType">[dtMain]</Property>
      <Property name="dataProvider">whjlApi1304PR#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="chjlid">
          <Property name="property">chjlid</Property>
        </DataColumn>
        <DataColumn name="jlqybh">
          <Property name="property">jlqybh</Property>
        </DataColumn>
        <DataColumn name="ssqymc">
          <Property name="property">ssqymc</Property>
        </DataColumn>
        <DataColumn name="jgzdbh">
          <Property name="property">jgzdbh</Property>
        </DataColumn>
        <DataColumn name="jgzdmc">
          <Property name="property">jgzdmc</Property>
        </DataColumn>
        <DataColumn name="ajbh">
          <Property name="property">ajbh</Property>
        </DataColumn>
        <DataColumn name="sbbh">
          <Property name="property">sbbh</Property>
        </DataColumn>
        <DataColumn name="cjsj">
          <Property name="property">cjsj</Property>
        </DataColumn>
        <DataColumn name="nhz">
          <Property name="property">nhz</Property>
        </DataColumn>
        <DataColumn name="nhxzz">
          <Property name="property">nhxzz</Property>
        </DataColumn>
        <DataColumn name="nhzl">
          <Property name="property">nhzl</Property>
        </DataColumn>
        <DataColumn name="nhxm">
          <Property name="property">nhxm</Property>
        </DataColumn>
        <DataColumn name="bz">
          <Property name="property">bz</Property>
        </DataColumn>
        <DataColumn name="bizId">
          <Property name="property">bizId</Property>
        </DataColumn>
        <DataColumn name="updateTime">
          <Property name="property">updateTime</Property>
        </DataColumn>
        <DataColumn name="czbz">
          <Property name="property">czbz</Property>
        </DataColumn>
        <DataColumn name="kqdm">
          <Property name="property">kqdm</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>
          <Property name="labelAlign">left</Property>
          <AutoFormElement>
            <Property name="name">chjlid</Property>
            <Property name="property">chjlid</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">jlqybh</Property>
            <Property name="property">jlqybh</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">ssqymc</Property>
            <Property name="property">ssqymc</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">jgzdbh</Property>
            <Property name="property">jgzdbh</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">jgzdmc</Property>
            <Property name="property">jgzdmc</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">ajbh</Property>
            <Property name="property">ajbh</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">sbbh</Property>
            <Property name="property">sbbh</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">cjsj</Property>
            <Property name="property">cjsj</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">nhz</Property>
            <Property name="property">nhz</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">nhxzz</Property>
            <Property name="property">nhxzz</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">nhzl</Property>
            <Property name="property">nhzl</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">nhxm</Property>
            <Property name="property">nhxm</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">whjlApi1304PR#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">whjlApi1304PR#delData</Property>
    </AjaxAction>
    <AjaxAction id="ajaxPush">
      <Property name="service">whjlApi1304PR#pushData</Property>
    </AjaxAction>
    <Dialog id="dialogLog">
      <Property name="width">90%</Property>
      <Property name="height">90%</Property>
      <Property name="caption">上传记录</Property>
      <Property name="iconClass">fa fa-sliders</Property>
      <Buttons>
        <Button>
          <ClientEvent name="onClick">self.get(&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="listDropType">
      <Property name="items">日常出库,日常入库,应急出库,应急入库</Property>
    </ListDropDown>
    <ListDropDown id="listDropInOut">
      <Property name="items">入库,出库</Property>
    </ListDropDown>
  </View>
</ViewConfig>
src/main/java/com/fzzy/otherview/whhpjl/WhjlApi1305.view.xml
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,494 @@
<?xml version="1.0" encoding="UTF-8"?>
<ViewConfig>
  <Arguments/>
  <Context/>
  <Model>
    <DataType name="dtMain">
      <Property name="creationType">com.fzzy.otherview.whhpjl.dto.WhjlApi1305</Property>
      <PropertyDef name="psclid">
        <Property/>
        <Property name="label">配送车辆ID</Property>
      </PropertyDef>
      <PropertyDef name="cphm">
        <Property/>
        <Property name="label">车牌号码</Property>
      </PropertyDef>
      <PropertyDef name="lspzbm">
        <Property/>
        <Property name="label">品种编号</Property>
      </PropertyDef>
      <PropertyDef name="lspzmc">
        <Property/>
        <Property name="label">品种名称</Property>
      </PropertyDef>
      <PropertyDef name="cpbh">
        <Property/>
        <Property name="label">产品编号</Property>
      </PropertyDef>
      <PropertyDef name="cpmc">
        <Property/>
        <Property name="label">产品名称</Property>
      </PropertyDef>
      <PropertyDef name="sldwid">
        <Property/>
        <Property name="label">计量单位id</Property>
      </PropertyDef>
      <PropertyDef name="pssl">
        <Property/>
        <Property name="label">配送数量</Property>
        <Property name="dataType">double</Property>
      </PropertyDef>
      <PropertyDef name="pszt">
        <Property/>
        <Property name="label">配送状态</Property>
      </PropertyDef>
      <PropertyDef name="sdsl">
        <Property/>
        <Property name="label">送到数量</Property>
        <Property name="dataType">double</Property>
      </PropertyDef>
      <PropertyDef name="yqsdsj">
        <Property/>
        <Property name="label">要求送达时间</Property>
        <Property name="dataType">Date</Property>
      </PropertyDef>
      <PropertyDef name="yskssj">
        <Property/>
        <Property name="label">运送开始时间</Property>
        <Property name="dataType">Date</Property>
      </PropertyDef>
      <PropertyDef name="ysjssj">
        <Property/>
        <Property name="label">运送结束时间</Property>
        <Property name="dataType">Date</Property>
      </PropertyDef>
      <PropertyDef name="jsyxm">
        <Property/>
        <Property name="label">驾驶员姓名</Property>
      </PropertyDef>
      <PropertyDef name="jsysfzh">
        <Property/>
        <Property name="label">驾驶员身份证号</Property>
      </PropertyDef>
      <PropertyDef name="jsydh">
        <Property/>
        <Property name="label">驾驶员电话</Property>
      </PropertyDef>
      <PropertyDef name="lssj">
        <Property/>
        <Property name="label">揽收时间</Property>
        <Property name="dataType">Date</Property>
      </PropertyDef>
      <PropertyDef name="sdqrsj">
        <Property/>
        <Property name="label">送达确认时间</Property>
        <Property name="dataType">Date</Property>
      </PropertyDef>
      <PropertyDef name="sdqrr">
        <Property/>
        <Property name="label">送达确认人</Property>
      </PropertyDef>
      <PropertyDef name="ckm">
        <Property/>
        <Property name="label">出库码</Property>
      </PropertyDef>
      <PropertyDef name="bdkh">
        <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>
  </Model>
  <View layout="regionPadding:10">
    <Property name="packages">font-awesome,css-common</Property>
    <DataSet id="dsMain">
      <Property name="dataType">[dtMain]</Property>
      <Property name="dataProvider">whjlApi1305PR#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="psclid">
          <Property name="property">psclid</Property>
        </DataColumn>
        <DataColumn name="cphm">
          <Property name="property">cphm</Property>
        </DataColumn>
        <DataColumn name="lspzbm">
          <Property name="property">lspzbm</Property>
        </DataColumn>
        <DataColumn name="lspzmc">
          <Property name="property">lspzmc</Property>
        </DataColumn>
        <DataColumn name="cpbh">
          <Property name="property">cpbh</Property>
        </DataColumn>
        <DataColumn name="cpmc">
          <Property name="property">cpmc</Property>
        </DataColumn>
        <DataColumn name="sldwid">
          <Property name="property">sldwid</Property>
        </DataColumn>
        <DataColumn name="pssl">
          <Property name="property">pssl</Property>
        </DataColumn>
        <DataColumn name="pszt">
          <Property name="property">pszt</Property>
        </DataColumn>
        <DataColumn name="sdsl">
          <Property name="property">sdsl</Property>
        </DataColumn>
        <DataColumn name="yqsdsj">
          <Property name="property">yqsdsj</Property>
        </DataColumn>
        <DataColumn name="yskssj">
          <Property name="property">yskssj</Property>
        </DataColumn>
        <DataColumn name="ysjssj">
          <Property name="property">ysjssj</Property>
        </DataColumn>
        <DataColumn name="jsyxm">
          <Property name="property">jsyxm</Property>
        </DataColumn>
        <DataColumn name="jsysfzh">
          <Property name="property">jsysfzh</Property>
        </DataColumn>
        <DataColumn name="jsydh">
          <Property name="property">jsydh</Property>
        </DataColumn>
        <DataColumn name="lssj">
          <Property name="property">lssj</Property>
        </DataColumn>
        <DataColumn name="sdqrsj">
          <Property name="property">sdqrsj</Property>
        </DataColumn>
        <DataColumn name="sdqrr">
          <Property name="property">sdqrr</Property>
        </DataColumn>
        <DataColumn name="ckm">
          <Property name="property">ckm</Property>
        </DataColumn>
        <DataColumn name="bdkh">
          <Property name="property">bdkh</Property>
        </DataColumn>
        <DataColumn name="bizId">
          <Property name="property">bizId</Property>
        </DataColumn>
        <DataColumn name="updateTime">
          <Property name="property">updateTime</Property>
        </DataColumn>
        <DataColumn name="czbz">
          <Property name="property">czbz</Property>
        </DataColumn>
        <DataColumn name="kqdm">
          <Property name="property">kqdm</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>
          <Property name="labelAlign">left</Property>
          <AutoFormElement>
            <Property name="name">psclid</Property>
            <Property name="property">psclid</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">cphm</Property>
            <Property name="property">cphm</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">cpbh</Property>
            <Property name="property">cpbh</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">cpmc</Property>
            <Property name="property">cpmc</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">sldwid</Property>
            <Property name="property">sldwid</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">pssl</Property>
            <Property name="property">pssl</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">pszt</Property>
            <Property name="property">pszt</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">sdsl</Property>
            <Property name="property">sdsl</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">yqsdsj</Property>
            <Property name="property">yqsdsj</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">yskssj</Property>
            <Property name="property">yskssj</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">ysjssj</Property>
            <Property name="property">ysjssj</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">jsyxm</Property>
            <Property name="property">jsyxm</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">jsysfzh</Property>
            <Property name="property">jsysfzh</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">jsydh</Property>
            <Property name="property">jsydh</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">lssj</Property>
            <Property name="property">lssj</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">sdqrsj</Property>
            <Property name="property">sdqrsj</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">sdqrr</Property>
            <Property name="property">sdqrr</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">ckm</Property>
            <Property name="property">ckm</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">bdkh</Property>
            <Property name="property">bdkh</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">whjlApi1305PR#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">whjlApi1305PR#delData</Property>
    </AjaxAction>
    <AjaxAction id="ajaxPush">
      <Property name="service">whjlApi1305PR#pushData</Property>
    </AjaxAction>
    <Dialog id="dialogLog">
      <Property name="width">90%</Property>
      <Property name="height">90%</Property>
      <Property name="caption">上传记录</Property>
      <Property name="iconClass">fa fa-sliders</Property>
      <Buttons>
        <Button>
          <ClientEvent name="onClick">self.get(&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="listDropType">
      <Property name="items">日常出库,日常入库,应急出库,应急入库</Property>
    </ListDropDown>
    <ListDropDown id="listDropInOut">
      <Property name="items">入库,出库</Property>
    </ListDropDown>
  </View>
</ViewConfig>
src/main/java/com/fzzy/otherview/whhpjl/WhjlApi1306.view.xml
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,319 @@
<?xml version="1.0" encoding="UTF-8"?>
<ViewConfig>
  <Arguments/>
  <Context/>
  <Model>
    <DataType name="dtMain">
      <Property name="creationType">com.fzzy.otherview.whhpjl.dto.WhjlApi1306</Property>
      <PropertyDef name="bdlswzid">
        <Property/>
        <Property name="label">北斗位置ID</Property>
      </PropertyDef>
      <PropertyDef name="bdkh">
        <Property/>
        <Property name="label">北斗卡号</Property>
      </PropertyDef>
      <PropertyDef name="jd">
        <Property/>
        <Property name="label">经度</Property>
      </PropertyDef>
      <PropertyDef name="wd">
        <Property/>
        <Property name="label">纬度</Property>
      </PropertyDef>
      <PropertyDef name="hbgd">
        <Property/>
        <Property name="label">海拔高度</Property>
      </PropertyDef>
      <PropertyDef name="sbsj">
        <Property name="dataType">Date</Property>
        <Property name="label">上报时间</Property>
      </PropertyDef>
      <PropertyDef name="xhly">
        <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>
  </Model>
  <View layout="regionPadding:10">
    <Property name="packages">font-awesome,css-common</Property>
    <DataSet id="dsMain">
      <Property name="dataType">[dtMain]</Property>
      <Property name="dataProvider">whjlApi1306PR#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="bdlswzid">
          <Property name="property">bdlswzid</Property>
        </DataColumn>
        <DataColumn name="bdkh">
          <Property name="property">bdkh</Property>
        </DataColumn>
        <DataColumn name="jd">
          <Property name="property">jd</Property>
        </DataColumn>
        <DataColumn name="wd">
          <Property name="property">wd</Property>
        </DataColumn>
        <DataColumn name="hbgd">
          <Property name="property">hbgd</Property>
        </DataColumn>
        <DataColumn name="sbsj">
          <Property name="property">sbsj</Property>
        </DataColumn>
        <DataColumn name="xhly">
          <Property name="property">xhly</Property>
        </DataColumn>
        <DataColumn name="bizId">
          <Property name="property">bizId</Property>
        </DataColumn>
        <DataColumn name="updateTime">
          <Property name="property">updateTime</Property>
        </DataColumn>
        <DataColumn name="czbz">
          <Property name="property">czbz</Property>
        </DataColumn>
        <DataColumn name="kqdm">
          <Property name="property">kqdm</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>
          <Property name="labelAlign">left</Property>
          <AutoFormElement>
            <Property name="name">bdlswzid</Property>
            <Property name="property">bdlswzid</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">bdkh</Property>
            <Property name="property">bdkh</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">jd</Property>
            <Property name="property">jd</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">wd</Property>
            <Property name="property">wd</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">hbgd</Property>
            <Property name="property">hbgd</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">sbsj</Property>
            <Property name="property">sbsj</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">xhly</Property>
            <Property name="property">xhly</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">whjlApi1306PR#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">whjlApi1306PR#delData</Property>
    </AjaxAction>
    <AjaxAction id="ajaxPush">
      <Property name="service">whjlApi1306PR#pushData</Property>
    </AjaxAction>
    <Dialog id="dialogLog">
      <Property name="width">90%</Property>
      <Property name="height">90%</Property>
      <Property name="caption">上传记录</Property>
      <Property name="iconClass">fa fa-sliders</Property>
      <Buttons>
        <Button>
          <ClientEvent name="onClick">self.get(&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="listDropType">
      <Property name="items">日常出库,日常入库,应急出库,应急入库</Property>
    </ListDropDown>
    <ListDropDown id="listDropInOut">
      <Property name="items">入库,出库</Property>
    </ListDropDown>
  </View>
</ViewConfig>
src/main/java/com/fzzy/otherview/whhpjl/WhjlApi1307.view.xml
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,371 @@
<?xml version="1.0" encoding="UTF-8"?>
<ViewConfig>
  <Arguments/>
  <Context/>
  <Model>
    <DataType name="dtMain">
      <Property name="creationType">com.fzzy.otherview.whhpjl.dto.WhjlApi1307</Property>
      <PropertyDef name="ysrwbdxxid">
        <Property/>
        <Property name="label">运送任务北斗信息ID</Property>
      </PropertyDef>
      <PropertyDef name="ysrwlx">
        <Property/>
        <Property name="label">运送任务类型</Property>
      </PropertyDef>
      <PropertyDef name="bdkh">
        <Property/>
        <Property name="label">北斗卡号</Property>
      </PropertyDef>
      <PropertyDef name="cph">
        <Property/>
        <Property name="label">车牌号</Property>
      </PropertyDef>
      <PropertyDef name="jssj">
        <Property name="dataType">Date</Property>
        <Property name="label">接收时间</Property>
      </PropertyDef>
      <PropertyDef name="wd">
        <Property/>
        <Property name="label">纬度</Property>
      </PropertyDef>
      <PropertyDef name="jd">
        <Property/>
        <Property name="label">经度</Property>
      </PropertyDef>
      <PropertyDef name="ysrwmxid">
        <Property/>
        <Property name="label">运送任务车辆ID</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>
  </Model>
  <View layout="regionPadding:10">
    <Property name="packages">font-awesome,css-common</Property>
    <DataSet id="dsMain">
      <Property name="dataType">[dtMain]</Property>
      <Property name="dataProvider">whjlApi1307PR#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="chjlid">
          <Property name="property">chjlid</Property>
        </DataColumn>
        <DataColumn name="jlqybh">
          <Property name="property">jlqybh</Property>
        </DataColumn>
        <DataColumn name="ssqymc">
          <Property name="property">ssqymc</Property>
        </DataColumn>
        <DataColumn name="jgzdbh">
          <Property name="property">jgzdbh</Property>
        </DataColumn>
        <DataColumn name="jgzdmc">
          <Property name="property">jgzdmc</Property>
        </DataColumn>
        <DataColumn name="ajbh">
          <Property name="property">ajbh</Property>
        </DataColumn>
        <DataColumn name="sbbh">
          <Property name="property">sbbh</Property>
        </DataColumn>
        <DataColumn name="cjsj">
          <Property name="property">cjsj</Property>
        </DataColumn>
        <DataColumn name="nhz">
          <Property name="property">nhz</Property>
        </DataColumn>
        <DataColumn name="nhxzz">
          <Property name="property">nhxzz</Property>
        </DataColumn>
        <DataColumn name="nhzl">
          <Property name="property">nhzl</Property>
        </DataColumn>
        <DataColumn name="nhxm">
          <Property name="property">nhxm</Property>
        </DataColumn>
        <DataColumn name="bz">
          <Property name="property">bz</Property>
        </DataColumn>
        <DataColumn name="bizId">
          <Property name="property">bizId</Property>
        </DataColumn>
        <DataColumn name="updateTime">
          <Property name="property">updateTime</Property>
        </DataColumn>
        <DataColumn name="czbz">
          <Property name="property">czbz</Property>
        </DataColumn>
        <DataColumn name="kqdm">
          <Property name="property">kqdm</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>
          <Property name="labelAlign">left</Property>
          <AutoFormElement>
            <Property name="name">chjlid</Property>
            <Property name="property">chjlid</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">jlqybh</Property>
            <Property name="property">jlqybh</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">ssqymc</Property>
            <Property name="property">ssqymc</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">jgzdbh</Property>
            <Property name="property">jgzdbh</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">jgzdmc</Property>
            <Property name="property">jgzdmc</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">ajbh</Property>
            <Property name="property">ajbh</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">sbbh</Property>
            <Property name="property">sbbh</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">cjsj</Property>
            <Property name="property">cjsj</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">nhz</Property>
            <Property name="property">nhz</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">nhxzz</Property>
            <Property name="property">nhxzz</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">nhzl</Property>
            <Property name="property">nhzl</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">nhxm</Property>
            <Property name="property">nhxm</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">whjlApi1307PR#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">whjlApi1307PR#delData</Property>
    </AjaxAction>
    <AjaxAction id="ajaxPush">
      <Property name="service">whjlApi1307PR#pushData</Property>
    </AjaxAction>
    <Dialog id="dialogLog">
      <Property name="width">90%</Property>
      <Property name="height">90%</Property>
      <Property name="caption">上传记录</Property>
      <Property name="iconClass">fa fa-sliders</Property>
      <Buttons>
        <Button>
          <ClientEvent name="onClick">self.get(&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="listDropType">
      <Property name="items">日常出库,日常入库,应急出库,应急入库</Property>
    </ListDropDown>
    <ListDropDown id="listDropInOut">
      <Property name="items">入库,出库</Property>
    </ListDropDown>
  </View>
</ViewConfig>
src/main/java/com/fzzy/otherview/whhpjl/WhjlApi1308.view.xml
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,343 @@
<?xml version="1.0" encoding="UTF-8"?>
<ViewConfig>
  <Arguments/>
  <Context/>
  <Model>
    <DataType name="dtMain">
      <Property name="creationType">com.fzzy.otherview.whhpjl.dto.WhjlApi1308</Property>
      <PropertyDef name="gjjlid">
        <Property/>
        <Property name="label">告警记录id</Property>
      </PropertyDef>
      <PropertyDef name="xzqhbm">
        <Property/>
        <Property name="label">行政区划编码</Property>
      </PropertyDef>
      <PropertyDef name="xzqhmc">
        <Property/>
        <Property name="label">行政区划名称</Property>
      </PropertyDef>
      <PropertyDef name="jgzdbh">
        <Property/>
        <Property name="label">军供站点编号</Property>
      </PropertyDef>
      <PropertyDef name="jgzdmc">
        <Property/>
        <Property name="label">军供站点名称</Property>
      </PropertyDef>
      <PropertyDef name="gjsj">
        <Property/>
        <Property name="label">告警时间</Property>
      </PropertyDef>
      <PropertyDef name="gjjb">
        <Property/>
        <Property name="label">告警级别</Property>
      </PropertyDef>
      <PropertyDef name="gjbt">
        <Property/>
        <Property name="label">告警标题</Property>
      </PropertyDef>
      <PropertyDef name="gjms">
        <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>
  </Model>
  <View layout="regionPadding:10">
    <Property name="packages">font-awesome,css-common</Property>
    <DataSet id="dsMain">
      <Property name="dataType">[dtMain]</Property>
      <Property name="dataProvider">whjlApi1308PR#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="gjjlid">
          <Property name="property">gjjlid</Property>
        </DataColumn>
        <DataColumn name="xzqhbm">
          <Property name="property">xzqhbm</Property>
        </DataColumn>
        <DataColumn name="xzqhmc">
          <Property name="property">xzqhmc</Property>
        </DataColumn>
        <DataColumn name="jgzdbh">
          <Property name="property">jgzdbh</Property>
        </DataColumn>
        <DataColumn name="jgzdmc">
          <Property name="property">jgzdmc</Property>
        </DataColumn>
        <DataColumn name="gjsj">
          <Property name="property">gjsj</Property>
        </DataColumn>
        <DataColumn name="gjjb">
          <Property name="property">gjjb</Property>
        </DataColumn>
        <DataColumn name="gjbt">
          <Property name="property">gjbt</Property>
        </DataColumn>
        <DataColumn name="gjms">
          <Property name="property">gjms</Property>
        </DataColumn>
        <DataColumn name="bizId">
          <Property name="property">bizId</Property>
        </DataColumn>
        <DataColumn name="updateTime">
          <Property name="property">updateTime</Property>
        </DataColumn>
        <DataColumn name="czbz">
          <Property name="property">czbz</Property>
        </DataColumn>
        <DataColumn name="kqdm">
          <Property name="property">kqdm</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>
          <Property name="labelAlign">left</Property>
          <AutoFormElement>
            <Property name="name">gjjlid</Property>
            <Property name="property">gjjlid</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">xzqhbm</Property>
            <Property name="property">xzqhbm</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">xzqhmc</Property>
            <Property name="property">xzqhmc</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">gjsj</Property>
            <Property name="property">gjsj</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">gjjb</Property>
            <Property name="property">gjjb</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">gjbt</Property>
            <Property name="property">gjbt</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">gjms</Property>
            <Property name="property">gjms</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">whjlApi1308PR#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">whjlApi1308PR#delData</Property>
    </AjaxAction>
    <AjaxAction id="ajaxPush">
      <Property name="service">whjlApi1308PR#pushData</Property>
    </AjaxAction>
    <Dialog id="dialogLog">
      <Property name="width">90%</Property>
      <Property name="height">90%</Property>
      <Property name="caption">上传记录</Property>
      <Property name="iconClass">fa fa-sliders</Property>
      <Buttons>
        <Button>
          <ClientEvent name="onClick">self.get(&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="listDropType">
      <Property name="items">日常出库,日常入库,应急出库,应急入库</Property>
    </ListDropDown>
    <ListDropDown id="listDropInOut">
      <Property name="items">入库,出库</Property>
    </ListDropDown>
  </View>
</ViewConfig>
src/main/java/com/fzzy/otherview/whhpjl/WhjlApi1309.view.xml
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,371 @@
<?xml version="1.0" encoding="UTF-8"?>
<ViewConfig>
  <Arguments/>
  <Context/>
  <Model>
    <DataType name="dtMain">
      <Property name="creationType">com.fzzy.otherview.whhpjl.dto.WhjlApi1309</Property>
      <PropertyDef name="ysrwbdxxid">
        <Property/>
        <Property name="label">运送任务北斗信息ID</Property>
      </PropertyDef>
      <PropertyDef name="ysrwlx">
        <Property/>
        <Property name="label">运送任务类型</Property>
      </PropertyDef>
      <PropertyDef name="bdkh">
        <Property/>
        <Property name="label">北斗卡号</Property>
      </PropertyDef>
      <PropertyDef name="cph">
        <Property/>
        <Property name="label">车牌号</Property>
      </PropertyDef>
      <PropertyDef name="jssj">
        <Property name="dataType">Date</Property>
        <Property name="label">接收时间</Property>
      </PropertyDef>
      <PropertyDef name="wd">
        <Property/>
        <Property name="label">纬度</Property>
      </PropertyDef>
      <PropertyDef name="jd">
        <Property/>
        <Property name="label">经度</Property>
      </PropertyDef>
      <PropertyDef name="ysrwmxid">
        <Property/>
        <Property name="label">运送任务车辆ID</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>
  </Model>
  <View layout="regionPadding:10">
    <Property name="packages">font-awesome,css-common</Property>
    <DataSet id="dsMain">
      <Property name="dataType">[dtMain]</Property>
      <Property name="dataProvider">whjlApi1309PR#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="chjlid">
          <Property name="property">chjlid</Property>
        </DataColumn>
        <DataColumn name="jlqybh">
          <Property name="property">jlqybh</Property>
        </DataColumn>
        <DataColumn name="ssqymc">
          <Property name="property">ssqymc</Property>
        </DataColumn>
        <DataColumn name="jgzdbh">
          <Property name="property">jgzdbh</Property>
        </DataColumn>
        <DataColumn name="jgzdmc">
          <Property name="property">jgzdmc</Property>
        </DataColumn>
        <DataColumn name="ajbh">
          <Property name="property">ajbh</Property>
        </DataColumn>
        <DataColumn name="sbbh">
          <Property name="property">sbbh</Property>
        </DataColumn>
        <DataColumn name="cjsj">
          <Property name="property">cjsj</Property>
        </DataColumn>
        <DataColumn name="nhz">
          <Property name="property">nhz</Property>
        </DataColumn>
        <DataColumn name="nhxzz">
          <Property name="property">nhxzz</Property>
        </DataColumn>
        <DataColumn name="nhzl">
          <Property name="property">nhzl</Property>
        </DataColumn>
        <DataColumn name="nhxm">
          <Property name="property">nhxm</Property>
        </DataColumn>
        <DataColumn name="bz">
          <Property name="property">bz</Property>
        </DataColumn>
        <DataColumn name="bizId">
          <Property name="property">bizId</Property>
        </DataColumn>
        <DataColumn name="updateTime">
          <Property name="property">updateTime</Property>
        </DataColumn>
        <DataColumn name="czbz">
          <Property name="property">czbz</Property>
        </DataColumn>
        <DataColumn name="kqdm">
          <Property name="property">kqdm</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>
          <Property name="labelAlign">left</Property>
          <AutoFormElement>
            <Property name="name">chjlid</Property>
            <Property name="property">chjlid</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">jlqybh</Property>
            <Property name="property">jlqybh</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">ssqymc</Property>
            <Property name="property">ssqymc</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">jgzdbh</Property>
            <Property name="property">jgzdbh</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">jgzdmc</Property>
            <Property name="property">jgzdmc</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">ajbh</Property>
            <Property name="property">ajbh</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">sbbh</Property>
            <Property name="property">sbbh</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">cjsj</Property>
            <Property name="property">cjsj</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">nhz</Property>
            <Property name="property">nhz</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">nhxzz</Property>
            <Property name="property">nhxzz</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">nhzl</Property>
            <Property name="property">nhzl</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">nhxm</Property>
            <Property name="property">nhxm</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">whjlApi1309PR#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">whjlApi1309PR#delData</Property>
    </AjaxAction>
    <AjaxAction id="ajaxPush">
      <Property name="service">whjlApi1309PR#pushData</Property>
    </AjaxAction>
    <Dialog id="dialogLog">
      <Property name="width">90%</Property>
      <Property name="height">90%</Property>
      <Property name="caption">上传记录</Property>
      <Property name="iconClass">fa fa-sliders</Property>
      <Buttons>
        <Button>
          <ClientEvent name="onClick">self.get(&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="listDropType">
      <Property name="items">日常出库,日常入库,应急出库,应急入库</Property>
    </ListDropDown>
    <ListDropDown id="listDropInOut">
      <Property name="items">入库,出库</Property>
    </ListDropDown>
  </View>
</ViewConfig>
src/main/java/com/fzzy/otherview/whhpjl/WhjlApi1412.view.xml
@@ -5,17 +5,9 @@
  <Model>
    <DataType name="dtMain">
      <Property name="creationType">com.fzzy.otherview.whhpjl.dto.WhjlApi1412</Property>
      <PropertyDef name="rkfkjlid">
      <PropertyDef name="clyshjid">
        <Property/>
        <Property name="label">车辆ID</Property>
      </PropertyDef>
      <PropertyDef name="jlgljgbh">
        <Property/>
        <Property name="label">军粮管理机构编号</Property>
      </PropertyDef>
      <PropertyDef name="jlgljgmc">
        <Property/>
        <Property name="label">军粮管理机构名称</Property>
        <Property name="label">车辆运输环境ID</Property>
      </PropertyDef>
      <PropertyDef name="jlqybh">
        <Property/>
@@ -33,73 +25,44 @@
        <Property/>
        <Property name="label">军供站点名称</Property>
      </PropertyDef>
      <PropertyDef name="psdh">
        <Property/>
        <Property name="label">配送单号</Property>
      </PropertyDef>
      <PropertyDef name="cph">
        <Property/>
        <Property name="label">车牌号</Property>
        <Property name="label">车牌号码</Property>
      </PropertyDef>
      <PropertyDef name="cllx">
      <PropertyDef name="jcsj">
        <Property/>
        <Property name="label">车辆类型</Property>
        <Property name="label">监测时间</Property>
        <Property name="dataType">Date</Property>
      </PropertyDef>
      <PropertyDef name="clzt">
      <PropertyDef name="jcwdz">
        <Property/>
        <Property name="label">车辆状态</Property>
      </PropertyDef>
      <PropertyDef name="sfnbcl">
        <Property/>
        <Property name="label">是否内部车辆</Property>
      </PropertyDef>
      <PropertyDef name="bd4gkh">
        <Property/>
        <Property name="label">绑定4G卡号</Property>
      </PropertyDef>
      <PropertyDef name="bdbdh">
        <Property/>
        <Property name="label">绑定北斗号</Property>
      </PropertyDef>
      <PropertyDef name="jsr">
        <Property/>
        <Property name="label">驾驶人</Property>
      </PropertyDef>
      <PropertyDef name="lxdh">
        <Property/>
        <Property name="label">联系电话</Property>
      </PropertyDef>
      <PropertyDef name="sfzh">
        <Property/>
        <Property name="label">身份证号</Property>
      </PropertyDef>
      <PropertyDef name="jsz">
        <Property/>
        <Property name="label">驾驶证</Property>
      </PropertyDef>
      <PropertyDef name="xsz">
        <Property/>
        <Property name="label">行驶证</Property>
      </PropertyDef>
      <PropertyDef name="clcxc">
        <Property name="label">温度值</Property>
        <Property name="dataType">double</Property>
        <Property name="label">车箱长</Property>
      </PropertyDef>
      <PropertyDef name="clcxk">
      <PropertyDef name="sdz">
        <Property/>
        <Property name="label">湿度值</Property>
        <Property name="dataType">double</Property>
        <Property name="label">车箱宽</Property>
      </PropertyDef>
      <PropertyDef name="clcxg">
        <Property name="dataType">double</Property>
        <Property name="label">车箱高</Property>
      </PropertyDef>
      <PropertyDef name="dz">
      <PropertyDef name="wdsfzc">
        <Property/>
        <Property name="label">地址</Property>
        <Property name="label">温度是否正常:</Property>
      </PropertyDef>
      <PropertyDef name="sfyx">
      <PropertyDef name="sdsfzc">
        <Property/>
        <Property name="label">是否有效</Property>
        <Property name="label">湿度是否正常:</Property>
      </PropertyDef>
      <PropertyDef name="bz">
      <PropertyDef name="cyr">
        <Property/>
        <Property name="label">备注</Property>
        <Property name="label">承运人</Property>
      </PropertyDef>
      <PropertyDef name="cyrdh">
        <Property/>
        <Property name="label">承运人电话</Property>
      </PropertyDef>
      <PropertyDef name="bizId">
        <Property></Property>
@@ -210,14 +173,8 @@
        <RowSelectorColumn>
          <Property name="caption">上传</Property>
        </RowSelectorColumn>
        <DataColumn name="rkfkjlid">
          <Property name="property">rkfkjlid</Property>
        </DataColumn>
        <DataColumn name="jlgljgbh">
          <Property name="property">jlgljgbh</Property>
        </DataColumn>
        <DataColumn name="jlgljgmc">
          <Property name="property">jlgljgmc</Property>
        <DataColumn name="clyshjid">
          <Property name="property">clyshjid</Property>
        </DataColumn>
        <DataColumn name="jlqybh">
          <Property name="property">jlqybh</Property>
@@ -231,56 +188,32 @@
        <DataColumn name="jgzdmc">
          <Property name="property">jgzdmc</Property>
        </DataColumn>
        <DataColumn name="psdh">
          <Property name="property">psdh</Property>
        </DataColumn>
        <DataColumn name="cph">
          <Property name="property">cph</Property>
        </DataColumn>
        <DataColumn name="cllx">
          <Property name="property">cllx</Property>
        <DataColumn name="jcsj">
          <Property name="property">jcsj</Property>
        </DataColumn>
        <DataColumn name="clzt">
          <Property name="property">clzt</Property>
        <DataColumn name="jcwdz">
          <Property name="property">jcwdz</Property>
        </DataColumn>
        <DataColumn name="sfnbcl">
          <Property name="property">sfnbcl</Property>
        <DataColumn name="sdz">
          <Property name="property">sdz</Property>
        </DataColumn>
        <DataColumn name="bd4gkh">
          <Property name="property">bd4gkh</Property>
        <DataColumn name="wdsfzc">
          <Property name="property">wdsfzc</Property>
        </DataColumn>
        <DataColumn name="bdbdh">
          <Property name="property">bdbdh</Property>
        <DataColumn name="sdsfzc">
          <Property name="property">sdsfzc</Property>
        </DataColumn>
        <DataColumn name="jsr">
          <Property name="property">jsr</Property>
        <DataColumn name="cyr">
          <Property name="property">cyr</Property>
        </DataColumn>
        <DataColumn name="lxdh">
          <Property name="property">lxdh</Property>
        </DataColumn>
        <DataColumn name="sfzh">
          <Property name="property">sfzh</Property>
        </DataColumn>
        <DataColumn name="jsz">
          <Property name="property">jsz</Property>
        </DataColumn>
        <DataColumn name="xsz">
          <Property name="property">xsz</Property>
        </DataColumn>
        <DataColumn name="clcxc">
          <Property name="property">clcxc</Property>
        </DataColumn>
        <DataColumn name="clcxk">
          <Property name="property">clcxk</Property>
        </DataColumn>
        <DataColumn name="clcxg">
          <Property name="property">clcxg</Property>
        </DataColumn>
        <DataColumn name="dz">
          <Property name="property">dz</Property>
        </DataColumn>
        <DataColumn name="sfyx">
          <Property name="property">sfyx</Property>
        </DataColumn>
        <DataColumn name="bz">
          <Property name="property">bz</Property>
        <DataColumn name="cyrdh">
          <Property name="property">cyrdh</Property>
        </DataColumn>
        <DataColumn name="bizId">
          <Property name="property">bizId</Property>
@@ -300,7 +233,7 @@
      <Property name="width">85%</Property>
      <Property name="closeable">false</Property>
      <Property name="iconClass">fa fa-sliders</Property>
      <Property name="caption">口感评价</Property>
      <Property name="caption">车辆运输环境</Property>
      <Buttons>
        <Button>
          <ClientEvent name="onClick">var cur = view.get(&quot;#dgMain&quot;).getCurrentItem();&#xD;
@@ -327,18 +260,8 @@
          <Property name="labelSeparator">:</Property>
          <Property name="labelAlign">left</Property>
          <AutoFormElement>
            <Property name="name">rkfkjlid</Property>
            <Property name="property">rkfkjlid</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">jlgljgbh</Property>
            <Property name="property">jlgljgbh</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">jlgljgmc</Property>
            <Property name="property">jlgljgmc</Property>
            <Property name="name">clyshjid</Property>
            <Property name="property">clyshjid</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
@@ -362,88 +285,48 @@
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">psdh</Property>
            <Property name="property">psdh</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">cph</Property>
            <Property name="property">cph</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">cllx</Property>
            <Property name="property">cllx</Property>
            <Property name="name">jcsj</Property>
            <Property name="property">jcsj</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">clzt</Property>
            <Property name="property">clzt</Property>
            <Property name="name">jcwdz</Property>
            <Property name="property">jcwdz</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">sfnbcl</Property>
            <Property name="property">sfnbcl</Property>
            <Property name="name">sdz</Property>
            <Property name="property">sdz</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">bd4gkh</Property>
            <Property name="property">bd4gkh</Property>
            <Property name="name">wdsfzc</Property>
            <Property name="property">wdsfzc</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">bdbdh</Property>
            <Property name="property">bdbdh</Property>
            <Property name="name">sdsfzc</Property>
            <Property name="property">sdsfzc</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">jsr</Property>
            <Property name="property">jsr</Property>
            <Property name="name">cyr</Property>
            <Property name="property">cyr</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">lxdh</Property>
            <Property name="property">lxdh</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">sfzh</Property>
            <Property name="property">sfzh</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">jsz</Property>
            <Property name="property">jsz</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">xsz</Property>
            <Property name="property">xsz</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">clcxc</Property>
            <Property name="property">clcxc</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">clcxk</Property>
            <Property name="property">clcxk</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">clcxg</Property>
            <Property name="property">clcxg</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">dz</Property>
            <Property name="property">dz</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>
            <Property name="name">cyrdh</Property>
            <Property name="property">cyrdh</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
src/main/java/com/fzzy/otherview/whhpjl/WhjlApi1413.view.xml
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,458 @@
<?xml version="1.0" encoding="UTF-8"?>
<ViewConfig>
  <Arguments/>
  <Context/>
  <Model>
    <DataType name="dtMain">
      <Property name="creationType">com.fzzy.otherview.whhpjl.dto.WhjlApi1413</Property>
      <PropertyDef name="lxid">
        <Property/>
        <Property name="label">路线id</Property>
      </PropertyDef>
      <PropertyDef name="jlqybh">
        <Property/>
        <Property name="label">军粮企业编号</Property>
      </PropertyDef>
      <PropertyDef name="jlqymc">
        <Property/>
        <Property name="label">军粮企业名称</Property>
      </PropertyDef>
      <PropertyDef name="jgzdbh">
        <Property/>
        <Property name="label">军供站点编号</Property>
      </PropertyDef>
      <PropertyDef name="jgzdmc">
        <Property/>
        <Property name="label">军供站点名称</Property>
      </PropertyDef>
      <PropertyDef name="lxbm">
        <Property/>
        <Property name="label">路线编码</Property>
      </PropertyDef>
      <PropertyDef name="cfd">
        <Property/>
        <Property name="label">出发地</Property>
      </PropertyDef>
      <PropertyDef name="mdd">
        <Property/>
        <Property name="label">目的地</Property>
      </PropertyDef>
      <PropertyDef name="cfdjd">
        <Property name="dataType">double</Property>
        <Property name="label">出发地经度</Property>
      </PropertyDef>
      <PropertyDef name="cfdwd">
        <Property name="dataType">double</Property>
        <Property name="label">出发地纬度</Property>
      </PropertyDef>
      <PropertyDef name="mddjd">
        <Property name="dataType">double</Property>
        <Property name="label">目的地经度</Property>
      </PropertyDef>
      <PropertyDef name="mddwd">
        <Property name="dataType">double</Property>
        <Property name="label">目的地纬度</Property>
      </PropertyDef>
      <PropertyDef name="sfyx">
        <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>
      <Reference name="lxzbmx">
        <Property name="label">坐标明细</Property>
        <Property name="dataType">[dtLxzbmx]</Property>
      </Reference>
    </DataType>
    <DataType name="dtLxzbmx">
      <Property name="creationType">com.fzzy.otherview.whhpjl.dto.WhjlLXZBMX</Property>
      <PropertyDef name="zbdid">
        <Property/>
        <Property name="label">坐标点明细id</Property>
      </PropertyDef>
      <PropertyDef name="zbdwd">
        <Property name="dataType">double</Property>
        <Property name="label">坐标点经度</Property>
      </PropertyDef>
      <PropertyDef name="zbdjd">
        <Property name="dataType">double</Property>
        <Property name="label">坐标点纬度</Property>
      </PropertyDef>
      <PropertyDef name="sxh">
        <Property name="dataType">Integer</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">whjlApi1413PR#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="lxid">
          <Property name="property">lxid</Property>
        </DataColumn>
        <DataColumn name="jlqybh">
          <Property name="property">jlqybh</Property>
        </DataColumn>
        <DataColumn name="jlqymc">
          <Property name="property">jlqymc</Property>
        </DataColumn>
        <DataColumn name="jgzdbh">
          <Property name="property">jgzdbh</Property>
        </DataColumn>
        <DataColumn name="jgzdmc">
          <Property name="property">jgzdmc</Property>
        </DataColumn>
        <DataColumn name="lxbm">
          <Property name="property">lxbm</Property>
        </DataColumn>
        <DataColumn name="cfd">
          <Property name="property">cfd</Property>
        </DataColumn>
        <DataColumn name="mdd">
          <Property name="property">mdd</Property>
        </DataColumn>
        <DataColumn name="cfdjd">
          <Property name="property">cfdjd</Property>
        </DataColumn>
        <DataColumn name="cfdwd">
          <Property name="property">cfdwd</Property>
        </DataColumn>
        <DataColumn name="mddjd">
          <Property name="property">mddjd</Property>
        </DataColumn>
        <DataColumn name="mddwd">
          <Property name="property">mddwd</Property>
        </DataColumn>
        <DataColumn name="sfyx">
          <Property name="property">sfyx</Property>
        </DataColumn>
        <DataColumn name="bizId">
          <Property name="property">bizId</Property>
        </DataColumn>
        <DataColumn name="updateTime">
          <Property name="property">updateTime</Property>
        </DataColumn>
        <DataColumn name="czbz">
          <Property name="property">czbz</Property>
        </DataColumn>
        <DataColumn name="kqdm">
          <Property name="property">kqdm</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>
          <Property name="labelAlign">left</Property>
          <AutoFormElement>
            <Property name="name">lxid</Property>
            <Property name="property">lxid</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">lxbm</Property>
            <Property name="property">lxbm</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">cfd</Property>
            <Property name="property">cfd</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">mdd</Property>
            <Property name="property">mdd</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">cfdjd</Property>
            <Property name="property">cfdjd</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">cfdwd</Property>
            <Property name="property">cfdwd</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">mddjd</Property>
            <Property name="property">mddjd</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">mddwd</Property>
            <Property name="property">mddwd</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>
        <Panel>
          <Property name="caption">坐标明细</Property>
          <Property name="height">80%</Property>
          <Buttons/>
          <Children>
            <Container layout="regionPadding:10">
              <Label layoutConstraint="left">
                <Property name="text">菜单栏:</Property>
              </Label>
              <Button layoutConstraint="left">
                <ClientEvent name="onClick">var list = view.get(&quot;#dsMain.data:#&quot;).get(&quot;jcbgfjmx&quot;);&#xD;
list.insert({});</ClientEvent>
                <Property name="caption">新增</Property>
                <Property name="exClassName">btn-default</Property>
                <Property name="iconClass">fa fa-plus</Property>
              </Button>
              <Button layoutConstraint="left">
                <ClientEvent name="onClick">var data = view.get(&quot;#dgLink.currentEntity&quot;);&#xD;
data.remove();</ClientEvent>
                <Property name="caption">删除</Property>
                <Property name="exClassName">btn-warn</Property>
                <Property name="iconClass">fa fa-minus</Property>
              </Button>
            </Container>
            <DataGrid id="dgLink">
              <Property name="dataPath">#.lxzbmx</Property>
              <Property name="dataSet">dsMain</Property>
              <DataColumn name="zbdid">
                <Property name="property">zbdid</Property>
              </DataColumn>
              <DataColumn name="zbdwd">
                <Property name="property">zbdwd</Property>
              </DataColumn>
              <DataColumn name="zbdjd">
                <Property name="property">zbdjd</Property>
              </DataColumn>
              <DataColumn name="sxh">
                <Property name="property">sxh</Property>
              </DataColumn>
            </DataGrid>
          </Children>
          <Tools/>
        </Panel>
      </Children>
      <Tools/>
    </Dialog>
    <UpdateAction id="updateSave">
      <Property name="dataResolver">whjlApi1413PR#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">whjlApi1413PR#delData</Property>
    </AjaxAction>
    <AjaxAction id="ajaxPush">
      <Property name="service">whjlApi1413PR#pushData</Property>
    </AjaxAction>
    <Dialog id="dialogLog">
      <Property name="width">90%</Property>
      <Property name="height">90%</Property>
      <Property name="caption">上传记录</Property>
      <Property name="iconClass">fa fa-sliders</Property>
      <Buttons>
        <Button>
          <ClientEvent name="onClick">self.get(&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="listDropType">
      <Property name="items">日常出库,日常入库,应急出库,应急入库</Property>
    </ListDropDown>
    <ListDropDown id="listDropInOut">
      <Property name="items">入库,出库</Property>
    </ListDropDown>
  </View>
</ViewConfig>
src/main/java/com/fzzy/otherview/whhpjl/WhjlConstant.java
@@ -188,6 +188,22 @@
     */
    public static String API_CODE_1305 = "1305";
    /**
     * æŽ¥å£ç¼–码-1306 è°ƒåº¦é…é€ä»»åŠ¡æ•°æ®æŽ¥å£æ•°æ®æŽ¥å£
     */
    public static String API_CODE_1306 = "1306";
    /**
     * æŽ¥å£ç¼–码-1307 è°ƒåº¦é…é€ä»»åŠ¡æ•°æ®æŽ¥å£æ•°æ®æŽ¥å£
     */
    public static String API_CODE_1307 = "1307";
    /**
     * æŽ¥å£ç¼–码-1308 è°ƒåº¦é…é€ä»»åŠ¡æ•°æ®æŽ¥å£æ•°æ®æŽ¥å£
     */
    public static String API_CODE_1308 = "1308";
    /**
     * æŽ¥å£ç¼–码-1309 è°ƒåº¦é…é€ä»»åŠ¡æ•°æ®æŽ¥å£æ•°æ®æŽ¥å£
     */
    public static String API_CODE_1309 = "1309";
    /**
     * æŽ¥å£ç¼–码-1401 ç”Ÿäº§è´¨é‡é“¾æ•°æ®æŽ¥å£
     */
    public static String API_CODE_1401 = "1401";
src/main/java/com/fzzy/otherview/whhpjl/dto/WhjlApi1113.java
@@ -6,6 +6,7 @@
import java.io.Serializable;
import java.util.Date;
import java.util.List;
/**
 * ä»“储设施设备-仓储设备维护记录
@@ -41,12 +42,8 @@
    private Date xcwbrq;  //下次维保日期
    private String ysr;  //验收人
    private String whjy;  //维护建议
    private String whjlzp;  //维护记录照片
    private List<WhjlWHJLZP> whjlzp;  //维护记录照片
    private String bz;  //备注
    private String zpid;  //照片id
    private String zpmc;  //照片名称
    private String zplj;  //照片路径
    private String zpdx;  //照片大小
    //单独增加,不进行上传
    @JSONField(serialize = false)
src/main/java/com/fzzy/otherview/whhpjl/dto/WhjlApi1114.java
@@ -6,6 +6,7 @@
import java.io.Serializable;
import java.util.Date;
import java.util.List;
/**
 * ä»“储设施设备-仓储设备维修记录
@@ -29,9 +30,9 @@
    private String sbbh;  //设备编号
    private String sbmc;  //设备名称
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private String wxkssj;  //开始维修时间
    private Date wxkssj;  //开始维修时间
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private String wxjssj;  //结束维修时间
    private Date wxjssj;  //结束维修时间
    private String wxdw;  //维修单位
    private String lxr;  //联系人
    private String lxdh;  //联系电话
@@ -44,12 +45,8 @@
    private String wxfy;  //维修费用
    private String ysr;  //验收人
    private String jl;  //结论
    private String wxjlzp;  //维护记录照片
    private List<WhjlWHJLZP> whjlzp;  //维护记录照片
    private String bz;  //备注
    private String zpid;  //照片id
    private String zpmc;  //照片名称
    private String zplj;  //照片路径
    private int zpdx;  //照片大小
    //单独增加,不进行上传
    @JSONField(serialize = false)
src/main/java/com/fzzy/otherview/whhpjl/dto/WhjlApi1206.java
@@ -58,7 +58,6 @@
    private String bz;  //备注
    private List<WhjlQDItem> htspqd;  //商品清单
    private String htspqdList;
    //单独增加,不进行上传
    @JSONField(serialize = false)
    private String bizId;  //业务ID
src/main/java/com/fzzy/otherview/whhpjl/dto/WhjlApi1301.java
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,58 @@
package com.fzzy.otherview.whhpjl.dto;
import com.alibaba.fastjson.annotation.JSONField;
import lombok.Data;
import lombok.EqualsAndHashCode;
import java.io.Serializable;
import java.util.Date;
import java.util.List;
/**
 * æ¸©æ¹¿åº¦æ£€æµ‹è®°å½•
 *
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class WhjlApi1301 implements Serializable {
    /**
     *
     */
    private static final long serialVersionUID = 1L;
    private String lqjcid; //粮情检测id
    private String jlqybh; //军粮企业编号
    private String ssqymc; //军粮企业名称
    private String jgzdbh; //军供站点编号
    private String jgzdmc; //军供站点名称
    private String cfbh; //仓房编号
    private String sscfmc; //仓房名称
    private String ajbh; //廒间编号
    private String ajmc; //廒间名称
    private Date jcsj; //检测时间
    private double cw; //仓温
    private double sw; //仓湿
    private double ww; //外温
    private double ws; //外湿
    private double pjlw; //平均粮温
    private double zglw; //最高粮温
    private double zdlw; //最低粮温
    private double pjlx; //平均粮湿
    private double zglx; //最高粮湿
    private double zdlx; //最低粮湿
    private String jcjg; //检测结果
    private List<WhjlWDZJH> wdzjh; //温度值集合
    private List<WhjlXDZJH> xdzjh; //湿度值集合
    private List<String> kctzid; //库存台帐ID集合
    //单独增加,不进行上传
    @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/WhjlApi1302.java
@@ -1,16 +1,16 @@
package com.fzzy.otherview.whhpjl.dto;
import com.alibaba.fastjson.annotation.JSONField;
import lombok.Data;
import lombok.EqualsAndHashCode;
import java.io.Serializable;
import java.util.Date;
import java.util.List;
/**
 * è´¨é‡ç®¡ç†-质检报告
 * è¿è¾“环境检测记录
 *
 * @author czt
 * @date 2023/8/2  20:45
 */
@Data
@EqualsAndHashCode(callSuper = false)
@@ -20,54 +20,28 @@
     */
    private static final long serialVersionUID = 1L;
    private String jcbgid;  //检测报告ID
    private String jcbgbh;  //检测报告编号
    private String chjlid; //运输环境记录id
    private String jlqybh;  //军粮企业编号
    private String ssqymc;  //军粮企业名称
    private String jgzdbh;  //军供站点编号
    private String jgzdmc;  //军供站点名称
    private String zjjgbm;  //质检机构编号
    private String zjjgmc;  //质检机构名称
    private String cpbh;  //产品编号
    private String cpmc;  //产品名称
    private String cppc;  //产品批次
    private String cpdj;  //产品等级
    private String dhrq;  //到货日期
    private String sccj;  //生产厂家
    private String scrq;  //生产日期
    private String cppl;  //产品批量
    private String cysm;  //抽样说明
    private String cysj;  //抽样时间
    private String cyr;  //抽样人
    private String cydd;  //抽样地点
    private String cybh;  //样品编号
    private String cybzid;  //采用标准ID
    private String jyca;  //检验方案
    private String jyjg;  //检验结果
    private String djr;  //登记人
    private String djsj;  //登记时间
    private String yplx;  //样品类型
    private String jyzt;  //检验状态
    private String cyjs;  //抽样基数
    private String cysl;  //抽样数量
    private String jysj;  //检验时间
    private String jybglx;  //检测报告类型
    private String jyr;  //检验人
    private String scxkzh;  //生产许可证号
    private String jggy;  //加工工艺
    private String cd;  //产地
    private String shsj;  //收获时间
    private String xxh;  //顺序号
    private String sfyx;  //是否有效
    private String bz;  //备注
    private String jcmx;  //检测明细
    private String jcbgwj;  //检测报告文件
    private String ydlx; //运单类型
    private String rwbh; //调度任务编号
    private String psclid; //配送车牌号
    private Date cjsj; //采集时间
    private double wdz; //温度值
    private double xdz; //湿度值
    private String wdzsfhg; //温度值是否合格
    private String xdzsfhg; //湿度值是否合格
    private List<WhjlCheckItm> checkItmList;
    private String jybgwjid;  //检验报告文件id
    private String wjm;  //文件名
    private String wjlj;  //文件路径
    private String wjdx;  //文件大小
    //单独增加,不进行上传
    @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/WhjlApi1303.java
@@ -1,15 +1,14 @@
package com.fzzy.otherview.whhpjl.dto;
import com.alibaba.fastjson.annotation.JSONField;
import lombok.Data;
import lombok.EqualsAndHashCode;
import java.io.Serializable;
import java.util.Date;
/**
 * å‚¨è¿çŽ¯å¢ƒ-粮情检测记录
 *
 * @author czt
 * @date 2023/8/2  20:50
 * æ¸©æ¹¿åº¦å‘Šè­¦è®°å½•
 */
@Data
@EqualsAndHashCode(callSuper = false)
@@ -19,32 +18,24 @@
     */
    private static final long serialVersionUID = 1L;
    private String lqjcid;  //粮情检测id
    private String wsdgjjlid; //温湿度告警记录id
    private String jlqybh;  //军粮企业编号
    private String ssqymc;  //军粮企业名称
    private String jlqymc; //军粮企业名称
    private String jgzdbh;  //军供站点编号
    private String jgzdmc;  //军供站点名称
    private String cfbh;  //仓房编号
    private String ajbh;  //廒间编号
    private String cpbh;  //产品编号
    private String shnd;  //收获年度
    private String djbm;  //等级编码
    private String djmc;  //等级名称
    private String sjsl;  //实际数量
    private String zbls;  //坐标列数
    private String zbhs;  //坐标行数
    private String zbcs;  //坐标层数
    private String cw;  //仓温
    private String sw;  //仓湿
    private String ww;  //外温
    private String ws;  //外湿
    private String pjlw;  //平均粮温
    private String zglw;  //最高粮温
    private String zdlw;  //最低粮温
    private String cwjg;  //测温结果
    private String jcsj;  //检测时间
    private String cwz;  //测温值
    private String sxh;  //顺序号
    private String jfyx;  //是否有效
    private Date gjsj; //告警时间
    private String gjbt; //告警标题
    private String gjms; //告警描述
    private String gjjb; //告警级别
    //单独增加,不进行上传
    @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/WhjlApi1304.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;
/**
 * å‚¨è¿çŽ¯å¢ƒ-能耗记录
@@ -26,11 +28,21 @@
    private String jgzdmc;  //军供站点名称
    private String ajbh;  //廒间编号
    private String sbbh;  //设备编号
    private String cjsj;  //采集时间
    private Date cjsj;  //采集时间
    private String nhz;  //能耗值
    private String nhxzz;  //能耗修正值
    private String nhzl;  //能耗增量
    private String nhxm;  //能耗项目
    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/WhjlApi1305.java
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,54 @@
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;
/**
 * å‚¨è¿çŽ¯å¢ƒ-调度配送任务
 *
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class WhjlApi1305 implements Serializable {
    /**
     *
     */
    private static final long serialVersionUID = 1L;
    private String psclid; //配送车辆ID
    private String cphm; //车牌号码
    private String lspzbm; //品种编号
    private String lspzmc; //品种名称
    private String cpbh; //产品编号
    private String cpmc; //产品名称
    private String sldwid; //计量单位id
    private double pssl; //配送数量
    private String pszt; //配送状态
    private double sdsl; //送到数量
    private Date yqsdsj; //要求送达时间
    private Date yskssj; //运送开始时间
    private Date ysjssj; //运送结束时间
    private String jsyxm; //驾驶员姓名
    private String jsysfzh; //驾驶员身份证号
    private String jsydh; //驾驶员电话
    private Date lssj; //揽收时间
    private Date sdqrsj; //送达确认时间
    private String sdqrr; //送达确认人
    private String ckm; //出库码
    private String bdkh; //北斗卡号
    //单独增加,不进行上传
    @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/WhjlApi1306.java
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,42 @@
package com.fzzy.otherview.whhpjl.dto;
import com.alibaba.fastjson.annotation.JSONField;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.codehaus.jackson.annotate.JsonProperty;
import java.io.Serializable;
import java.util.Date;
/**
 * å‚¨è¿çŽ¯å¢ƒ-北斗位置信息
 *
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class WhjlApi1306 implements Serializable {
    /**
     *
     */
    private static final long serialVersionUID = 1L;
    private String bdlswzid; //北斗位置ID
    private String bdkh; //北斗卡号
    private String jd; //经度
    private String wd; //纬度
    private String hbgd; //海拔高度
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private Date sbsj; //上报时间
    private String xhly; //信号来源
    //单独增加,不进行上传
    @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/WhjlApi1307.java
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,43 @@
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;
/**
 * å‚¨è¿çŽ¯å¢ƒ-北斗位置信息
 *
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class WhjlApi1307 implements Serializable {
    /**
     *
     */
    private static final long serialVersionUID = 1L;
    private String ysrwbdxxid; //运送任务北斗信息ID
    private String ysrwlx; //运送任务类型
    private String bdkh; //北斗卡号
    private String cph; //车牌号
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private Date jssj; //接收时间
    private String wd; //纬度
    private String jd; //经度
    private String ysrwmxid; //运送任务车辆ID
    //单独增加,不进行上传
    @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/WhjlApi1308.java
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,43 @@
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;
/**
 * å‚¨è¿çŽ¯å¢ƒ-视频预警告警
 *
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class WhjlApi1308 implements Serializable {
    /**
     *
     */
    private static final long serialVersionUID = 1L;
    private String gjjlid; //告警记录id
    private String xzqhbm; //行政区划编码
    private String xzqhmc; //行政区划名称
    private String jgzdbh; //军供站点编号
    private String jgzdmc; //军供站点名称
    private String gjsj; //告警时间
    private String gjjb; //告警级别
    private String gjbt; //告警标题
    private String gjms; //告警描述
    //单独增加,不进行上传
    @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/WhjlApi1309.java
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,48 @@
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;
/**
 * å‚¨è¿çŽ¯å¢ƒ-三通数据
 *
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class WhjlApi1309 implements Serializable {
    /**
     *
     */
    private static final long serialVersionUID = 1L;
    private String BDT_THREE_LINK_ID; //三通数据ID
    private String DIVISION_CODE; //行政区划编码
    private String DIVISION_NAME; //行政区划名称
    private String STATION_CODE; //站点编码
    private String STATION_NAME; //站点名称
    private Date STAT_DATE; //统计日期
    private double NUM_TOTAL_DATA; //上报数据数量
    private double NUM_YES_DATA; //上报数据成功数
    private double NUM_NOT_DATA; //上报数据失败数
    private double NUM_TOTAL_SYS; //应用系统数量
    private double NUM_YES_SYS; //系统正常数量
    private double NUM_NOT_SYS; //系统非正常数量
    private double NUM_TOTAL_CAMERA; //摄像头正常数量
    private double NUM_YES_CAMERA; //摄像头正常数
    private double NUM_NOT_CAMERA; //摄像头异常数
    //单独增加,不进行上传
    @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/WhjlApi1412.java
@@ -8,7 +8,7 @@
import java.util.Date;
/**
 * è½¦è¾†ä¿¡æ¯
 * è½¦è¾†è¿è¾“环境
 *
 */
@Data
@@ -19,30 +19,21 @@
     */
    private static final long serialVersionUID = 1L;
    private String rkfkjlid; //车辆ID
    private String jlgljgbh; //军粮管理机构编号
    private String jlgljgmc; //军粮管理机构名称
    private String clyshjid; //车辆运输环境ID
    private String jlqybh; //军粮企业编号
    private String jlqymc; //军粮企业名称
    private String jgzdbh; //军供站点编号
    private String jgzdmc; //军供站点名称
    private String cph; //车牌号
    private String cllx; //车辆类型
    private String clzt; //车辆状态
    private String sfnbcl; //是否内部车辆
    private String bd4gkh; //绑定4G卡号
    private String bdbdh; //绑定北斗号
    private String jsr; //驾驶人
    private String lxdh; //联系电话
    private String sfzh; //身份证号
    private String jsz; //驾驶证
    private String xsz; //行驶证
    private double clcxc; //车箱长
    private double clcxk; //车箱宽
    private double clcxg; //车箱高
    private String dz; //地址
    private String sfyx; //是否有效
    private String bz; //备注
    private String psdh; //配送单号
    private String cph; //车牌号码
    private Date jcsj; //监测时间
    private double jcwdz; //温度值
    private double sdz; //湿度值
    private String wdsfzc; //温度是否正常:
    private String sdsfzc; //湿度是否正常:
    private String cyr; //承运人
    private String cyrdh; //承运人电话
    //单独增加,不进行上传
src/main/java/com/fzzy/otherview/whhpjl/dto/WhjlApi1413.java
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,49 @@
package com.fzzy.otherview.whhpjl.dto;
import com.alibaba.fastjson.annotation.JSONField;
import lombok.Data;
import lombok.EqualsAndHashCode;
import java.io.Serializable;
import java.util.Date;
import java.util.List;
/**
 * è¿è¾“路线
 *
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class WhjlApi1413 implements Serializable {
    /**
     *
     */
    private static final long serialVersionUID = 1L;
    private String lxid; //路线id
    private String jlqybh; //军粮企业编号
    private String jlqymc; //军粮企业名称
    private String jgzdbh; //军供站点编号
    private String jgzdmc; //军供站点名称
    private String lxbm; //路线编码
    private String cfd; //出发地
    private String mdd; //目的地
    private double cfdjd; //出发地经度
    private double cfdwd; //出发地纬度
    private double mddjd; //目的地经度
    private double mddwd; //目的地纬度
    private String sfyx; //是否有效
    private List<WhjlLXZBMX> lxzbmx; //路线坐标明细
    //单独增加,不进行上传
    @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/WhjlLXZBMX.java
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,23 @@
package com.fzzy.otherview.whhpjl.dto;
import lombok.Data;
import lombok.EqualsAndHashCode;
import java.io.Serializable;
/**
 * åæ ‡è·¯çº¿æ˜Žç»†
 **/
@Data
@EqualsAndHashCode(callSuper = false)
public class WhjlLXZBMX implements Serializable {
    /**
     *
     */
    private static final long serialVersionUID = 1L;
    private String zbdid; //坐标点明细id
    private double zbdwd; //坐标点经度
    private double zbdjd; //坐标点纬度
    private Integer sxh; //顺序号
}
src/main/java/com/fzzy/otherview/whhpjl/dto/WhjlWDZJH.java
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,25 @@
package com.fzzy.otherview.whhpjl.dto;
import lombok.Data;
import lombok.EqualsAndHashCode;
import java.io.Serializable;
/**
 * æ¸©åº¦å€¼é›†åˆ
 **/
@Data
@EqualsAndHashCode(callSuper = false)
public class WhjlWDZJH implements Serializable {
    /**
     *
     */
    private static final long serialVersionUID = 1L;
    private String sxh; //顺序号
    private double wdz; //温度值
    private String hwbh; //货位编号
    private String jcjg; //检测结果
}
src/main/java/com/fzzy/otherview/whhpjl/dto/WhjlWHJLZP.java
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,29 @@
package com.fzzy.otherview.whhpjl.dto;
import lombok.Data;
import lombok.EqualsAndHashCode;
import java.io.Serializable;
/**
 * @Author: YYC
 * @Description:检测能力
 * @DateTime: 2023-10-29 22:21
 **/
@Data
@EqualsAndHashCode(callSuper = false)
public class WhjlWHJLZP implements Serializable {
    /**
     *
     */
    private static final long serialVersionUID = 1L;
    private String zpid;  //照片id
    private String zpmc;  //照片名称
    private String zplj;  //照片路径
    private Integer zpdx;  //照片大小
}
src/main/java/com/fzzy/otherview/whhpjl/dto/WhjlXDZJH.java
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,25 @@
package com.fzzy.otherview.whhpjl.dto;
import lombok.Data;
import lombok.EqualsAndHashCode;
import java.io.Serializable;
/**
 * æ¹¿åº¦å€¼é›†åˆ
 **/
@Data
@EqualsAndHashCode(callSuper = false)
public class WhjlXDZJH implements Serializable {
    /**
     *
     */
    private static final long serialVersionUID = 1L;
    private String sxh; //顺序号
    private double sdz; //湿度值
    private String hwbh; //货位编号
    private String jcjg; //检测结果
}
src/main/java/com/fzzy/otherview/whhpjl/pr/WhjlApi1112PR.java
@@ -18,7 +18,6 @@
import com.fzzy.api.view.repository.ApiInfoDataRep;
import com.fzzy.otherview.whhpjl.WhjlConstant;
import com.fzzy.otherview.whhpjl.dto.WhjlApi1112;
import com.fzzy.otherview.whhpjl.dto.WhjlApi1112;
import org.apache.commons.lang.StringUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.domain.PageRequest;
src/main/java/com/fzzy/otherview/whhpjl/pr/WhjlApi1113PR.java
@@ -53,7 +53,7 @@
    /**
     * èŽ·å–åˆ—è¡¨ä¿¡æ¯
     * WhjlApi1113PR#listData
     * whjlApi1113PR#listData
     *
     * @return
     */
@@ -121,7 +121,7 @@
        ApiInfoData infoData = new ApiInfoData();
        infoData.setId(data.getBizId());
        infoData.setKqdm(data.getKqdm());
        infoData.setInteType(WhjlConstant.API_CATEGORY_12);
        infoData.setInteType(WhjlConstant.API_CATEGORY_13);
        infoData.setInteId(WhjlConstant.API_CODE_1113);
        infoData.setUpdateTime(new Date());
        infoData.setDataId(data.getBizId());
@@ -165,7 +165,7 @@
        }
        //封装参数
        ApiParam param = new ApiParam(apiConf, WhjlConstant.API_CATEGORY_12, WhjlConstant.API_CODE_1113);
        ApiParam param = new ApiParam(apiConf, WhjlConstant.API_CATEGORY_13, WhjlConstant.API_CODE_1113);
        //获取实现接口
        ApiRemoteService apiService = apiPushManager.getApiRemoteService(param.getPushProtocol());
@@ -182,7 +182,7 @@
                    infoData = new ApiInfoData();
                    infoData.setId(data.getBizId());
                    infoData.setKqdm(data.getKqdm());
                    infoData.setInteType(WhjlConstant.API_CATEGORY_12);
                    infoData.setInteType(WhjlConstant.API_CATEGORY_13);
                    infoData.setInteId(WhjlConstant.API_CODE_1113);
                    infoData.setUpdateTime(new Date());
                    infoData.setDataId(data.getBizId());
src/main/java/com/fzzy/otherview/whhpjl/pr/WhjlApi1114PR.java
@@ -52,7 +52,7 @@
    /**
     * èŽ·å–åˆ—è¡¨ä¿¡æ¯
     * WhjlApi1114PR#listData
     * whjlApi1114PR#listData
     *
     * @return
     */
src/main/java/com/fzzy/otherview/whhpjl/pr/WhjlApi1206PR.java
@@ -131,7 +131,6 @@
     */
    @DataResolver
    public void saveData(WhjlApi1206 data) {
        data.setHtspqdList(JSON.toJSONString(data.getHtspqd()));
        ApiInfoData infoData;
        List<ApiInfoData> apiInfoList = apiInfoDataRep.getDataByInteAndData(WhjlConstant.API_CODE_1206, data.getBizId(), data.getKqdm());
        if (apiInfoList.size() != 0) {
src/main/java/com/fzzy/otherview/whhpjl/pr/WhjlApi1301PR.java
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,156 @@
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.WhjlApi1301;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
/**
 * æ¸©æ¹¿åº¦æ£€æµ‹è®°å½•
 *
 */
@Component
public class WhjlApi1301PR {
    @Autowired
    private ApiCommonService apiCommonService;
    @Autowired
    private ApiPushManager apiPushManager;
    @Autowired
    private ApiInfoDataRep apiInfoDataRep;
    /**
     * èŽ·å–åˆ—è¡¨ä¿¡æ¯
     * whjlApi1301PR#listData
     *
     * @return
     */
    @DataProvider
    public List<WhjlApi1301> listData() {
        List<ApiInfoData> result = apiInfoDataRep.getDataByInteId(WhjlConstant.API_CODE_1301);
        if (null == result || result.isEmpty()) {
            return null;
        }
        List<WhjlApi1301> list = new ArrayList<>();
        WhjlApi1301 whjlApi1301;
        for (ApiInfoData infoData : result) {
            whjlApi1301 = JSONObject.parseObject(infoData.getData(), WhjlApi1301.class);
            whjlApi1301.setKqdm(infoData.getKqdm());
            whjlApi1301.setCzbz(infoData.getCzbz());
            whjlApi1301.setUpdateTime(infoData.getUpdateTime());
            whjlApi1301.setBizId(infoData.getDataId());
            list.add(whjlApi1301);
        }
        return list;
    }
    /**
     * æ›´æ–°æˆ–修改
     * whjlApi1301PR#saveData
     *
     * @param data
     * @return
     */
    @DataResolver
    public void saveData(WhjlApi1301 data) {
        ApiInfoData infoData = new ApiInfoData();
        infoData.setId(data.getBizId());
        infoData.setKqdm(data.getKqdm());
        infoData.setInteType(WhjlConstant.API_CATEGORY_12);
        infoData.setInteId(WhjlConstant.API_CODE_1301);
        infoData.setUpdateTime(new Date());
        infoData.setDataId(data.getBizId());
        infoData.setData(JSON.toJSONString(data));
        infoData.setCzbz(data.getCzbz());
        infoData.setRemarks("备注信息");
        apiInfoDataRep.save(infoData);
    }
    /**
     * åˆ é™¤
     * whjlApi1301PR#delData
     *
     * @param data
     * @return
     */
    @Expose
    public String delData(WhjlApi1301 data) {
        apiInfoDataRep.deleteById(data.getBizId());
        return null;
    }
    /**
     * ä¸Šä¼ 
     * whjlApi1301PR#pushData
     *
     * @param items
     * @return
     */
    @Expose
    public String pushData(List<WhjlApi1301> 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_1301);
        //获取实现接口
        ApiRemoteService apiService = apiPushManager.getApiRemoteService(param.getPushProtocol());
        if (null == apiService) {
            return "系统没有当前推送协议配置,执行失败";
        }
        ApiInfoData infoData;
        ResponseDto responseDto;
        for (WhjlApi1301 data : items) {
            responseDto = apiService.pushData(param, apiConf, data);
            if (responseDto.getSuccess() == 0) {
                if (Constant.CZBZ_I.equals(data.getCzbz())) {
                    infoData = new ApiInfoData();
                    infoData.setId(data.getBizId());
                    infoData.setKqdm(data.getKqdm());
                    infoData.setInteType(WhjlConstant.API_CATEGORY_12);
                    infoData.setInteId(WhjlConstant.API_CODE_1301);
                    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/WhjlApi1302PR.java
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,156 @@
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.WhjlApi1302;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
/**
 * æ¸©æ¹¿åº¦å‘Šè­¦è®°å½•
 *
 */
@Component
public class WhjlApi1302PR {
    @Autowired
    private ApiCommonService apiCommonService;
    @Autowired
    private ApiPushManager apiPushManager;
    @Autowired
    private ApiInfoDataRep apiInfoDataRep;
    /**
     * èŽ·å–åˆ—è¡¨ä¿¡æ¯
     * whjlApi1302PR#listData
     *
     * @return
     */
    @DataProvider
    public List<WhjlApi1302> listData() {
        List<ApiInfoData> result = apiInfoDataRep.getDataByInteId(WhjlConstant.API_CODE_1302);
        if (null == result || result.isEmpty()) {
            return null;
        }
        List<WhjlApi1302> list = new ArrayList<>();
        WhjlApi1302 whjlApi1302;
        for (ApiInfoData infoData : result) {
            whjlApi1302 = JSONObject.parseObject(infoData.getData(), WhjlApi1302.class);
            whjlApi1302.setKqdm(infoData.getKqdm());
            whjlApi1302.setCzbz(infoData.getCzbz());
            whjlApi1302.setUpdateTime(infoData.getUpdateTime());
            whjlApi1302.setBizId(infoData.getDataId());
            list.add(whjlApi1302);
        }
        return list;
    }
    /**
     * æ›´æ–°æˆ–修改
     * whjlApi1302PR#saveData
     *
     * @param data
     * @return
     */
    @DataResolver
    public void saveData(WhjlApi1302 data) {
        ApiInfoData infoData = new ApiInfoData();
        infoData.setId(data.getBizId());
        infoData.setKqdm(data.getKqdm());
        infoData.setInteType(WhjlConstant.API_CATEGORY_13);
        infoData.setInteId(WhjlConstant.API_CODE_1302);
        infoData.setUpdateTime(new Date());
        infoData.setDataId(data.getBizId());
        infoData.setData(JSON.toJSONString(data));
        infoData.setCzbz(data.getCzbz());
        infoData.setRemarks("备注信息");
        apiInfoDataRep.save(infoData);
    }
    /**
     * åˆ é™¤
     * whjlApi1302PR#delData
     *
     * @param data
     * @return
     */
    @Expose
    public String delData(WhjlApi1302 data) {
        apiInfoDataRep.deleteById(data.getBizId());
        return null;
    }
    /**
     * ä¸Šä¼ 
     * whjlApi1302PR#pushData
     *
     * @param items
     * @return
     */
    @Expose
    public String pushData(List<WhjlApi1302> 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_1302);
        //获取实现接口
        ApiRemoteService apiService = apiPushManager.getApiRemoteService(param.getPushProtocol());
        if (null == apiService) {
            return "系统没有当前推送协议配置,执行失败";
        }
        ApiInfoData infoData;
        ResponseDto responseDto;
        for (WhjlApi1302 data : items) {
            responseDto = apiService.pushData(param, apiConf, data);
            if (responseDto.getSuccess() == 0) {
                if (Constant.CZBZ_I.equals(data.getCzbz())) {
                    infoData = new ApiInfoData();
                    infoData.setId(data.getBizId());
                    infoData.setKqdm(data.getKqdm());
                    infoData.setInteType(WhjlConstant.API_CATEGORY_12);
                    infoData.setInteId(WhjlConstant.API_CODE_1302);
                    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/WhjlApi1303PR.java
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,156 @@
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.WhjlApi1303;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
/**
 * æ¸©æ¹¿åº¦å‘Šè­¦è®°å½•
 *
 */
@Component
public class WhjlApi1303PR {
    @Autowired
    private ApiCommonService apiCommonService;
    @Autowired
    private ApiPushManager apiPushManager;
    @Autowired
    private ApiInfoDataRep apiInfoDataRep;
    /**
     * èŽ·å–åˆ—è¡¨ä¿¡æ¯
     * whjlApi1303PR#listData
     *
     * @return
     */
    @DataProvider
    public List<WhjlApi1303> listData() {
        List<ApiInfoData> result = apiInfoDataRep.getDataByInteId(WhjlConstant.API_CODE_1303);
        if (null == result || result.isEmpty()) {
            return null;
        }
        List<WhjlApi1303> list = new ArrayList<>();
        WhjlApi1303 whjlApi1303;
        for (ApiInfoData infoData : result) {
            whjlApi1303 = JSONObject.parseObject(infoData.getData(), WhjlApi1303.class);
            whjlApi1303.setKqdm(infoData.getKqdm());
            whjlApi1303.setCzbz(infoData.getCzbz());
            whjlApi1303.setUpdateTime(infoData.getUpdateTime());
            whjlApi1303.setBizId(infoData.getDataId());
            list.add(whjlApi1303);
        }
        return list;
    }
    /**
     * æ›´æ–°æˆ–修改
     * whjlApi1303PR#saveData
     *
     * @param data
     * @return
     */
    @DataResolver
    public void saveData(WhjlApi1303 data) {
        ApiInfoData infoData = new ApiInfoData();
        infoData.setId(data.getBizId());
        infoData.setKqdm(data.getKqdm());
        infoData.setInteType(WhjlConstant.API_CATEGORY_13);
        infoData.setInteId(WhjlConstant.API_CODE_1303);
        infoData.setUpdateTime(new Date());
        infoData.setDataId(data.getBizId());
        infoData.setData(JSON.toJSONString(data));
        infoData.setCzbz(data.getCzbz());
        infoData.setRemarks("备注信息");
        apiInfoDataRep.save(infoData);
    }
    /**
     * åˆ é™¤
     * whjlApi1303PR#delData
     *
     * @param data
     * @return
     */
    @Expose
    public String delData(WhjlApi1303 data) {
        apiInfoDataRep.deleteById(data.getBizId());
        return null;
    }
    /**
     * ä¸Šä¼ 
     * whjlApi1303PR#pushData
     *
     * @param items
     * @return
     */
    @Expose
    public String pushData(List<WhjlApi1303> 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_13, WhjlConstant.API_CODE_1303);
        //获取实现接口
        ApiRemoteService apiService = apiPushManager.getApiRemoteService(param.getPushProtocol());
        if (null == apiService) {
            return "系统没有当前推送协议配置,执行失败";
        }
        ApiInfoData infoData;
        ResponseDto responseDto;
        for (WhjlApi1303 data : items) {
            responseDto = apiService.pushData(param, apiConf, data);
            if (responseDto.getSuccess() == 0) {
                if (Constant.CZBZ_I.equals(data.getCzbz())) {
                    infoData = new ApiInfoData();
                    infoData.setId(data.getBizId());
                    infoData.setKqdm(data.getKqdm());
                    infoData.setInteType(WhjlConstant.API_CATEGORY_13);
                    infoData.setInteId(WhjlConstant.API_CODE_1303);
                    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/WhjlApi1304PR.java
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,156 @@
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.WhjlApi1304;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
/**
 * æ¸©æ¹¿åº¦å‘Šè­¦è®°å½•
 *
 */
@Component
public class WhjlApi1304PR {
    @Autowired
    private ApiCommonService apiCommonService;
    @Autowired
    private ApiPushManager apiPushManager;
    @Autowired
    private ApiInfoDataRep apiInfoDataRep;
    /**
     * èŽ·å–åˆ—è¡¨ä¿¡æ¯
     * whjlApi1304PR#listData
     *
     * @return
     */
    @DataProvider
    public List<WhjlApi1304> listData() {
        List<ApiInfoData> result = apiInfoDataRep.getDataByInteId(WhjlConstant.API_CODE_1304);
        if (null == result || result.isEmpty()) {
            return null;
        }
        List<WhjlApi1304> list = new ArrayList<>();
        WhjlApi1304 whjlApi1304;
        for (ApiInfoData infoData : result) {
            whjlApi1304 = JSONObject.parseObject(infoData.getData(), WhjlApi1304.class);
            whjlApi1304.setKqdm(infoData.getKqdm());
            whjlApi1304.setCzbz(infoData.getCzbz());
            whjlApi1304.setUpdateTime(infoData.getUpdateTime());
            whjlApi1304.setBizId(infoData.getDataId());
            list.add(whjlApi1304);
        }
        return list;
    }
    /**
     * æ›´æ–°æˆ–修改
     * whjlApi1304PR#saveData
     *
     * @param data
     * @return
     */
    @DataResolver
    public void saveData(WhjlApi1304 data) {
        ApiInfoData infoData = new ApiInfoData();
        infoData.setId(data.getBizId());
        infoData.setKqdm(data.getKqdm());
        infoData.setInteType(WhjlConstant.API_CATEGORY_13);
        infoData.setInteId(WhjlConstant.API_CODE_1304);
        infoData.setUpdateTime(new Date());
        infoData.setDataId(data.getBizId());
        infoData.setData(JSON.toJSONString(data));
        infoData.setCzbz(data.getCzbz());
        infoData.setRemarks("备注信息");
        apiInfoDataRep.save(infoData);
    }
    /**
     * åˆ é™¤
     * whjlApi1304PR#delData
     *
     * @param data
     * @return
     */
    @Expose
    public String delData(WhjlApi1304 data) {
        apiInfoDataRep.deleteById(data.getBizId());
        return null;
    }
    /**
     * ä¸Šä¼ 
     * whjlApi1304PR#pushData
     *
     * @param items
     * @return
     */
    @Expose
    public String pushData(List<WhjlApi1304> 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_13, WhjlConstant.API_CODE_1304);
        //获取实现接口
        ApiRemoteService apiService = apiPushManager.getApiRemoteService(param.getPushProtocol());
        if (null == apiService) {
            return "系统没有当前推送协议配置,执行失败";
        }
        ApiInfoData infoData;
        ResponseDto responseDto;
        for (WhjlApi1304 data : items) {
            responseDto = apiService.pushData(param, apiConf, data);
            if (responseDto.getSuccess() == 0) {
                if (Constant.CZBZ_I.equals(data.getCzbz())) {
                    infoData = new ApiInfoData();
                    infoData.setId(data.getBizId());
                    infoData.setKqdm(data.getKqdm());
                    infoData.setInteType(WhjlConstant.API_CATEGORY_13);
                    infoData.setInteId(WhjlConstant.API_CODE_1304);
                    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/WhjlApi1305PR.java
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,156 @@
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.WhjlApi1305;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
/**
 * æ¸©æ¹¿åº¦å‘Šè­¦è®°å½•
 *
 */
@Component
public class WhjlApi1305PR {
    @Autowired
    private ApiCommonService apiCommonService;
    @Autowired
    private ApiPushManager apiPushManager;
    @Autowired
    private ApiInfoDataRep apiInfoDataRep;
    /**
     * èŽ·å–åˆ—è¡¨ä¿¡æ¯
     * whjlApi1305PR#listData
     *
     * @return
     */
    @DataProvider
    public List<WhjlApi1305> listData() {
        List<ApiInfoData> result = apiInfoDataRep.getDataByInteId(WhjlConstant.API_CODE_1305);
        if (null == result || result.isEmpty()) {
            return null;
        }
        List<WhjlApi1305> list = new ArrayList<>();
        WhjlApi1305 whjlApi1305;
        for (ApiInfoData infoData : result) {
            whjlApi1305 = JSONObject.parseObject(infoData.getData(), WhjlApi1305.class);
            whjlApi1305.setKqdm(infoData.getKqdm());
            whjlApi1305.setCzbz(infoData.getCzbz());
            whjlApi1305.setUpdateTime(infoData.getUpdateTime());
            whjlApi1305.setBizId(infoData.getDataId());
            list.add(whjlApi1305);
        }
        return list;
    }
    /**
     * æ›´æ–°æˆ–修改
     * whjlApi1305PR#saveData
     *
     * @param data
     * @return
     */
    @DataResolver
    public void saveData(WhjlApi1305 data) {
        ApiInfoData infoData = new ApiInfoData();
        infoData.setId(data.getBizId());
        infoData.setKqdm(data.getKqdm());
        infoData.setInteType(WhjlConstant.API_CATEGORY_13);
        infoData.setInteId(WhjlConstant.API_CODE_1305);
        infoData.setUpdateTime(new Date());
        infoData.setDataId(data.getBizId());
        infoData.setData(JSON.toJSONString(data));
        infoData.setCzbz(data.getCzbz());
        infoData.setRemarks("备注信息");
        apiInfoDataRep.save(infoData);
    }
    /**
     * åˆ é™¤
     * whjlApi1305PR#delData
     *
     * @param data
     * @return
     */
    @Expose
    public String delData(WhjlApi1305 data) {
        apiInfoDataRep.deleteById(data.getBizId());
        return null;
    }
    /**
     * ä¸Šä¼ 
     * whjlApi1305PR#pushData
     *
     * @param items
     * @return
     */
    @Expose
    public String pushData(List<WhjlApi1305> 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_13, WhjlConstant.API_CODE_1305);
        //获取实现接口
        ApiRemoteService apiService = apiPushManager.getApiRemoteService(param.getPushProtocol());
        if (null == apiService) {
            return "系统没有当前推送协议配置,执行失败";
        }
        ApiInfoData infoData;
        ResponseDto responseDto;
        for (WhjlApi1305 data : items) {
            responseDto = apiService.pushData(param, apiConf, data);
            if (responseDto.getSuccess() == 0) {
                if (Constant.CZBZ_I.equals(data.getCzbz())) {
                    infoData = new ApiInfoData();
                    infoData.setId(data.getBizId());
                    infoData.setKqdm(data.getKqdm());
                    infoData.setInteType(WhjlConstant.API_CATEGORY_13);
                    infoData.setInteId(WhjlConstant.API_CODE_1305);
                    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/WhjlApi1306PR.java
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,156 @@
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.WhjlApi1306;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
/**
 * æ¸©æ¹¿åº¦å‘Šè­¦è®°å½•
 *
 */
@Component
public class WhjlApi1306PR {
    @Autowired
    private ApiCommonService apiCommonService;
    @Autowired
    private ApiPushManager apiPushManager;
    @Autowired
    private ApiInfoDataRep apiInfoDataRep;
    /**
     * èŽ·å–åˆ—è¡¨ä¿¡æ¯
     * whjlApi1306PR#listData
     *
     * @return
     */
    @DataProvider
    public List<WhjlApi1306> listData() {
        List<ApiInfoData> result = apiInfoDataRep.getDataByInteId(WhjlConstant.API_CODE_1306);
        if (null == result || result.isEmpty()) {
            return null;
        }
        List<WhjlApi1306> list = new ArrayList<>();
        WhjlApi1306 whjlApi1306;
        for (ApiInfoData infoData : result) {
            whjlApi1306 = JSONObject.parseObject(infoData.getData(), WhjlApi1306.class);
            whjlApi1306.setKqdm(infoData.getKqdm());
            whjlApi1306.setCzbz(infoData.getCzbz());
            whjlApi1306.setUpdateTime(infoData.getUpdateTime());
            whjlApi1306.setBizId(infoData.getDataId());
            list.add(whjlApi1306);
        }
        return list;
    }
    /**
     * æ›´æ–°æˆ–修改
     * whjlApi1306PR#saveData
     *
     * @param data
     * @return
     */
    @DataResolver
    public void saveData(WhjlApi1306 data) {
        ApiInfoData infoData = new ApiInfoData();
        infoData.setId(data.getBizId());
        infoData.setKqdm(data.getKqdm());
        infoData.setInteType(WhjlConstant.API_CATEGORY_13);
        infoData.setInteId(WhjlConstant.API_CODE_1306);
        infoData.setUpdateTime(new Date());
        infoData.setDataId(data.getBizId());
        infoData.setData(JSON.toJSONString(data));
        infoData.setCzbz(data.getCzbz());
        infoData.setRemarks("备注信息");
        apiInfoDataRep.save(infoData);
    }
    /**
     * åˆ é™¤
     * whjlApi1306PR#delData
     *
     * @param data
     * @return
     */
    @Expose
    public String delData(WhjlApi1306 data) {
        apiInfoDataRep.deleteById(data.getBizId());
        return null;
    }
    /**
     * ä¸Šä¼ 
     * whjlApi1306PR#pushData
     *
     * @param items
     * @return
     */
    @Expose
    public String pushData(List<WhjlApi1306> 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_13, WhjlConstant.API_CODE_1306);
        //获取实现接口
        ApiRemoteService apiService = apiPushManager.getApiRemoteService(param.getPushProtocol());
        if (null == apiService) {
            return "系统没有当前推送协议配置,执行失败";
        }
        ApiInfoData infoData;
        ResponseDto responseDto;
        for (WhjlApi1306 data : items) {
            responseDto = apiService.pushData(param, apiConf, data);
            if (responseDto.getSuccess() == 0) {
                if (Constant.CZBZ_I.equals(data.getCzbz())) {
                    infoData = new ApiInfoData();
                    infoData.setId(data.getBizId());
                    infoData.setKqdm(data.getKqdm());
                    infoData.setInteType(WhjlConstant.API_CATEGORY_13);
                    infoData.setInteId(WhjlConstant.API_CODE_1306);
                    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/WhjlApi1307PR.java
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,156 @@
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.WhjlApi1307;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
/**
 * æ¸©æ¹¿åº¦å‘Šè­¦è®°å½•
 *
 */
@Component
public class WhjlApi1307PR {
    @Autowired
    private ApiCommonService apiCommonService;
    @Autowired
    private ApiPushManager apiPushManager;
    @Autowired
    private ApiInfoDataRep apiInfoDataRep;
    /**
     * èŽ·å–åˆ—è¡¨ä¿¡æ¯
     * whjlApi1307PR#listData
     *
     * @return
     */
    @DataProvider
    public List<WhjlApi1307> listData() {
        List<ApiInfoData> result = apiInfoDataRep.getDataByInteId(WhjlConstant.API_CODE_1307);
        if (null == result || result.isEmpty()) {
            return null;
        }
        List<WhjlApi1307> list = new ArrayList<>();
        WhjlApi1307 whjlApi1307;
        for (ApiInfoData infoData : result) {
            whjlApi1307 = JSONObject.parseObject(infoData.getData(), WhjlApi1307.class);
            whjlApi1307.setKqdm(infoData.getKqdm());
            whjlApi1307.setCzbz(infoData.getCzbz());
            whjlApi1307.setUpdateTime(infoData.getUpdateTime());
            whjlApi1307.setBizId(infoData.getDataId());
            list.add(whjlApi1307);
        }
        return list;
    }
    /**
     * æ›´æ–°æˆ–修改
     * whjlApi1307PR#saveData
     *
     * @param data
     * @return
     */
    @DataResolver
    public void saveData(WhjlApi1307 data) {
        ApiInfoData infoData = new ApiInfoData();
        infoData.setId(data.getBizId());
        infoData.setKqdm(data.getKqdm());
        infoData.setInteType(WhjlConstant.API_CATEGORY_13);
        infoData.setInteId(WhjlConstant.API_CODE_1307);
        infoData.setUpdateTime(new Date());
        infoData.setDataId(data.getBizId());
        infoData.setData(JSON.toJSONString(data));
        infoData.setCzbz(data.getCzbz());
        infoData.setRemarks("备注信息");
        apiInfoDataRep.save(infoData);
    }
    /**
     * åˆ é™¤
     * whjlApi1307PR#delData
     *
     * @param data
     * @return
     */
    @Expose
    public String delData(WhjlApi1307 data) {
        apiInfoDataRep.deleteById(data.getBizId());
        return null;
    }
    /**
     * ä¸Šä¼ 
     * whjlApi1307PR#pushData
     *
     * @param items
     * @return
     */
    @Expose
    public String pushData(List<WhjlApi1307> 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_13, WhjlConstant.API_CODE_1307);
        //获取实现接口
        ApiRemoteService apiService = apiPushManager.getApiRemoteService(param.getPushProtocol());
        if (null == apiService) {
            return "系统没有当前推送协议配置,执行失败";
        }
        ApiInfoData infoData;
        ResponseDto responseDto;
        for (WhjlApi1307 data : items) {
            responseDto = apiService.pushData(param, apiConf, data);
            if (responseDto.getSuccess() == 0) {
                if (Constant.CZBZ_I.equals(data.getCzbz())) {
                    infoData = new ApiInfoData();
                    infoData.setId(data.getBizId());
                    infoData.setKqdm(data.getKqdm());
                    infoData.setInteType(WhjlConstant.API_CATEGORY_13);
                    infoData.setInteId(WhjlConstant.API_CODE_1307);
                    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/WhjlApi1308PR.java
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,156 @@
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.WhjlApi1308;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
/**
 * æ¸©æ¹¿åº¦å‘Šè­¦è®°å½•
 *
 */
@Component
public class WhjlApi1308PR {
    @Autowired
    private ApiCommonService apiCommonService;
    @Autowired
    private ApiPushManager apiPushManager;
    @Autowired
    private ApiInfoDataRep apiInfoDataRep;
    /**
     * èŽ·å–åˆ—è¡¨ä¿¡æ¯
     * whjlApi1308PR#listData
     *
     * @return
     */
    @DataProvider
    public List<WhjlApi1308> listData() {
        List<ApiInfoData> result = apiInfoDataRep.getDataByInteId(WhjlConstant.API_CODE_1308);
        if (null == result || result.isEmpty()) {
            return null;
        }
        List<WhjlApi1308> list = new ArrayList<>();
        WhjlApi1308 whjlApi1308;
        for (ApiInfoData infoData : result) {
            whjlApi1308 = JSONObject.parseObject(infoData.getData(), WhjlApi1308.class);
            whjlApi1308.setKqdm(infoData.getKqdm());
            whjlApi1308.setCzbz(infoData.getCzbz());
            whjlApi1308.setUpdateTime(infoData.getUpdateTime());
            whjlApi1308.setBizId(infoData.getDataId());
            list.add(whjlApi1308);
        }
        return list;
    }
    /**
     * æ›´æ–°æˆ–修改
     * whjlApi1308PR#saveData
     *
     * @param data
     * @return
     */
    @DataResolver
    public void saveData(WhjlApi1308 data) {
        ApiInfoData infoData = new ApiInfoData();
        infoData.setId(data.getBizId());
        infoData.setKqdm(data.getKqdm());
        infoData.setInteType(WhjlConstant.API_CATEGORY_13);
        infoData.setInteId(WhjlConstant.API_CODE_1308);
        infoData.setUpdateTime(new Date());
        infoData.setDataId(data.getBizId());
        infoData.setData(JSON.toJSONString(data));
        infoData.setCzbz(data.getCzbz());
        infoData.setRemarks("备注信息");
        apiInfoDataRep.save(infoData);
    }
    /**
     * åˆ é™¤
     * whjlApi1308PR#delData
     *
     * @param data
     * @return
     */
    @Expose
    public String delData(WhjlApi1308 data) {
        apiInfoDataRep.deleteById(data.getBizId());
        return null;
    }
    /**
     * ä¸Šä¼ 
     * whjlApi1308PR#pushData
     *
     * @param items
     * @return
     */
    @Expose
    public String pushData(List<WhjlApi1308> 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_13, WhjlConstant.API_CODE_1308);
        //获取实现接口
        ApiRemoteService apiService = apiPushManager.getApiRemoteService(param.getPushProtocol());
        if (null == apiService) {
            return "系统没有当前推送协议配置,执行失败";
        }
        ApiInfoData infoData;
        ResponseDto responseDto;
        for (WhjlApi1308 data : items) {
            responseDto = apiService.pushData(param, apiConf, data);
            if (responseDto.getSuccess() == 0) {
                if (Constant.CZBZ_I.equals(data.getCzbz())) {
                    infoData = new ApiInfoData();
                    infoData.setId(data.getBizId());
                    infoData.setKqdm(data.getKqdm());
                    infoData.setInteType(WhjlConstant.API_CATEGORY_13);
                    infoData.setInteId(WhjlConstant.API_CODE_1308);
                    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/WhjlApi1309PR.java
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,156 @@
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.WhjlApi1309;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
/**
 * æ¸©æ¹¿åº¦å‘Šè­¦è®°å½•
 *
 */
@Component
public class WhjlApi1309PR {
    @Autowired
    private ApiCommonService apiCommonService;
    @Autowired
    private ApiPushManager apiPushManager;
    @Autowired
    private ApiInfoDataRep apiInfoDataRep;
    /**
     * èŽ·å–åˆ—è¡¨ä¿¡æ¯
     * whjlApi1309PR#listData
     *
     * @return
     */
    @DataProvider
    public List<WhjlApi1309> listData() {
        List<ApiInfoData> result = apiInfoDataRep.getDataByInteId(WhjlConstant.API_CODE_1309);
        if (null == result || result.isEmpty()) {
            return null;
        }
        List<WhjlApi1309> list = new ArrayList<>();
        WhjlApi1309 whjlApi1309;
        for (ApiInfoData infoData : result) {
            whjlApi1309 = JSONObject.parseObject(infoData.getData(), WhjlApi1309.class);
            whjlApi1309.setKqdm(infoData.getKqdm());
            whjlApi1309.setCzbz(infoData.getCzbz());
            whjlApi1309.setUpdateTime(infoData.getUpdateTime());
            whjlApi1309.setBizId(infoData.getDataId());
            list.add(whjlApi1309);
        }
        return list;
    }
    /**
     * æ›´æ–°æˆ–修改
     * whjlApi1309PR#saveData
     *
     * @param data
     * @return
     */
    @DataResolver
    public void saveData(WhjlApi1309 data) {
        ApiInfoData infoData = new ApiInfoData();
        infoData.setId(data.getBizId());
        infoData.setKqdm(data.getKqdm());
        infoData.setInteType(WhjlConstant.API_CATEGORY_13);
        infoData.setInteId(WhjlConstant.API_CODE_1309);
        infoData.setUpdateTime(new Date());
        infoData.setDataId(data.getBizId());
        infoData.setData(JSON.toJSONString(data));
        infoData.setCzbz(data.getCzbz());
        infoData.setRemarks("备注信息");
        apiInfoDataRep.save(infoData);
    }
    /**
     * åˆ é™¤
     * whjlApi1309PR#delData
     *
     * @param data
     * @return
     */
    @Expose
    public String delData(WhjlApi1309 data) {
        apiInfoDataRep.deleteById(data.getBizId());
        return null;
    }
    /**
     * ä¸Šä¼ 
     * whjlApi1309PR#pushData
     *
     * @param items
     * @return
     */
    @Expose
    public String pushData(List<WhjlApi1309> 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_13, WhjlConstant.API_CODE_1309);
        //获取实现接口
        ApiRemoteService apiService = apiPushManager.getApiRemoteService(param.getPushProtocol());
        if (null == apiService) {
            return "系统没有当前推送协议配置,执行失败";
        }
        ApiInfoData infoData;
        ResponseDto responseDto;
        for (WhjlApi1309 data : items) {
            responseDto = apiService.pushData(param, apiConf, data);
            if (responseDto.getSuccess() == 0) {
                if (Constant.CZBZ_I.equals(data.getCzbz())) {
                    infoData = new ApiInfoData();
                    infoData.setId(data.getBizId());
                    infoData.setKqdm(data.getKqdm());
                    infoData.setInteType(WhjlConstant.API_CATEGORY_13);
                    infoData.setInteId(WhjlConstant.API_CODE_1309);
                    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/WhjlApi1412PR.java
@@ -24,7 +24,7 @@
import java.util.List;
/**
 * åŠ¨å‘˜èƒ½åŠ›
 * è½¦è¾†è¿è¾“环境
 *
 * @Author:YAN
 */
src/main/java/com/fzzy/otherview/whhpjl/pr/WhjlApi1413PR.java
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,157 @@
package com.fzzy.otherview.whhpjl.pr;
import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.JSONObject;
import com.bstek.dorado.annotation.DataProvider;
import com.bstek.dorado.annotation.DataResolver;
import com.bstek.dorado.annotation.Expose;
import com.fzzy.api.Constant;
import com.fzzy.api.data.ApiParam;
import com.fzzy.api.dto.ResponseDto;
import com.fzzy.api.entity.ApiConfs;
import com.fzzy.api.entity.ApiInfoData;
import com.fzzy.api.service.ApiCommonService;
import com.fzzy.api.service.ApiPushManager;
import com.fzzy.api.service.ApiRemoteService;
import com.fzzy.api.view.repository.ApiInfoDataRep;
import com.fzzy.otherview.whhpjl.WhjlConstant;
import com.fzzy.otherview.whhpjl.dto.WhjlApi1413;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
/**
 * ç‰©èµ„库存预警记录
 *
 * @Author:YAN
 */
@Component
public class WhjlApi1413PR {
    @Autowired
    private ApiCommonService apiCommonService;
    @Autowired
    private ApiPushManager apiPushManager;
    @Autowired
    private ApiInfoDataRep apiInfoDataRep;
    /**
     * èŽ·å–åˆ—è¡¨ä¿¡æ¯
     * whjlApi1413PR#listData
     *
     * @return
     */
    @DataProvider
    public List<WhjlApi1413> listData() {
        List<ApiInfoData> result = apiInfoDataRep.getDataByInteId(WhjlConstant.API_CODE_1413);
        if (null == result || result.isEmpty()) {
            return null;
        }
        List<WhjlApi1413> list = new ArrayList<>();
        WhjlApi1413 whjlApi1413;
        for (ApiInfoData infoData : result) {
            whjlApi1413 = JSONObject.parseObject(infoData.getData(), WhjlApi1413.class);
            whjlApi1413.setKqdm(infoData.getKqdm());
            whjlApi1413.setCzbz(infoData.getCzbz());
            whjlApi1413.setUpdateTime(infoData.getUpdateTime());
            whjlApi1413.setBizId(infoData.getDataId());
            list.add(whjlApi1413);
        }
        return list;
    }
    /**
     * æ›´æ–°æˆ–修改
     * whjlApi1413PR#saveData
     *
     * @param data
     * @return
     */
    @DataResolver
    public void saveData(WhjlApi1413 data) {
        ApiInfoData infoData = new ApiInfoData();
        infoData.setId(data.getBizId());
        infoData.setKqdm(data.getKqdm());
        infoData.setInteType(WhjlConstant.API_CATEGORY_12);
        infoData.setInteId(WhjlConstant.API_CODE_1413);
        infoData.setUpdateTime(new Date());
        infoData.setDataId(data.getBizId());
        infoData.setData(JSON.toJSONString(data));
        infoData.setCzbz(data.getCzbz());
        infoData.setRemarks("备注信息");
        apiInfoDataRep.save(infoData);
    }
    /**
     * åˆ é™¤
     * whjlApi1413PR#delData
     *
     * @param data
     * @return
     */
    @Expose
    public String delData(WhjlApi1413 data) {
        apiInfoDataRep.deleteById(data.getBizId());
        return null;
    }
    /**
     * ä¸Šä¼ 
     * whjlApi1413PR#pushData
     *
     * @param items
     * @return
     */
    @Expose
    public String pushData(List<WhjlApi1413> 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_1413);
        //获取实现接口
        ApiRemoteService apiService = apiPushManager.getApiRemoteService(param.getPushProtocol());
        if (null == apiService) {
            return "系统没有当前推送协议配置,执行失败";
        }
        ApiInfoData infoData;
        ResponseDto responseDto;
        for (WhjlApi1413 data : items) {
            responseDto = apiService.pushData(param, apiConf, data);
            if (responseDto.getSuccess() == 0) {
                if (Constant.CZBZ_I.equals(data.getCzbz())) {
                    infoData = new ApiInfoData();
                    infoData.setId(data.getBizId());
                    infoData.setKqdm(data.getKqdm());
                    infoData.setInteType(WhjlConstant.API_CATEGORY_12);
                    infoData.setInteId(WhjlConstant.API_CODE_1413);
                    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
@@ -235,11 +235,32 @@
                        </a>
                        <dl class="layui-nav-child">
                            <dd>
                                <a lay-href="com.fzzy.otherview.whhpjl.WhjlApi1303.d">粮情检测记录</a>
                                <a lay-href="com.fzzy.otherview.whhpjl.WhjlApi1301.d">温湿度检测记录</a>
                            </dd>
                            <dd>
                                <a lay-href="com.fzzy.otherview.whhpjl.WhjlApi1302.d">运输环境检测记录</a>
                            </dd>
                            <dd>
                                <a lay-href="com.fzzy.otherview.whhpjl.WhjlApi1303.d">温湿度告警记录</a>
                            </dd>
                            <dd>
                                <a lay-href="com.fzzy.otherview.whhpjl.WhjlApi1304.d">能耗记录</a>
                            </dd>
                            <dd>
                                <a lay-href="com.fzzy.otherview.whhpjl.WhjlApi1305.d">调度配送任务</a>
                            </dd>
                            <dd>
                                <a lay-href="com.fzzy.otherview.whhpjl.WhjlApi1306.d">北斗位置信息</a>
                            </dd>
                            <dd>
                                <a lay-href="com.fzzy.otherview.whhpjl.WhjlApi1307.d">运输任务北斗信息</a>
                            </dd>
                            <dd>
                                <a lay-href="com.fzzy.otherview.whhpjl.WhjlApi1308.d">视频预警告警</a>
                            </dd>
                            <dd>
                                <a lay-href="com.fzzy.otherview.whhpjl.WhjlApi1309.d">三通数据</a>
                            </dd>
                        </dl>
                    </li>