|
|
|
@ -141,6 +141,8 @@ public class SysFileServiceImpl implements ISysFileService {
|
|
|
|
|
String[] fileAbsolutePath = dfsClient.upload(fastDFSFile);
|
|
|
|
|
|
|
|
|
|
// 保存到系统文件表中
|
|
|
|
|
LOGGER.info(" dfsClient ====>> " + dfsClient);
|
|
|
|
|
LOGGER.info(" fileAbsolutePath ====>> " + fileAbsolutePath);
|
|
|
|
|
String filePath = dfsClient.getHostUi() + "/" + fileAbsolutePath[0] + "/" + fileAbsolutePath[1];
|
|
|
|
|
SysDictionary dictionary = sysDictionaryRDao.getByProperty(new String[]{"parentCodeRdd", "dictionaryValue"},
|
|
|
|
|
new Object[]{BaseConstWords.DICTIONARY_FILE_TYPE, fastDFSFile.getExt()});
|
|
|
|
|