Browse Source

修改请求最大限制以及客户编号截取字符30

master
dimengzhe 3 years ago
parent
commit
c02900f047
  1. 4
      anrui-crm/anrui-crm-biz/src/main/java/com/yxt/anrui/crm/biz/crmcustomertemp/CrmCustomerTempService.java
  2. 4
      anrui-portal/anrui-portal-biz/src/main/resources/application.yml
  3. 4
      anrui-terminal/anrui-terminal-biz/src/main/resources/application.yml

4
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<CrmCustomerTempMa
}
}
customerNoPrefix = customerNoPrefix + mobile + HanZiConverterPinYin.getPinYinFirst(name);
return customerNoPrefix.length() > 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<String, String> genetrateCustomerNumO(String customerTypeKey, SysUserInfoVo sysUserInfoVo) {

4
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映射文件

4
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:

Loading…
Cancel
Save