Commit 03996d34 by 叶立庆

Merge branch 'v5.5.1' into 'master'

v5.5.1发起合并请求到master分支

See merge request !1
2 parents fb493193 20d44b09
......@@ -7,7 +7,7 @@
</parent>
<groupId>cn.com.glsx.scrm</groupId>
<artifactId>rpc-scrm-equity-api</artifactId>
<version>5.3.0-SNAPSHOT</version>
<version>5.5.1-SNAPSHOT</version>
<name>rpc-scrm-equity-api</name>
<properties>
<deploy.scanPackage>cn.com.glsx.scrm.equity.remote</deploy.scanPackage>
......@@ -48,7 +48,7 @@
<dependency>
<groupId>cn.com.glsx.scrm</groupId>
<artifactId>rpc-scrm-equity-api</artifactId>
<version>5.3.0-SNAPSHOT</version>
<version>5.5.1-SNAPSHOT</version>
</dependency>
</dependencies>
</plugin>
......
......@@ -14,7 +14,7 @@
<dependency>
<groupId>cn.com.glsx.scrm</groupId>
<artifactId>rpc-scrm-equity-api</artifactId>
<version>5.3.0-SNAPSHOT</version>
<version>5.5.1-SNAPSHOT</version>
<exclusions>
<exclusion>
<artifactId>bcprov-jdk15on</artifactId>
......
......@@ -2266,19 +2266,23 @@ public class ServicePackageService {
.concat(fileName);
}
private String getPdfFileName(String customerName,String packageName) {
private String getPdfFileName(String customerName, String packageName) {
String fileName;
if (StringUtils.isNotBlank(packageName)) {
return customerName
fileName = customerName
.concat(packageName)
.concat(UUID.randomUUID().toString().replace("-", "").substring(16))
.concat(".")
.concat("pdf");
} else {
return customerName
fileName = customerName
.concat(UUID.randomUUID().toString().replace("-", "").substring(16))
.concat(".")
.concat("pdf");
}
//将文件命中,包含 / 的特殊字符串转为 %
fileName = fileName.replace("/","-");
return fileName;
}
private String cutSpecialContent(String specialContent1, int spebrLen) {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!