|
@@ -3,12 +3,9 @@ package com.pavis.backend.slim.project.system.service.impl;
|
|
|
import com.alibaba.fastjson2.JSON;
|
|
|
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
|
|
|
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
|
|
-import com.pavis.backend.slim.project.system.domain.EntityLabelsRelation;
|
|
|
import com.pavis.backend.slim.project.system.domain.EntityLabelsSpan;
|
|
|
import com.pavis.backend.slim.project.system.domain.annotation.AnnotationEntity;
|
|
|
-import com.pavis.backend.slim.project.system.mapper.EntityLabelsRelationMapper;
|
|
|
import com.pavis.backend.slim.project.system.mapper.EntityLabelsSpanMapper;
|
|
|
-import com.pavis.backend.slim.project.system.service.EntityLablesRelationService;
|
|
|
import com.pavis.backend.slim.project.system.service.EntityLablesSpanService;
|
|
|
import lombok.extern.slf4j.Slf4j;
|
|
|
import org.springframework.beans.BeanUtils;
|
|
@@ -50,6 +47,7 @@ public class EntityLabelsSpanServiceImpl extends ServiceImpl<EntityLabelsSpanMap
|
|
|
for (EntityLabelsSpan entityLabelsSpan : entityLabelsSpans) {
|
|
|
annotationEntity = new AnnotationEntity();
|
|
|
BeanUtils.copyProperties(entityLabelsSpan,annotationEntity);
|
|
|
+ annotationEntity.setId(Long.valueOf(entityLabelsSpan.getId()));
|
|
|
// 处理个别字段,fileId是string类型的。
|
|
|
annotationEntities.add(annotationEntity);
|
|
|
}
|