feat: There is no way the, 数据问题 导致 读取多文件报错

This commit is contained in:
super_liu
2022-05-14 20:18:44 +08:00
parent 9092a549b7
commit c139274f2b
@@ -381,7 +381,7 @@ public class AttFileEOServiceImpl extends ServiceImpl<AttFileEODao, AttFileEO> i
for(int i=0;i<idList.length;i++){
AttFileEO attFileEO = new AttFileEO();
try {
if(StringUtils.isNotEmpty(idList[i])){
if(StringUtils.isNotEmpty(idList[i]) && (idList[i].contains("att") || idList[i].contains("ATT"))){
attFileEO.setId(idList[i]);
AttFileEO getFile = this.baseMapper.selectFileInfoById(attFileEO);
if(attFileEO != null && getFile != null){