diff --git a/base-ui/README-zh.md b/base-ui/README-zh.md
index e69de29b..675df47a 100644
--- a/base-ui/README-zh.md
+++ b/base-ui/README-zh.md
@@ -0,0 +1,2 @@
+如果NodeJS高版本,需要加以下配置
+ // "dev": "SET NODE_OPTIONS=--openssl-legacy-provider && vue-cli-service serve",
\ No newline at end of file
diff --git a/base-ui/src/views/kucun/kcxxcx/index.vue b/base-ui/src/views/kucun/kcxxcx/index.vue
index 1e3be654..a8ba6c11 100644
--- a/base-ui/src/views/kucun/kcxxcx/index.vue
+++ b/base-ui/src/views/kucun/kcxxcx/index.vue
@@ -11,12 +11,26 @@
:on-remove="handleRemove"
:file-list="fileList"
:auto-upload="false"
+ :multiple="false"
+ :limit="1"
>
选取文件
上传到服务器
-
上传 《库存信息查询.xlsx》文件
+ 上传 《库存信息查询.xlsx》文件
+
+
文件上传结果
+
+ {{ uploadResultMesssage }}
+
+
+
+
库存汇总数据
+
+ {{ uploadResultMesssage }}
+
+
@@ -29,7 +43,8 @@ export default {
return {
updateAction: process.env.VUE_APP_BASE_API + '/kucun/uploadGdData',
name: '库存数据导入',
- fileList: []
+ fileList: [],
+ uploadResultMesssage: ''
}
},
created() {
diff --git a/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/biz/gdinventory/GdInventoryOkMapper.java b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/biz/gdinventory/GdInventoryOkMapper.java
index f3ffd07f..8ff7feb7 100644
--- a/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/biz/gdinventory/GdInventoryOkMapper.java
+++ b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/biz/gdinventory/GdInventoryOkMapper.java
@@ -30,6 +30,9 @@ import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
+import java.util.List;
+import java.util.Map;
+
/**
* Project: yxt_supervise
* File: GdInventoryOkMapper.java
@@ -63,4 +66,20 @@ public interface GdInventoryOkMapper extends BaseMapper {
@Select("select count(1) from gd_inventory_ok where warehouseType='2'")
int countProd2();
+
+ @Select("select sum(prodValue) from gd_inventory_ok where warehouseCode='112'")
+ double countVal112();
+
+
+ @Select("select sum(prodValue) from gd_inventory_ok where warehouseType='1' and warehouseCode<>'112'")
+ double countVal1Not112();
+
+ @Select("select sum(prodValue) from gd_inventory_ok where warehouseType='2'")
+ double countVal2();
+
+ @Select("select warehouseName,warehouseType,count(1) as coun,sum(prodValue) as su from gd_inventory_ok gio group by warehouseCode")
+ List