BUGFIX:batch generation like报错

This commit is contained in:
2025-06-24 15:03:17 +08:00
parent 7abab7121a
commit a809905c52

View File

@@ -2023,6 +2023,7 @@ public class DesignServiceImpl extends ServiceImpl<DesignMapper, Design> impleme
toProductImageResult.setToProductImageRecordId(toProductImageRecord.getId()); toProductImageResult.setToProductImageRecordId(toProductImageRecord.getId());
toProductImageResult.setIsLike(0); toProductImageResult.setIsLike(0);
toProductImageResult.setTaskId(taskId); toProductImageResult.setTaskId(taskId);
toProductImageResult.setResultType("ToProductImage");
toProductImageResult.setProjectId(projectId); toProductImageResult.setProjectId(projectId);
toProductImageResult.setTaskIdBatch(batchTaskId); toProductImageResult.setTaskIdBatch(batchTaskId);
if (userLikeGroupId != null) { if (userLikeGroupId != null) {
@@ -2064,6 +2065,7 @@ public class DesignServiceImpl extends ServiceImpl<DesignMapper, Design> impleme
toProductImageResult.setToProductImageRecordId(toProductImageRecord.getId()); toProductImageResult.setToProductImageRecordId(toProductImageRecord.getId());
toProductImageResult.setIsLike(0); toProductImageResult.setIsLike(0);
toProductImageResult.setTaskId(taskId); toProductImageResult.setTaskId(taskId);
toProductImageResult.setResultType("ToProductImage");
toProductImageResult.setProjectId(projectId); toProductImageResult.setProjectId(projectId);
toProductImageResult.setTaskIdBatch(batchTaskId); toProductImageResult.setTaskIdBatch(batchTaskId);
if (userLikeGroupId != null) { if (userLikeGroupId != null) {
@@ -2181,6 +2183,7 @@ public class DesignServiceImpl extends ServiceImpl<DesignMapper, Design> impleme
toProductImageResult.setToProductImageRecordId(toProductImageRecord.getId()); toProductImageResult.setToProductImageRecordId(toProductImageRecord.getId());
toProductImageResult.setIsLike(0); toProductImageResult.setIsLike(0);
toProductImageResult.setTaskId(taskId); toProductImageResult.setTaskId(taskId);
toProductImageResult.setResultType("Relight");
toProductImageResult.setProjectId(projectId); toProductImageResult.setProjectId(projectId);
toProductImageResult.setTaskIdBatch(batchTaskId); toProductImageResult.setTaskIdBatch(batchTaskId);
if (null != userLikeGroupId) { if (null != userLikeGroupId) {
@@ -2223,6 +2226,7 @@ public class DesignServiceImpl extends ServiceImpl<DesignMapper, Design> impleme
toProductImageResult.setToProductImageRecordId(toProductImageRecord.getId()); toProductImageResult.setToProductImageRecordId(toProductImageRecord.getId());
toProductImageResult.setIsLike(0); toProductImageResult.setIsLike(0);
toProductImageResult.setTaskId(taskId); toProductImageResult.setTaskId(taskId);
toProductImageResult.setResultType("Relight");
toProductImageResult.setProjectId(projectId); toProductImageResult.setProjectId(projectId);
toProductImageResult.setTaskIdBatch(batchTaskId); toProductImageResult.setTaskIdBatch(batchTaskId);
if (null != userLikeGroupId) { if (null != userLikeGroupId) {