Resolve "Добавить новую статью к конференции" #197

Merged
VladimirZarayskiy merged 1 commits from 64-add-article-conf into dev 2019-04-24 13:35:09 +04:00
Showing only changes of commit d37c9bda57 - Show all commits

View File

@ -113,7 +113,7 @@ public class ConferenceService {
public void addPaper(ConferenceDto conferenceDto) {
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);
conferenceDto.getPapers().add(paper);