消息同步修改

This commit is contained in:
张松
2025-04-10 11:26:45 +08:00
parent 20f8a640f1
commit 60ca657f89
4 changed files with 6 additions and 11 deletions

View File

@@ -38,10 +38,6 @@ public class SyncNotice implements Serializable {
*/
private Long sysUserId;
/**
* 通知类型 0 商品新增 1 商品编辑 2耗材新增 3耗材编辑
*/
private Integer type;
/**
* 是否已读1已读

View File

@@ -49,7 +49,7 @@ public interface SyncNoticeService extends IService<SyncNotice> {
*/
void addNotice(Long shopId, Long sysUserId, String title, String content, String extraJson);
Page<SyncNotice> pageInfo(Long shopId, String name, String startTime, String endTime, Integer type, Integer isRead);
Page<SyncNotice> pageInfo(Long shopId, String name, String startTime, String endTime, String title, Integer isRead);
Boolean read(Long shopId, SyncNoticeReadDTO syncNoticeReadDTO);