igds-quantity/src/main/java/com/ld/igds/io/ServerRunner.java | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
igds-verb/src/main/java/com/ld/igds/verb/view/AreationData.view.xml | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
igds-web/src/main/resources/static/admin/quantity/quantity.js | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
igds-quantity/src/main/java/com/ld/igds/io/ServerRunner.java
@@ -1,13 +1,11 @@ package com.ld.igds.io; import com.ld.igds.data.ConfigData; import com.ld.igds.io.fzzy.server.BhznQuantityServerEngine; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.CommandLineRunner; import org.springframework.core.annotation.Order; import org.springframework.stereotype.Component; /** * 可以根据配置文件灵活调整 @@ -27,15 +25,14 @@ @Override public void run(String... strings) throws Exception { // if (configData.getActive().equals("dev")) { // serverEngine.start(BhznQuantityServerEngine.PORT); // return; // } // // //风正致远默认部署服务当前应用使用9000端口 // if (configData.getActive().indexOf("pro") >= 0) { // serverEngine.start(BhznQuantityServerEngine.PORT); // return; // } if (configData.getActive().equals("dev")) { serverEngine.start(BhznQuantityServerEngine.PORT); return; } if (configData.getActive().indexOf("pro") >= 0) { serverEngine.start(BhznQuantityServerEngine.PORT); return; } } } igds-verb/src/main/java/com/ld/igds/verb/view/AreationData.view.xml
@@ -35,6 +35,34 @@ <PropertyDef name="objective"> <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="type"> <Property></Property> igds-web/src/main/resources/static/admin/quantity/quantity.js
@@ -205,7 +205,7 @@ // 配置仓库卡片信息 var depotData = quantityData.depotData; $("#depotTypeName").text(depotData.depotTypeName); $("#storeKeeperName").text(depotData.storeKeeperName == null ? "保管员":item.storeKeeperName); $("#storeKeeperName").text(depotData.storeKeeperName == null ? "保管员":depotData.storeKeeperName); $("#storageReal").text(depotData.storageReal); $("#foodVarietyName").text(depotData.foodVarietyName); $("#foodLevelName").text(depotData.foodLevelName);