Unverified Commit 25607f88 authored by lgcareer's avatar lgcareer Committed by GitHub
Browse files

fix download resource file that under the directory error (#3007)

* add mybatis-3 notice in the top-level notice

* fix download resource file that under the directory error
parent 1c47a15d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1021,7 +1021,7 @@ public class ResourcesService extends BaseService {

        String tenantCode = tenant.getTenantCode();

        String hdfsFileName = HadoopUtils.getHdfsFileName(resource.getType(), tenantCode, resource.getAlias());
        String hdfsFileName = HadoopUtils.getHdfsFileName(resource.getType(), tenantCode, resource.getFullName());

        String localFileName = FileUtils.getDownloadFilename(resource.getAlias());
        logger.info("resource hdfs path is {} ", hdfsFileName);