Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ private void getAppliedCampaign(Long userId, CollaborationType type, ProposalSta
p.campaignId(),
null,
p.brandId(),
p.brandUserId(),
p.brandName(),
// attachmentUrlService.getAccessUrl(p.thumbnailS3Key()),
p.thumbnailS3Key(),
Expand Down Expand Up @@ -95,6 +96,7 @@ private void getReceivedProposal(Long userId, CollaborationType type, ProposalSt
p.campaignId(),
p.proposalId(),
p.brandId(),
p.brandUserId(),
p.brandName(),
// attachmentUrlService.getAccessUrl(p.thumbnailS3Key()),
p.thumbnailS3Key(),
Expand Down Expand Up @@ -130,6 +132,7 @@ private void getSentProposal(Long userId, CollaborationType type, ProposalStatus
p.campaignId(),
p.proposalId(),
p.brandId(),
p.brandUserId(),
p.brandName(),
// attachmentUrlService.getAccessUrl(p.thumbnailS3Key()),
p.thumbnailS3Key(),
Expand Down Expand Up @@ -205,6 +208,7 @@ public List<CollaborationResponse> searchMyCollaborations(Long userId, Role role
p.campaignId(),
p.proposalId(),
p.brandId(),
p.brandUserId(),
p.brandName(),
// attachmentUrlService.getAccessUrl(p.thumbnailS3Key()),
p.thumbnailS3Key(),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ SELECT ca.campaign.id, COUNT(ca)
c.id,
null,
b.id,
b.user.id,
b.brandName,
b.logoUrl,
c.title,
Expand Down Expand Up @@ -60,6 +61,7 @@ List<CollaborationProjection> findMyAppliedCollaborations(
c.id,
null,
b.id,
b.user.id,
b.brandName,
b.logoUrl,
c.title,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ private List<CollaborationProjection> baseProposalQuery(
campaign.id,
campaignProposal.id,
brand.id,
brand.user.id,
brand.brandName,
brand.logoUrl,
campaignProposal.title,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ public record CollaborationProjection(
Long campaignId,
Long proposalId,
Long brandId,
Long brandUserId,

String brandName,
String thumbnailS3Key, // 내부 전용
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ public record CollaborationResponse(
Long campaignId, // 캠페인 기반일 때만 채움
Long proposalId, // 제안 기반일 때만 채움
Long brandId,
Long brandUserId,

String brandName,
String thumbnailUrl,
Expand Down
Loading