fix: 取消 pcap MD5 校验

This commit is contained in:
zhangshuai
2024-11-05 14:09:09 +08:00
parent caf296f49e
commit f2cc7f8cdb

View File

@@ -167,10 +167,10 @@ public class PcapServiceImpl extends ServiceImpl<PcapDao, PcapEntity> implements
entity.setMd5(md5Hex); entity.setMd5(md5Hex);
// 根据文件 md5值 判断是否已上存在,存在则响应当前实体 // 根据文件 md5值 判断是否已上存在,存在则响应当前实体
PcapEntity findPcapByMd5 = this.getOne(new LambdaQueryWrapper<PcapEntity>().eq(PcapEntity::getMd5, md5Hex).eq(PcapEntity::getWorkspaceId, workspaceId)); /*PcapEntity findPcapByMd5 = this.getOne(new LambdaQueryWrapper<PcapEntity>().eq(PcapEntity::getMd5, md5Hex).eq(PcapEntity::getWorkspaceId, workspaceId));
if (T.ObjectUtil.isNotNull(findPcapByMd5)) { if (T.ObjectUtil.isNotNull(findPcapByMd5)) {
return findPcapByMd5; return findPcapByMd5;
} }*/
// save // save
this.save(entity); this.save(entity);