17 lines
450 B
Java
17 lines
450 B
Java
package vvpkassistant.chat;
|
|
|
|
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
|
import org.apache.ibatis.annotations.Mapper;
|
|
import org.apache.ibatis.annotations.Param;
|
|
import org.apache.ibatis.annotations.Select;
|
|
|
|
@Mapper
|
|
public interface ChatDao extends BaseMapper<ChatModel> {
|
|
|
|
// 根据key_id 查询数据
|
|
@Select("select * from pk_chat where key_id = #{keyId}")
|
|
ChatModel selectModelWithKeyId(@Param("keyId") String keyId);
|
|
|
|
|
|
}
|