From c9610cd80a0804b29612f5f18b6c74f921cc6a37 Mon Sep 17 00:00:00 2001 From: zhangqinbin <181961702@qq.com> Date: Tue, 31 Oct 2023 10:20:14 +0800 Subject: [PATCH] =?UTF-8?q?=E9=87=91=E5=B1=B1WPS=E5=9C=A8=E7=BA=BF?= =?UTF-8?q?=E7=BC=96=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../mall/ebtp/extend/wps/service/impl/WpsServiceImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/chinaunicom/mall/ebtp/extend/wps/service/impl/WpsServiceImpl.java b/src/main/java/com/chinaunicom/mall/ebtp/extend/wps/service/impl/WpsServiceImpl.java index 646e577..c098ab4 100644 --- a/src/main/java/com/chinaunicom/mall/ebtp/extend/wps/service/impl/WpsServiceImpl.java +++ b/src/main/java/com/chinaunicom/mall/ebtp/extend/wps/service/impl/WpsServiceImpl.java @@ -502,7 +502,7 @@ public class WpsServiceImpl implements WpsService { vo.setStaffCode("ebtp"); vo.setFileKey(in.getFileId()); String fileName = in.getFileName(); - vo.setFillName(fileName.substring(0,fileName.lastIndexOf("."))); + vo.setFillName(fileName); vo.setFillExtension(fileName.substring(fileName.lastIndexOf(".")+1,fileName.length())); vo.setVersion(1);