mapper.sys.ConfigMapper.xml Maven / Gradle / Ivy
<?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="io.github.wslxm.springbootplus2.manage.sys.mapper.ConfigMapper"> <!-- 通用查询映射结果 --> <resultMap id="BaseResultMap" type="io.github.wslxm.springbootplus2.manage.sys.model.entity.Config"> <result column="id" property="id" /> <result column="create_user" property="createUser" /> <result column="update_user" property="updateUser" /> <result column="create_time" property="createTime" /> <result column="update_time" property="updateTime" /> <result column="deleted" property="deleted" /> <result column="version" property="version" /> <result column="code" property="code" /> <result column="name" property="name" /> <result column="content" property="content" /> <result column="sort" property="sort" /> </resultMap> <!-- 通用查询结果列: <include refid="Base_Column_List"></include> --> <sql id="Base_Column_List"> id, create_user, update_user, create_time, update_time, deleted, version, code, name, content, sort </sql> </mapper>