package shop.alien.store.service;

import com.alibaba.fastjson.JSONObject;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import shop.alien.entity.result.R;
import shop.alien.entity.store.LifeNotice;
import shop.alien.entity.store.vo.LifeNoticeVo;

import java.util.List;

public interface LifeNoticeService extends IService<LifeNotice> {

    R<IPage<LifeNoticeVo>> getNoticeList(int pageNum, int pageSize, String receiverId, int noticeType);

    JSONObject getSystemAndOrderNoticeSum(String receiverId);

    int readNoticeById(Integer id);

}
