TASK:cloud;

This commit is contained in:
shahaibo
2025-06-12 13:41:13 +08:00
parent 33af9d0b9d
commit 4494ec7dbc
3 changed files with 16 additions and 0 deletions

View File

@@ -115,4 +115,6 @@ public interface UserLikeGroupService extends IService<UserLikeGroup> {
void relightBatch(String taskId, String url, String progress);
Boolean collectionLikeUpdate(CollectionLikeUpdateDTO collectionLikeUpdateDTO);
Boolean toProductImageElementDelete(Long id);
}

View File

@@ -2517,4 +2517,12 @@ public class UserLikeGroupServiceImpl extends ServiceImpl<UserLikeGroupMapper, U
}
return Boolean.TRUE;
}
@Override
public Boolean toProductImageElementDelete(Long id) {
ToProductElement toProductElement = toProductElementMapper.selectById(id);
toProductElement.setProjectId(null);
toProductElementMapper.updateById(toProductElement);
return Boolean.TRUE;
}
}