From 1e1282e8ed0385a1bc88d82dbd9bbcf5d1d22ece Mon Sep 17 00:00:00 2001 From: 935090232@qq.com <ak473600000> Date: Fri, 05 Feb 2021 14:06:20 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/hive2.0' into hive2.0 --- zq-erp/src/main/resources/config/test/system.properties | 2 +- zq-erp/src/main/resources/mybatis/mapper/hive/SysVipInfoDao.xml | 3 +-- zq-erp/pom.xml | 4 ++-- zq-erp/src/main/resources/config/test/application.properties | 4 ++++ 4 files changed, 8 insertions(+), 5 deletions(-) diff --git a/zq-erp/pom.xml b/zq-erp/pom.xml index 10d3f71..ca46822 100644 --- a/zq-erp/pom.xml +++ b/zq-erp/pom.xml @@ -390,11 +390,11 @@ <exclude>config/test/*</exclude> <exclude>config/xcx/*</exclude> - <!-- + <!----> <exclude>config/config.json</exclude> <exclude>config/application.properties</exclude> <exclude>config/system.properties</exclude> - --> + diff --git a/zq-erp/src/main/resources/config/test/application.properties b/zq-erp/src/main/resources/config/test/application.properties index a4f5857..87fc89f 100644 --- a/zq-erp/src/main/resources/config/test/application.properties +++ b/zq-erp/src/main/resources/config/test/application.properties @@ -8,6 +8,10 @@ spring.datasource.password=123456 spring.datasource.url=jdbc:mysql://120.27.238.55:3306/hive_test?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=CONVERT_TO_NULL&allowMultiQueries=true&transformedBitIsBoolean=true&serverTimezone=GMT%2B8 +#spring.datasource.username=chuhuan +#spring.datasource.password=chuhuan +#spring.datasource.url=jdbc:mysql://175.6.132.141:3306/hive_v2_test?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=CONVERT_TO_NULL&allowMultiQueries=true&transformedBitIsBoolean=true&serverTimezone=GMT%2B8 + diff --git a/zq-erp/src/main/resources/config/test/system.properties b/zq-erp/src/main/resources/config/test/system.properties index c3e4615..568731d 100644 --- a/zq-erp/src/main/resources/config/test/system.properties +++ b/zq-erp/src/main/resources/config/test/system.properties @@ -12,7 +12,7 @@ default_password=123 #nginx静态资源访问地址 -static_resource_url=resource.hive.jyymatrix.cc +static_resource_url=http://testfile.hive.jyymatrix.cc/ #文件保存地址 file_storage_path=/mnt/upload/ #文件上传大小字节为单位 10MB diff --git a/zq-erp/src/main/resources/mybatis/mapper/hive/SysVipInfoDao.xml b/zq-erp/src/main/resources/mybatis/mapper/hive/SysVipInfoDao.xml index 328dd6a..5203a47 100644 --- a/zq-erp/src/main/resources/mybatis/mapper/hive/SysVipInfoDao.xml +++ b/zq-erp/src/main/resources/mybatis/mapper/hive/SysVipInfoDao.xml @@ -1359,11 +1359,10 @@ e.shop_short_name shopName, sum(IFNULL(b.gift_money, 0) + IFNULL(b.real_money, 0)) totalBalance, sum(IFNULL(b.gift_money, 0)) giftBalance, - sum(IFNULL(d.goods_cash, 0) + IFNULL(d.proj_cash, 0) + IFNULL(d.card_cash, 0)) totalShopping + (select sum(IFNULL(d.goods_cash, 0) + IFNULL(d.proj_cash, 0) + IFNULL(d.card_cash, 0)) from achieve_new d where d.vip_id=a.id) totalShopping from sys_vip_info a left join money_card_use b on a.ID = b.vip_id and b.status='有效' left join sys_vip_level c on a.LEVEL_ID = c.ID - left join achieve_new d on a.ID = d.vip_id left join sys_shop_info e on a.SHOP_ID=e.ID where a.ID=#{id} </select> -- Gitblit v1.9.1