Skip to content

Commit

Permalink
12-feat-doodle-구현
Browse files Browse the repository at this point in the history
  • Loading branch information
DaeunSon committed Nov 21, 2024
1 parent 67a3891 commit 67c0fde
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Empty file.
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package com.alom.dorundorunbe.doodle.service;

import com.alom.dorundorunbe.UserRepository;
import com.alom.dorundorunbe.domain.user.domain.User;
import com.alom.dorundorunbe.doodle.domain.UserDoodle;
import com.alom.dorundorunbe.User.Repository.UserRepository;
import com.alom.dorundorunbe.doodle.domain.Doodle;
import com.alom.dorundorunbe.doodle.domain.UserDoodleStatus;
import com.alom.dorundorunbe.doodle.dto.DoodleRequestDto;
Expand Down Expand Up @@ -36,7 +36,7 @@ public Doodle createDoodle(DoodleRequestDto doodleRequestDto) { //doodle 생성
.password(doodleRequestDto.getPassword())
.maxParticipant(doodleRequestDto.getMaxParticipant())
.build();
return doodleRepository.save(doodle); //수정사항 dto로 변환해서 넘길것.., 이름 바꾸기
return doodleRepository.save(doodle); //수정사항 dto로 변환해서 넘길것..
}

public List<Doodle> getAllDoodles(){ //doodle 전체 조회
Expand Down Expand Up @@ -98,7 +98,7 @@ public void deleteParticipant(Long doodleId, Long userId){
doodleRepository.save(doodle);
}

//참가자 doodle 완료 상태 업데이트 로직 구현(완료 기준..??)
//참가자 doodle 완료 상태 업데이트 로직 구현(완료 기준..?? 모호)


}

0 comments on commit 67c0fde

Please sign in to comment.