通知中心接口完善

This commit is contained in:
张松
2025-04-07 10:34:35 +08:00
parent 379163dae8
commit 821d67c527
4 changed files with 38 additions and 4 deletions

View File

@@ -62,6 +62,15 @@ public class SyncNotice implements Serializable {
* 店铺id
*/
private Long shopId;
/**
* 操作类型 0 新增 1 修改
*/
private Integer operationType;
/**
* 消息内容
*/
private String content;
/**
* 创建时间

View File

@@ -21,8 +21,9 @@ public interface SyncNoticeService extends IService<SyncNotice> {
* @param name 商品/耗材名称
* @param id 商品/耗材id
* @param type 0-商品 1-耗材
* @param operationType 0-新增 1-修改
*/
void addNotice(Long shopId, Long sysUserId, String name, Long id, Integer type);
void addNotice(Long shopId, Long sysUserId, String name, Long id, Integer type, Integer operationType);
Page<SyncNotice> pageInfo(Long shopId, String name, String startTime, String endTime, Integer type, Integer isRead);