From 2f2115a19277620bb7d9ac4af1e3bfd7830d2e6c Mon Sep 17 00:00:00 2001 From: linwe <872216996@qq.com> Date: Fri, 12 Jul 2024 11:20:51 +0800 Subject: [PATCH] limit 是空时候,全表查询了,会导致内存溢出 默认设置20 --- src/main/java/org/springblade/common/constant/CommonConstant.java | 17 ++++++++++++++++- 1 files changed, 16 insertions(+), 1 deletions(-) diff --git a/src/main/java/org/springblade/common/constant/CommonConstant.java b/src/main/java/org/springblade/common/constant/CommonConstant.java index 10de3d2..bb3dbf6 100644 --- a/src/main/java/org/springblade/common/constant/CommonConstant.java +++ b/src/main/java/org/springblade/common/constant/CommonConstant.java @@ -28,7 +28,7 @@ /** * app name */ - String APPLICATION_NAME = AppConstant.APPLICATION_NAME_PREFIX + "api"; + String APPLICATION_NAME = "jczz-" + "api"; /** * sword 系统名 @@ -86,7 +86,22 @@ Integer NUMBER_TWO = 2; + Integer NUMBER_FIVE = 5; + Integer NUMBER_THREE = 3; + Integer NUMBER_FOUR = 4; + + Integer NUMBER_EIGHT = 8; + + Integer NUMBER_SEVEN = 7; + Integer NUMBER_SIX = 6; + + String RESIDENT = "居民"; + + int REPORT_TYPE_SECONDHAND_TRADE = 5; // 二手车 + int REPORT_TYPE_FIRE_INSPECTION = 2; // 自查 + int REPORT_TYPE_NO_FRAUD = 6; // 无诈 + } -- Gitblit v1.9.3