|
@@ -4,10 +4,17 @@ package com.ruoyi.system.service.loan.impl;
|
|
import com.ruoyi.common.config.RuoYiConfig;
|
|
import com.ruoyi.common.config.RuoYiConfig;
|
|
import com.ruoyi.common.core.domain.AjaxResult;
|
|
import com.ruoyi.common.core.domain.AjaxResult;
|
|
import com.ruoyi.common.core.domain.entity.SysRole;
|
|
import com.ruoyi.common.core.domain.entity.SysRole;
|
|
|
|
+import com.ruoyi.common.core.redis.RedisCache;
|
|
import com.ruoyi.common.utils.DateUtils;
|
|
import com.ruoyi.common.utils.DateUtils;
|
|
import com.ruoyi.common.utils.SecurityUtils;
|
|
import com.ruoyi.common.utils.SecurityUtils;
|
|
|
|
+import com.ruoyi.common.utils.SendSmsUtils;
|
|
|
|
+import com.ruoyi.common.utils.file.FileUploadUtils;
|
|
|
|
+import com.ruoyi.common.utils.poi.ExcelFillUtils;
|
|
|
|
+import com.ruoyi.common.utils.poi.WordUtil;
|
|
import com.ruoyi.common.utils.StringUtils;
|
|
import com.ruoyi.common.utils.StringUtils;
|
|
import com.ruoyi.common.utils.uuid.Seq;
|
|
import com.ruoyi.common.utils.uuid.Seq;
|
|
|
|
+import com.ruoyi.common.utils.uuid.IdUtils;
|
|
|
|
+import com.ruoyi.common.utils.uuid.UUID;
|
|
import com.ruoyi.system.domain.conference.SysUserConference;
|
|
import com.ruoyi.system.domain.conference.SysUserConference;
|
|
import com.ruoyi.system.domain.enterprise.SysUserEnterprise;
|
|
import com.ruoyi.system.domain.enterprise.SysUserEnterprise;
|
|
import com.ruoyi.system.domain.loan.LoanApplication;
|
|
import com.ruoyi.system.domain.loan.LoanApplication;
|
|
@@ -25,7 +32,12 @@ import java.io.*;
|
|
import java.nio.file.Files;
|
|
import java.nio.file.Files;
|
|
import java.nio.file.Path;
|
|
import java.nio.file.Path;
|
|
import java.nio.file.Paths;
|
|
import java.nio.file.Paths;
|
|
|
|
+
|
|
|
|
+import java.text.SimpleDateFormat;
|
|
|
|
+import java.util.*;
|
|
|
|
+import java.io.File;
|
|
import java.util.*;
|
|
import java.util.*;
|
|
|
|
+import java.util.concurrent.TimeUnit;
|
|
import java.util.stream.Collectors;
|
|
import java.util.stream.Collectors;
|
|
import java.util.zip.ZipEntry;
|
|
import java.util.zip.ZipEntry;
|
|
import java.util.zip.ZipOutputStream;
|
|
import java.util.zip.ZipOutputStream;
|
|
@@ -57,6 +69,10 @@ public class LoanApplicationServiceImpl implements ILoanApplicationService {
|
|
@Resource
|
|
@Resource
|
|
private WaitRemindMapper waitRemindMapper;
|
|
private WaitRemindMapper waitRemindMapper;
|
|
|
|
|
|
|
|
+ @Autowired
|
|
|
|
+ private RedisCache redisCache;
|
|
|
|
+
|
|
|
|
+
|
|
/**
|
|
/**
|
|
* 查询贷款申请主
|
|
* 查询贷款申请主
|
|
*
|
|
*
|
|
@@ -688,10 +704,283 @@ public class LoanApplicationServiceImpl implements ILoanApplicationService {
|
|
*/
|
|
*/
|
|
@Override
|
|
@Override
|
|
public AjaxResult exportMb(LoanApplication loanApplication) {
|
|
public AjaxResult exportMb(LoanApplication loanApplication) {
|
|
- String path = "/profile/mb/";
|
|
|
|
- if ("1".equals(loanApplication.getType())) {
|
|
|
|
- path = path + "委托担保申请书.doc";
|
|
|
|
|
|
+ Map<String,Object> map = new HashMap<>();
|
|
|
|
+ String type = loanApplication.getType();
|
|
|
|
+ String loanApplicationNumber = loanApplication.getLoanApplicationNumber();
|
|
|
|
+ if(loanApplication.getLoanApplicationId()!=null || loanApplication.getLoanApplicationId()!=0L){
|
|
|
|
+ loanApplication = loanApplicationMapper.selectLoanApplicationByLoanApplicationId(loanApplication.getLoanApplicationId());
|
|
|
|
+ loanApplication.setType(type);
|
|
|
|
+ //判断附件存不存在
|
|
|
|
+ LoanApplicationFj loanApplicationFj = new LoanApplicationFj();
|
|
|
|
+ loanApplicationFj.setLoanApplicationId(loanApplication.getLoanApplicationId());
|
|
|
|
+ //返回附件表对应type
|
|
|
|
+ String fileType = contrastType(type);
|
|
|
|
+ loanApplicationFj.setType(fileType);
|
|
|
|
+ List<LoanApplicationFj> loanApplicationFjs = loanApplicationFjMapper.selectLoanApplicationFjList(loanApplicationFj);
|
|
|
|
+ if(loanApplicationFjs!=null && loanApplicationFjs.size()>0){
|
|
|
|
+ for (LoanApplicationFj applicationFj : loanApplicationFjs) {
|
|
|
|
+ redisCache.setCacheObject(applicationFj.getFjId()+"info",applicationFj,2, TimeUnit.HOURS);
|
|
|
|
+ map.put("fileId",applicationFj.getFjId());
|
|
|
|
+ map.put("path",applicationFj.getUrl());
|
|
|
|
+ map.put("fileName",applicationFj.getName());
|
|
|
|
+ return AjaxResult.success(map);
|
|
|
|
+ }
|
|
|
|
+ }
|
|
}
|
|
}
|
|
- return AjaxResult.success(path);
|
|
|
|
|
|
+
|
|
|
|
+ Map<String, Object> params = new HashMap<>();
|
|
|
|
+ String path = "/profile/mb/temporarily";
|
|
|
|
+ //查询公司信息
|
|
|
|
+ SysUserEnterprise sysUserEnterprise = sysUserEnterpriseMapper.selectSysUserEnterpriseByEnterpriseId(loanApplication.getEnterpriseId());
|
|
|
|
+ params.put("loanApplication", loanApplication);
|
|
|
|
+ params.put("sysUserEnterprise", sysUserEnterprise);
|
|
|
|
+ String templatePath = RuoYiConfig.getProfile();
|
|
|
|
+ String fileDir = RuoYiConfig.getProfile();
|
|
|
|
+ String fileName = "";
|
|
|
|
+ String fileNameHz = "";
|
|
|
|
+ String wordPath = "";
|
|
|
|
+ switch (type) {
|
|
|
|
+ case "1":
|
|
|
|
+ //params.put("enterpriseName", loanApplication.getEnterpriseName());
|
|
|
|
+ //path = path + "/委托担保申请书.doc";
|
|
|
|
+ templatePath = RuoYiConfig.getProfile() + "/mb/委托担保申请书.docx";
|
|
|
|
+ fileDir = RuoYiConfig.getProfile() + "/mb/temporarily"+loanApplicationNumber;
|
|
|
|
+ //fileName = FileUploadUtils.extractFilenameLoanApplicationNumberNoHzm("委托担保申请书");
|
|
|
|
+ fileName = loanApplication.getEnterpriseName() + "-委托担保申请书";
|
|
|
|
+ fileNameHz = fileName + ".docx";
|
|
|
|
+ wordPath = WordUtil.createWord(templatePath, fileDir, fileName, params);
|
|
|
|
+ path = path + "/" + fileName + ".docx";
|
|
|
|
+ break;
|
|
|
|
+ case "2":
|
|
|
|
+ params.put("enterpriseAddres", sysUserEnterprise.getEnterpriseAddress());
|
|
|
|
+ params.put("corporationPhone", loanApplication.getCorporationPhone());
|
|
|
|
+ //path = path + "/委托担保申请书.doc";
|
|
|
|
+ templatePath = RuoYiConfig.getProfile() + "/mb/委托保证合同.docx";
|
|
|
|
+ fileDir = RuoYiConfig.getProfile() + "/mb/temporarily"+loanApplicationNumber;
|
|
|
|
+ //fileName = FileUploadUtils.extractFilenameLoanApplicationNumberNoHzm("委托担保申请书");
|
|
|
|
+ fileName = loanApplication.getEnterpriseName() + "-委托担保申请书";
|
|
|
|
+ fileNameHz = fileName + ".docx";
|
|
|
|
+ wordPath = WordUtil.createWord(templatePath, fileDir, fileName, params);
|
|
|
|
+ path = path + "/" + fileName + ".docx";
|
|
|
|
+ break;
|
|
|
|
+ case "3":
|
|
|
|
+ //params.put("enterpriseName", loanApplication.getEnterpriseName());
|
|
|
|
+ //path = path + "/委托担保申请书.doc";
|
|
|
|
+ templatePath = templatePath + "/mb/担保意向函.docx";
|
|
|
|
+ fileDir = fileDir + "/mb/temporarily"+loanApplicationNumber;
|
|
|
|
+ //fileName = FileUploadUtils.extractFilenameLoanApplicationNumberNoHzm("担保意向函");
|
|
|
|
+ fileName = loanApplication.getEnterpriseName() + "-担保意向函";
|
|
|
|
+ fileNameHz = fileName + ".docx";
|
|
|
|
+ wordPath = WordUtil.createWord(templatePath, fileDir, fileName, params);
|
|
|
|
+ path = path + "/" + fileName + ".docx";
|
|
|
|
+ break;
|
|
|
|
+ case "4":
|
|
|
|
+ //params.put("enterpriseName", loanApplication.getEnterpriseName());
|
|
|
|
+ //path = path + "/委托担保申请书.doc";
|
|
|
|
+ templatePath = RuoYiConfig.getProfile() + "/mb/放款(出票)通知书.docx";
|
|
|
|
+ fileDir = RuoYiConfig.getProfile() + "/mb/temporarily/"+loanApplicationNumber;
|
|
|
|
+ //fileName = FileUploadUtils.extractFilenameLoanApplicationNumberNoHzm("放款(出票)通知书");
|
|
|
|
+ fileName = loanApplication.getEnterpriseName() + "-放款(出票)通知书";
|
|
|
|
+ fileNameHz = fileName + ".docx";
|
|
|
|
+ wordPath = WordUtil.createWord(templatePath, fileDir, fileName, params);
|
|
|
|
+ path = path + "/" + fileName + ".docx";
|
|
|
|
+ break;
|
|
|
|
+ case "5":
|
|
|
|
+ //params.put("enterpriseName", loanApplication.getEnterpriseName());
|
|
|
|
+ //path = path + "/委托担保申请书.doc";
|
|
|
|
+ templatePath = RuoYiConfig.getProfile() + "/mb/保证反担保合同(适用于法人).docx";
|
|
|
|
+ fileDir = RuoYiConfig.getProfile() + "/mb/temporarily"+loanApplicationNumber;
|
|
|
|
+ //fileName = FileUploadUtils.extractFilenameLoanApplicationNumberNoHzm("保证反担保合同(适用于法人)");
|
|
|
|
+ fileName = loanApplication.getEnterpriseName() + "-保证反担保合同(适用于法人)";
|
|
|
|
+ fileNameHz = fileName + ".docx";
|
|
|
|
+ wordPath = WordUtil.createWord(templatePath, fileDir, fileName, params);
|
|
|
|
+ path = path + "/" + fileName + ".docx";
|
|
|
|
+ break;
|
|
|
|
+ case "6":
|
|
|
|
+ //params.put("enterpriseName", loanApplication.getEnterpriseName());
|
|
|
|
+ //path = path + "/委托担保申请书.doc";
|
|
|
|
+ templatePath = RuoYiConfig.getProfile() + "/mb/保证反担保合同(适用于自然人).docx";
|
|
|
|
+ fileDir = RuoYiConfig.getProfile() + "/mb/temporarily"+loanApplicationNumber;
|
|
|
|
+ //fileName = FileUploadUtils.extractFilenameLoanApplicationNumberNoHzm("保证反担保合同(适用于自然人)");
|
|
|
|
+ fileName = loanApplication.getEnterpriseName() + "-保证反担保合同(适用于自然人)";
|
|
|
|
+ fileNameHz = fileName + ".docx";
|
|
|
|
+ wordPath = WordUtil.createWord(templatePath, fileDir, fileName, params);
|
|
|
|
+ path = path + "/" + fileName + ".docx";
|
|
|
|
+ break;
|
|
|
|
+ case "7":
|
|
|
|
+ //params.put("enterpriseName", loanApplication.getEnterpriseName());
|
|
|
|
+ //path = path + "/委托担保申请书.doc";
|
|
|
|
+ templatePath = RuoYiConfig.getProfile() + "/mb/抵押反担保合同(适用于法人).docx";
|
|
|
|
+ fileDir = RuoYiConfig.getProfile() + "/mb/temporarily"+loanApplicationNumber;
|
|
|
|
+ //fileName = FileUploadUtils.extractFilenameLoanApplicationNumberNoHzm("抵押反担保合同(适用于法人)");
|
|
|
|
+ fileName = loanApplication.getEnterpriseName() + "-抵押反担保合同(适用于法人)";
|
|
|
|
+ fileNameHz = fileName + ".docx";
|
|
|
|
+ wordPath = WordUtil.createWord(templatePath, fileDir, fileName, params);
|
|
|
|
+ path = path + "/" + fileName + ".docx";
|
|
|
|
+ break;
|
|
|
|
+ case "8":
|
|
|
|
+ //params.put("enterpriseName", loanApplication.getEnterpriseName());
|
|
|
|
+ //path = path + "/委托担保申请书.doc";
|
|
|
|
+ templatePath = RuoYiConfig.getProfile() + "/mb/抵押反担保合同(适用于自然人).docx";
|
|
|
|
+ fileDir = RuoYiConfig.getProfile() + "/mb/temporarily"+loanApplicationNumber;
|
|
|
|
+ //fileName = FileUploadUtils.extractFilenameLoanApplicationNumberNoHzm("抵押反担保合同(适用于自然人)");
|
|
|
|
+ fileName = loanApplication.getEnterpriseName() + "-抵押反担保合同(适用于自然人)";
|
|
|
|
+ fileNameHz = fileName + ".docx";
|
|
|
|
+ wordPath = WordUtil.createWord(templatePath, fileDir, fileName, params);
|
|
|
|
+ path = path + "/" + fileName + ".docx";
|
|
|
|
+ break;
|
|
|
|
+ case "9":
|
|
|
|
+ //params.put("enterpriseName", loanApplication.getEnterpriseName());
|
|
|
|
+ //path = path + "/委托担保申请书.doc";
|
|
|
|
+ templatePath = RuoYiConfig.getProfile() + "/mb/权利质权反担保合同(适用于法人).docx";
|
|
|
|
+ fileDir = RuoYiConfig.getProfile() + "/mb/temporarily"+loanApplicationNumber;
|
|
|
|
+ //fileName = FileUploadUtils.extractFilenameLoanApplicationNumberNoHzm("权利质权反担保合同(适用于法人)");
|
|
|
|
+ fileName = loanApplication.getEnterpriseName() + "-权利质权反担保合同(适用于法人)";
|
|
|
|
+ fileNameHz = fileName + ".docx";
|
|
|
|
+ wordPath = WordUtil.createWord(templatePath, fileDir, fileName, params);
|
|
|
|
+ path = path + "/" + fileName + ".docx";
|
|
|
|
+ break;
|
|
|
|
+ case "10":
|
|
|
|
+ //params.put("enterpriseName", loanApplication.getEnterpriseName());
|
|
|
|
+ //path = path + "/委托担保申请书.doc";
|
|
|
|
+ templatePath = RuoYiConfig.getProfile() + "/mb/权利质权反担保合同(适用于自然人).docx";
|
|
|
|
+ fileDir = RuoYiConfig.getProfile() + "/mb/temporarily"+loanApplicationNumber;
|
|
|
|
+ //fileName = FileUploadUtils.extractFilenameLoanApplicationNumberNoHzm("权利质权反担保合同(适用于自然人)");
|
|
|
|
+ fileName = loanApplication.getEnterpriseName() + "-权利质权反担保合同(适用于自然人)";
|
|
|
|
+ fileNameHz = fileName + ".docx";
|
|
|
|
+ wordPath = WordUtil.createWord(templatePath, fileDir, fileName, params);
|
|
|
|
+ path = path + "/" + fileName + ".docx";
|
|
|
|
+ break;
|
|
|
|
+ case "11":
|
|
|
|
+ //params.put("enterpriseName", loanApplication.getEnterpriseName());
|
|
|
|
+ //path = path + "/委托担保申请书.doc";
|
|
|
|
+ templatePath = RuoYiConfig.getProfile() + "/mb/股东会决议.docx";
|
|
|
|
+ fileDir = RuoYiConfig.getProfile() + "/mb/temporarily"+loanApplicationNumber;
|
|
|
|
+ //fileName = FileUploadUtils.extractFilenameLoanApplicationNumberNoHzm("股东会决议");
|
|
|
|
+ fileName = loanApplication.getEnterpriseName() + "-股东会决议";
|
|
|
|
+ fileNameHz = fileName + ".docx";
|
|
|
|
+ wordPath = WordUtil.createWord(templatePath, fileDir, fileName, params);
|
|
|
|
+ path = path + "/" + fileName + ".docx";
|
|
|
|
+ break;
|
|
|
|
+ case "12":
|
|
|
|
+
|
|
|
|
+ // 创建一个列表,用来存储要填充到Excel中的数据
|
|
|
|
+ List<Map<String,Object>> list = new ArrayList<>();
|
|
|
|
+ // 向列表中添加数据
|
|
|
|
+ list.add( Map.of("name","zou" ,"age" ,18) );
|
|
|
|
+ list.add( Map.of("name","li" ,"age" ,28) );
|
|
|
|
+ list.add( Map.of("name","wang" ,"age" ,15) );
|
|
|
|
+ list.add( Map.of("name","quan" ,"age" ,19) );
|
|
|
|
+ list.add( Map.of("name","zhao" ,"age" ,98) );
|
|
|
|
+
|
|
|
|
+ //fileName = FileUploadUtils.extractFilenameLoanApplicationNumberNoHzm("项目评审意见签批表");
|
|
|
|
+ fileName = loanApplication.getEnterpriseName() + "-项目评审意见签批表";
|
|
|
|
+ fileNameHz = fileName + ".xlsx";
|
|
|
|
+ templatePath = RuoYiConfig.getProfile() + "/mb/项目评审意见签批表.xlsx";
|
|
|
|
+ ExcelFillUtils.fillOneSheet(templatePath ,fileName ,list);
|
|
|
|
+
|
|
|
|
+ //templatePath = RuoYiConfig.getProfile() + "/mb/项目评审意见签批表.docx";
|
|
|
|
+ //fileDir = RuoYiConfig.getProfile() + "/mb/temporarily";
|
|
|
|
+ //fileName = loanApplication.getEnterpriseName() + "-项目评审意见签批表";
|
|
|
|
+ //wordPath = WordUtil.createWord(templatePath, fileDir, fileName, params);
|
|
|
|
+ path = path + "/" + fileName + ".xlsx";
|
|
|
|
+ break;
|
|
|
|
+ case "13":
|
|
|
|
+ //params.put("enterpriseName", loanApplication.getEnterpriseName());
|
|
|
|
+ //path = path + "/委托担保申请书.doc";
|
|
|
|
+ templatePath = RuoYiConfig.getProfile() + "/mb/担保项目合法合规表企业.docx";
|
|
|
|
+ fileDir = RuoYiConfig.getProfile() + "/mb/temporarily";
|
|
|
|
+ //fileName = FileUploadUtils.extractFilenameLoanApplicationNumberNoHzm("担保项目合法合规表企业");
|
|
|
|
+ fileName = loanApplication.getEnterpriseName() + "-担保项目合法合规表企业";
|
|
|
|
+ if("2".equals(loanApplication.getApplicationType())){
|
|
|
|
+ templatePath = RuoYiConfig.getProfile() + "/mb/担保项目合法合规表个人个体户.docx";
|
|
|
|
+ fileDir = RuoYiConfig.getProfile() + "/mb/temporarily";
|
|
|
|
+ //fileName = FileUploadUtils.extractFilenameLoanApplicationNumberNoHzm("担保项目合法合规表个人个体户");
|
|
|
|
+ fileName = loanApplication.getEnterpriseName() + "-担保项目合法合规表个人个体户";
|
|
|
|
+ }
|
|
|
|
+ fileNameHz = fileName + ".xlsx";
|
|
|
|
+ path = path + "/" + fileName + ".docx";
|
|
|
|
+ break;
|
|
|
|
+ case "14":
|
|
|
|
+ //params.put("enterpriseName", loanApplication.getEnterpriseName());
|
|
|
|
+ //path = path + "/委托担保申请书.doc";
|
|
|
|
+ templatePath = RuoYiConfig.getProfile() + "/mb/放款审批合规表企业.xlsx";
|
|
|
|
+ fileDir = RuoYiConfig.getProfile() + "/mb/temporarily";
|
|
|
|
+ //fileName = FileUploadUtils.extractFilenameLoanApplicationNumberNoHzm("放款审批合规表企业");
|
|
|
|
+ fileName = loanApplication.getEnterpriseName() + "-放款审批合规表企业";
|
|
|
|
+ if("2".equals(loanApplication.getApplicationType())){
|
|
|
|
+ templatePath = RuoYiConfig.getProfile() + "/mb/放款审批合规表个人个体户.docx";
|
|
|
|
+ fileDir = RuoYiConfig.getProfile() + "/mb/temporarily";
|
|
|
|
+ //fileName = FileUploadUtils.extractFilenameLoanApplicationNumberNoHzm("放款审批合规表个人个体户");
|
|
|
|
+ fileName = loanApplication.getEnterpriseName() + "-放款审批合规表个人个体户";
|
|
|
|
+ }
|
|
|
|
+ fileNameHz = fileName + ".xlsx";
|
|
|
|
+ wordPath = WordUtil.createWord(templatePath, fileDir, fileName, params);
|
|
|
|
+ path = path + "/" + fileName + ".docx";
|
|
|
|
+ break;
|
|
|
|
+ default:
|
|
|
|
+ break;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ LoanApplicationFj applicationFj = new LoanApplicationFj();
|
|
|
|
+ applicationFj.setType(type);
|
|
|
|
+ applicationFj.setLoanApplicationNumber(loanApplication.getLoanApplicationNumber());
|
|
|
|
+ applicationFj.setName(fileName);
|
|
|
|
+ String fileId = IdUtils.fastSimpleUUID();
|
|
|
|
+ redisCache.setCacheObject(fileId +"info",applicationFj,2, TimeUnit.HOURS);
|
|
|
|
+
|
|
|
|
+ map.put("fileId",fileId);
|
|
|
|
+ map.put("path",path);
|
|
|
|
+ map.put("fileName",fileNameHz);
|
|
|
|
+ return AjaxResult.success(map);
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ private String contrastType(String type) {
|
|
|
|
+ String fileType = "";
|
|
|
|
+ switch (type) {
|
|
|
|
+ case "1":
|
|
|
|
+ fileType = "wtdbsqs";
|
|
|
|
+ break;
|
|
|
|
+ case "2":
|
|
|
|
+ fileType = "wtdbht";
|
|
|
|
+ break;
|
|
|
|
+ case "3":
|
|
|
|
+ fileType = "dbyxh";
|
|
|
|
+ break;
|
|
|
|
+ case "4":
|
|
|
|
+ fileType = "fktzhsh";
|
|
|
|
+ break;
|
|
|
|
+ case "5":
|
|
|
|
+ fileType = "bzfdbhtfr";
|
|
|
|
+ break;
|
|
|
|
+ case "6":
|
|
|
|
+ fileType = "bzfdbhtzrr";
|
|
|
|
+ break;
|
|
|
|
+ case "7":
|
|
|
|
+ fileType = "dyfdbhtfr";
|
|
|
|
+ break;
|
|
|
|
+ case "8":
|
|
|
|
+ fileType = "dyfdbhtzrr";
|
|
|
|
+ break;
|
|
|
|
+ case "9":
|
|
|
|
+ fileType = "27";
|
|
|
|
+ break;
|
|
|
|
+ case "10":
|
|
|
|
+ fileType = "27";
|
|
|
|
+ break;
|
|
|
|
+ case "11":
|
|
|
|
+ fileType = "gdhyjy";
|
|
|
|
+ break;
|
|
|
|
+ case "12":
|
|
|
|
+ fileType = "psyjqpb";
|
|
|
|
+ break;
|
|
|
|
+ case "13":
|
|
|
|
+ fileType = "clhgb";
|
|
|
|
+ break;
|
|
|
|
+ default:
|
|
|
|
+ fileType = "fkhgb";
|
|
|
|
+ break;
|
|
|
|
+ }
|
|
|
|
+ return fileType;
|
|
}
|
|
}
|
|
}
|
|
}
|