mapper文件简单格式

Posted 牧阳人

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了mapper文件简单格式相关的知识,希望对你有一定的参考价值。

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">

<mapper namespace="包名">

<select id="接口方法名" resultType=model地址">
select id , title ,detail_desc , answer_count,last_modified
from questions order by last_modified desc
</select>

以上是关于mapper文件简单格式的主要内容,如果未能解决你的问题,请参考以下文章

用Global Mapper如何操作把点文件生成*.dem格式的DEM,谢谢!

R语言可视化展示gff3格式基因组注释文件简单小例子

1. Mapper XML映射文件

idea mapper xml 文件报红

Mapper xml中返回值类型

MyBatis Mapper文件简述