feat(journal): add journal publish feature

1. add PublishAsync method to IJournalService and implement it in JournalService
2. add publish start/end time fields to Journal entity, DTOs and edit form
3. add journal publish API endpoint
4. add rabbitMQ message sending for book and page publish events
5. clean up some commented-out old controller methods
This commit is contained in:
glz
2026-06-30 11:03:39 +08:00
parent fa1acec8af
commit 6985a4af42
6 changed files with 133 additions and 60 deletions

View File

@ -49,6 +49,8 @@ public interface IJournalService : IBaseService<Journal>
Task<bool> StatusAsync(long id, JournalStatusEnum status);
Task<bool> PublishAsync(long id);
Task<DotMatrixOutput> PrintCodeAsync(long id);
Task<bool> ResultReportAsync(DotMatrixNoteJournalReportInput input);