BUGFIX:pose transfer 记录重复存储问题
This commit is contained in:
@@ -37,6 +37,7 @@ import io.minio.errors.MinioException;
|
||||
import io.netty.util.internal.StringUtil;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import org.apache.commons.io.IOUtils;
|
||||
import org.apache.commons.lang3.StringUtils;
|
||||
import org.apache.http.HttpHost;
|
||||
import org.apache.http.client.config.RequestConfig;
|
||||
import org.apache.http.client.methods.HttpGet;
|
||||
@@ -1637,10 +1638,10 @@ public class GenerateServiceImpl extends ServiceImpl<GenerateMapper, Generate> i
|
||||
}
|
||||
String taskId = output.getStr("task_id");
|
||||
|
||||
PoseTransformation poseTransformation = new PoseTransformation(poseTransformDTO.getProjectId(),
|
||||
/*PoseTransformation poseTransformation = new PoseTransformation(poseTransformDTO.getProjectId(),
|
||||
accountId, taskId, inputImage, poseTransformDTO.getPoseId());
|
||||
poseTransformation.setCreateTime(LocalDateTime.now());
|
||||
poseTransformationMapper.insert(poseTransformation);
|
||||
poseTransformationMapper.insert(poseTransformation);*/
|
||||
return taskId;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user