package com.example.mapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import com.example.bean.Message;

import java.sql.Timestamp;
import java.util.List;
@Mapper
public interface MessageMapper {
    List<Message> getMessage(@Param("userid1")String userid1, @Param("userid2") String userid2);
    void sendMessage(@Param("senderid") String senderid,  @Param("message") String message,@Param("receiverid") String receiverid);
}
