通知中心调整
This commit is contained in:
@@ -33,23 +33,13 @@ public class SyncNotice implements Serializable {
|
||||
@Id(keyType = KeyType.Auto)
|
||||
private Long id;
|
||||
|
||||
/**
|
||||
* 商品名称或耗材名称
|
||||
*/
|
||||
private String name;
|
||||
|
||||
/**
|
||||
* 来源id
|
||||
*/
|
||||
private Long sourceId;
|
||||
|
||||
/**
|
||||
* 操作用户id
|
||||
*/
|
||||
private Long sysUserId;
|
||||
|
||||
/**
|
||||
* 通知类型 0 商品变动 1 耗材变动
|
||||
* 通知类型 0 商品新增 1 商品编辑 2耗材新增 3耗材编辑
|
||||
*/
|
||||
private Integer type;
|
||||
|
||||
@@ -62,16 +52,14 @@ public class SyncNotice implements Serializable {
|
||||
* 店铺id
|
||||
*/
|
||||
private Long shopId;
|
||||
/**
|
||||
* 操作类型 0 新增 1 修改
|
||||
*/
|
||||
private Integer operationType;
|
||||
|
||||
/**
|
||||
* 消息内容
|
||||
*/
|
||||
private String content;
|
||||
|
||||
private String extraJson;
|
||||
|
||||
/**
|
||||
* 创建时间
|
||||
*/
|
||||
|
||||
@@ -20,10 +20,9 @@ public interface SyncNoticeService extends IService<SyncNotice> {
|
||||
* @param sysUserId 操作用户id
|
||||
* @param name 商品/耗材名称
|
||||
* @param id 商品/耗材id
|
||||
* @param type 0-商品 1-耗材
|
||||
* @param operationType 0-新增 1-修改
|
||||
* @param type 0 商品新增 1 商品编辑 2 耗材新增 3 耗材编辑
|
||||
*/
|
||||
void addNotice(Long shopId, Long sysUserId, String name, Long id, Integer type, Integer operationType);
|
||||
void addNotice(Long shopId, Long sysUserId, String name, Long id, Integer type);
|
||||
|
||||
Page<SyncNotice> pageInfo(Long shopId, String name, String startTime, String endTime, Integer type, Integer isRead);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user