|
|
@@ -168,7 +168,7 @@ public class HuaTaiSaveFileIdxRequest {
|
|
|
this.bussDate = response.getBussDate();
|
|
|
this.validFlag = 1;
|
|
|
this.uploadNode = response.getUploadNode();
|
|
|
- this.appendPath = fileupload.getFilePath();
|
|
|
+ this.appendPath = fileupload.getFilePath().substring(0,fileupload.getFilePath().lastIndexOf("/")+1);
|
|
|
this.editable = true;
|
|
|
this.deletable = true;
|
|
|
this.voType = "C";
|
|
|
@@ -181,10 +181,10 @@ public class HuaTaiSaveFileIdxRequest {
|
|
|
String uuidLower = HuiTaiUploadImageComponents.getUUIDLower();
|
|
|
String substring = fileName.substring(fileName.lastIndexOf("."));
|
|
|
|
|
|
- this.fileOrgName = uuidLower;
|
|
|
- this.fileTitle = uuidLower + substring;
|
|
|
+ this.fileTitle = uuidLower;
|
|
|
+ this.fileOrgName = uuidLower + substring;
|
|
|
|
|
|
- this.fileName = fileName;
|
|
|
+ this.fileName = fileupload.getFilePath().substring(fileupload.getFilePath().lastIndexOf("/")+1);;
|
|
|
|
|
|
this.typePath = childrenDTO.getTypePath();
|
|
|
this.typePathName = childrenDTO.getTypePathName();
|