|
|
@@ -208,7 +208,7 @@ public class InformationImportRecordController extends BladeController {
|
|
|
record.setNodeId(nodeId);
|
|
|
record.setContractId(contractId);
|
|
|
record.setClassify(classify);
|
|
|
- record.setFileName(name == null ? filename.substring(0, filename.lastIndexOf(".")) : name);
|
|
|
+ record.setFileName(name == null ? filename.substring(0, filename.lastIndexOf(".")) : name.replace(".xlsx", "").replace(".xls", ""));
|
|
|
record.setFilePath(path);
|
|
|
record.setCreateTime(now);
|
|
|
record.setCreateUser(AuthUtil.getUserId());
|