package com.ruoyi.frequency.ordermessage.service;

import java.util.List;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ruoyi.controller.req.MessageReadOrDeleteReq;
import com.ruoyi.enums.message.OrderMessageEnums;
import com.ruoyi.frequency.ordermessage.entity.OrderMessageUtil;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.response.ResponseData;
import com.ruoyi.vo.PageBasic;
import com.ruoyi.vo.UserVo;

/**
 * 订单消息Service接口
 *
 * @author zj
 * @date 2023-10-13
 */
public interface OrderMessageUtilService extends IService<OrderMessageUtil>
{

    /**
     * 添加订单消息
     * @param userVo
     * @param orderId
     * @param orderType
     * @param orderMessageEnums
     */
    void addOrderMessage(UserVo userVo, Long orderId, String orderNo,String amount, Integer orderType, OrderMessageEnums orderMessageEnums);

    /**
     * 添加订单消息
     * @param userVo
     * @param orderId
     * @param orderType
     * @param orderMessageEnums
     */
    void addOrderMessage(UserVo userVo, Long orderId, String orderNo, Integer orderType, OrderMessageEnums orderMessageEnums,String... content);
}
