提交 be960c2f 编写于 作者: J johnniang

Resolve conflict

上级 e77d5449
...@@ -11,7 +11,6 @@ import run.halo.app.exception.AlreadyExistsException; ...@@ -11,7 +11,6 @@ import run.halo.app.exception.AlreadyExistsException;
import run.halo.app.exception.NotFoundException; import run.halo.app.exception.NotFoundException;
import run.halo.app.model.dto.post.SheetDetailDTO; import run.halo.app.model.dto.post.SheetDetailDTO;
import run.halo.app.model.dto.post.SheetListDTO; import run.halo.app.model.dto.post.SheetListDTO;
import run.halo.app.model.entity.Post;
import run.halo.app.model.entity.Sheet; import run.halo.app.model.entity.Sheet;
import run.halo.app.model.enums.PostStatus; import run.halo.app.model.enums.PostStatus;
import run.halo.app.repository.SheetRepository; import run.halo.app.repository.SheetRepository;
...@@ -22,9 +21,8 @@ import run.halo.app.utils.DateUtils; ...@@ -22,9 +21,8 @@ import run.halo.app.utils.DateUtils;
import run.halo.app.utils.MarkdownUtils; import run.halo.app.utils.MarkdownUtils;
import run.halo.app.utils.ServiceUtils; import run.halo.app.utils.ServiceUtils;
import java.util.Optional;
import java.util.List; import java.util.List;
import java.util.Optional;
import java.util.Set; import java.util.Set;
/** /**
...@@ -37,13 +35,13 @@ import java.util.Set; ...@@ -37,13 +35,13 @@ import java.util.Set;
public class SheetServiceImpl extends AbstractCrudService<Sheet, Integer> implements SheetService { public class SheetServiceImpl extends AbstractCrudService<Sheet, Integer> implements SheetService {
private final SheetRepository sheetRepository; private final SheetRepository sheetRepository;
private final ApplicationEventPublisher eventPublisher; private final ApplicationEventPublisher eventPublisher;
public SheetServiceImpl(SheetRepository sheetRepository,
ApplicationEventPublisher eventPublisher) {
private final SheetCommentService sheetCommentService; private final SheetCommentService sheetCommentService;
public SheetServiceImpl(SheetRepository sheetRepository, public SheetServiceImpl(SheetRepository sheetRepository,
ApplicationEventPublisher eventPublisher,
SheetCommentService sheetCommentService) { SheetCommentService sheetCommentService) {
super(sheetRepository); super(sheetRepository);
this.sheetRepository = sheetRepository; this.sheetRepository = sheetRepository;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册