diff --git a/builds/Dockerfile b/builds/Dockerfile index 995db64f9..ac8f65536 100644 --- a/builds/Dockerfile +++ b/builds/Dockerfile @@ -5,7 +5,7 @@ LABEL Author="axzsd" \ Description="创盈支付服务端" ENV SPRING_PROFILES_ACTIVE="dev" -ENV JAVA_OPTIONS "-Xms800m -Xmx800m \ +ENV JAVA_OPTIONS "-Xms1024m -Xmx2048m \ -XX:+HeapDumpOnOutOfMemoryError \ -Dfile.encoding=UTF-8 \ -Djava.awt.headless=true \ diff --git a/builds/docker-compose-test.yml b/builds/docker-compose-test.yml index 290d59145..05dbefd92 100644 --- a/builds/docker-compose-test.yml +++ b/builds/docker-compose-test.yml @@ -20,7 +20,7 @@ services: deploy: resources: limits: - memory: 800MB + memory: 2048MB healthcheck: test: ["CMD", "curl", "-f", "http://localhost:48080/actuator/health"] timeout: 30s diff --git a/yudao-module-mall/yudao-module-shop-biz/src/main/java/cn/iocoder/yudao/module/shop/service/order/impl/StoreOrderServiceImpl.java b/yudao-module-mall/yudao-module-shop-biz/src/main/java/cn/iocoder/yudao/module/shop/service/order/impl/StoreOrderServiceImpl.java index 9dda4357b..d3e5c6c63 100644 --- a/yudao-module-mall/yudao-module-shop-biz/src/main/java/cn/iocoder/yudao/module/shop/service/order/impl/StoreOrderServiceImpl.java +++ b/yudao-module-mall/yudao-module-shop-biz/src/main/java/cn/iocoder/yudao/module/shop/service/order/impl/StoreOrderServiceImpl.java @@ -167,6 +167,7 @@ public class StoreOrderServiceImpl extends ServiceImpl dataVos = mapper.statisticsAll(request.getStartTime(), request.getEndTime()); Map> collect = dataVos.stream().collect(Collectors.groupingBy(StatementAllReqDataVo::getTenantId)); List vos = new ArrayList<>(); - tenantPage.getList().forEach(e->{ + tenantPage.getList().forEach(e -> { List dataVos1 = collect.get(e.getId()); StatisticsPageVo vo = new StatisticsPageVo(); if (!CollectionUtils.isEmpty(dataVos1)) { diff --git a/yudao-ui-admin/src/api/index.js b/yudao-ui-admin/src/api/index.js new file mode 100644 index 000000000..4bc2b684b --- /dev/null +++ b/yudao-ui-admin/src/api/index.js @@ -0,0 +1,12 @@ +import request from '@/utils/request' + +// 数据统计(全部) +export function statisticsAll(query) { + return request({ + url: '/system/statement/statisticsAll', + method: 'get', + params: query + }) +} + + diff --git a/yudao-ui-admin/src/api/member/promoter.js b/yudao-ui-admin/src/api/member/promoter.js index cff9c19c2..5d4dadea8 100644 --- a/yudao-ui-admin/src/api/member/promoter.js +++ b/yudao-ui-admin/src/api/member/promoter.js @@ -68,6 +68,16 @@ export function getPromoterPage(query) { }) } +// 导出所有推广员 Excel +export function allExport(query) { + return request({ + url: '/member/promoter/all-export-excel', + method: 'get', + params: query, + responseType: 'blob' + }) +} + // 导出推广员 Excel export function exportPromoterExcel(query) { return request({ diff --git a/yudao-ui-admin/src/api/statistics/merchantData.js b/yudao-ui-admin/src/api/statistics/merchantData.js new file mode 100644 index 000000000..702a3a5c9 --- /dev/null +++ b/yudao-ui-admin/src/api/statistics/merchantData.js @@ -0,0 +1,20 @@ +import request from '@/utils/request' + +// 数据统计(根据租户统计) +export function statisticsData(query) { + return request({ + url: '/system/statement/statistics', + method: 'get', + params: query + }) +} + +// 导出数据统计(根据租户统计) Excel +export function statement(query) { + return request({ + url: '/system/statement/statement-excel', + method: 'get', + params: query, + responseType: 'blob' + }) +} diff --git a/yudao-ui-admin/src/views/index.vue b/yudao-ui-admin/src/views/index.vue index ad2206846..3a8ec0e65 100644 --- a/yudao-ui-admin/src/views/index.vue +++ b/yudao-ui-admin/src/views/index.vue @@ -1,5 +1,5 @@ diff --git a/yudao-ui-app/pages/index/index.vue b/yudao-ui-app/pages/index/index.vue index 953eca0cb..e64ee4c8b 100644 --- a/yudao-ui-app/pages/index/index.vue +++ b/yudao-ui-app/pages/index/index.vue @@ -56,16 +56,16 @@ - - - - 电子证照中心 - - - ICP备案号:渝ICP备2022012409号-1 - - Copyright@2022-2023创盈云网络cyywl.top版权所有 - + + + + 电子证照中心 + + + ICP备案号:渝ICP备2022012409号-1 + + Copyright@2022-2023创盈云网络cyywl.top版权所有 +