package com.ruoyi.system.service.md;

import com.ruoyi.system.domain.md.NewmsgOutbox;
import com.ruoyi.system.domain.md.NewmsgOutboxExample;
import com.ruoyi.system.domain.md.enums.OutboxState;
import com.ruoyi.system.domain.md.request.NewMsgSendData;
import com.ruoyi.system.domain.md.request.NewMsgUser;
import com.ruoyi.system.service.BaseService;

/**
 * @author vidar
 * date 2024/6/6
 * description
 **/
public interface NewmsgOutboxService extends BaseService<NewmsgOutbox, NewmsgOutboxExample> {
    String saveDraft(NewMsgSendData sendData, NewMsgUser from);
    void updateOutboxState(String outboxId, OutboxState state);
    NewmsgOutbox getOutboxDetailNoBody(String id);
}
