package com.jwipc.message.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.jwipc.message.entity.MessageCenter;
import com.baomidou.mybatisplus.extension.service.IService;
import com.jwipc.message.model.po.AddresseeUserPO;
import com.jwipc.message.model.po.MessageCenterPO;
import com.jwipc.message.model.query.AddresseeUserQuery;
import com.jwipc.message.model.query.MessageCenterQuery;

import java.util.List;

/**
 * <p>
 * 信息中心主表 服务类
 * </p>
 *
 * @author shenyang.ou
 * @since 2024-07-03
 */
public interface IMessageCenterService extends IService<MessageCenter> {

    List<AddresseeUserPO> selectSupplierUser(AddresseeUserQuery query);

    List<AddresseeUserPO> selectUser(AddresseeUserQuery query);

    List<MessageCenterPO> findPageByQuery(Page<MessageCenter> dbPage, MessageCenterQuery query);

    MessageCenterPO getDataById(Long id);
}
