Merge remote-tracking branch 'remotes/origin/dev' into test

yun-zuoyi
yunhao.wang 6 years ago
commit e1a5ec467a

@ -119,6 +119,12 @@ public class SysFileServiceImpl implements ISysFileService {
SysDictionary dictionary = sysDictionaryRDao.getByProperty(new String[]{"parentCodeRdd","dictionaryValue"},
new Object[]{BaseConstWords.DICTIONARY_FILE_TYPE, fastDFSFile.getExt()});
if(dictionary == null){
dictionary = sysDictionaryRDao.getByProperty(new String[]{"parentCodeRdd","dictionaryValue"},
new Object[]{BaseConstWords.DICTIONARY_FILE_TYPE, "."+fastDFSFile.getExt()});
}
SysFile sysFile = new SysFile();
sysFile.setDfsGroupName(fileAbsolutePath[0]);
sysFile.setDfsFileName(fileAbsolutePath[1]);

Loading…
Cancel
Save