From c02900f047bdf106f4b872cb6d2495f1d3782376 Mon Sep 17 00:00:00 2001 From: dimengzhe <251008545@qq.com> Date: Mon, 31 Oct 2022 15:23:36 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E8=AF=B7=E6=B1=82=E6=9C=80?= =?UTF-8?q?=E5=A4=A7=E9=99=90=E5=88=B6=E4=BB=A5=E5=8F=8A=E5=AE=A2=E6=88=B7?= =?UTF-8?q?=E7=BC=96=E5=8F=B7=E6=88=AA=E5=8F=96=E5=AD=97=E7=AC=A630?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../anrui/crm/biz/crmcustomertemp/CrmCustomerTempService.java | 4 ++-- .../anrui-portal-biz/src/main/resources/application.yml | 4 ++-- .../anrui-terminal-biz/src/main/resources/application.yml | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/anrui-crm/anrui-crm-biz/src/main/java/com/yxt/anrui/crm/biz/crmcustomertemp/CrmCustomerTempService.java b/anrui-crm/anrui-crm-biz/src/main/java/com/yxt/anrui/crm/biz/crmcustomertemp/CrmCustomerTempService.java index 5d2a413123..84df03996c 100644 --- a/anrui-crm/anrui-crm-biz/src/main/java/com/yxt/anrui/crm/biz/crmcustomertemp/CrmCustomerTempService.java +++ b/anrui-crm/anrui-crm-biz/src/main/java/com/yxt/anrui/crm/biz/crmcustomertemp/CrmCustomerTempService.java @@ -23,7 +23,6 @@ import com.yxt.anrui.crm.biz.crmvehicledemand.CrmVehicledemandService; import com.yxt.anrui.crm.biz.crmvisit.CrmVisitService; import com.yxt.anrui.fin.api.kingdee.FinKingDeeFeign; import com.yxt.anrui.fin.api.kingdee.bdcustomer.BdCustomer; -import com.yxt.anrui.fin.api.kingdee.bdmaterial.BdMaterial; import com.yxt.anrui.portal.api.dictcommon.DictCommonFeign; import com.yxt.anrui.portal.api.dictcommon.DictCommonVo; import com.yxt.anrui.portal.api.sysorganization.SysOrganizationFeign; @@ -1012,7 +1011,8 @@ public class CrmCustomerTempService extends MybatisBaseService 30 ? customerNoPrefix.substring(0, 29) : customerNoPrefix; + System.out.println(customerNoPrefix.length() > 30 ? customerNoPrefix.substring(0, 30) : customerNoPrefix); + return customerNoPrefix.length() > 30 ? customerNoPrefix.substring(0, 30) : customerNoPrefix; } private Map genetrateCustomerNumO(String customerTypeKey, SysUserInfoVo sysUserInfoVo) { diff --git a/anrui-portal/anrui-portal-biz/src/main/resources/application.yml b/anrui-portal/anrui-portal-biz/src/main/resources/application.yml index bf4df61b97..a688673edb 100644 --- a/anrui-portal/anrui-portal-biz/src/main/resources/application.yml +++ b/anrui-portal/anrui-portal-biz/src/main/resources/application.yml @@ -24,8 +24,8 @@ spring: server: port: 7003 max-http-header-size: 102400 - undertow: - max-http-post-size: -1 + tomcat: + max-http-form-post-size: -1 #mybatis mybatis-plus: # 配置mapper的扫描,找到所有的mapper.xml映射文件 diff --git a/anrui-terminal/anrui-terminal-biz/src/main/resources/application.yml b/anrui-terminal/anrui-terminal-biz/src/main/resources/application.yml index 5fc74e9e02..5df3dfcb94 100644 --- a/anrui-terminal/anrui-terminal-biz/src/main/resources/application.yml +++ b/anrui-terminal/anrui-terminal-biz/src/main/resources/application.yml @@ -21,8 +21,8 @@ spring: server: port: 7009 max-http-header-size: 102400 - undertow: - max-http-post-size: -1 + tomcat: + max-http-form-post-size: -1 #hystrix的超时时间 hystrix: