Resolve "Ping конференции в списке конференций" #196
@ -113,7 +113,7 @@ public class ConferenceService {
|
|||||||
|
|
||||||
public void addPaper(ConferenceDto conferenceDto) {
|
public void addPaper(ConferenceDto conferenceDto) {
|
||||||
Paper paper = new Paper();
|
Paper paper = new Paper();
|
||||||
paper.setTitle(userService.getCurrentUser().getLastName() + "_" + conferenceDto.getTitle());
|
paper.setTitle(userService.getCurrentUser().getLastName() + "_" + conferenceDto.getTitle() + "_" + (new Date()).getTime());
|
||||||
paper.setStatus(Paper.PaperStatus.DRAFT);
|
paper.setStatus(Paper.PaperStatus.DRAFT);
|
||||||
|
|
||||||
conferenceDto.getPapers().add(paper);
|
conferenceDto.getPapers().add(paper);
|
||||||
|
Loading…
Reference in New Issue
Block a user