fix: 取消 pcap MD5 校验
This commit is contained in:
@@ -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);
|
||||||
|
|||||||
Reference in New Issue
Block a user