| 12345678910111213141516171819202122232425262728293031 |
- <?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="com.mokamrp.privates.mapper.UserMapper">
- <!-- 开启二级缓存 -->
- <cache type="org.mybatis.caches.ehcache.LoggingEhcache"/>
- <!-- 通用查询映射结果 -->
- <resultMap id="BaseResultMap" type="com.mokamrp.privates.mapper.pojo.User">
- <id column="id" property="id" />
- <result column="phone" property="phone" />
- <result column="password" property="password" />
- <result column="name" property="name" />
- <result column="gender" property="gender" />
- <result column="department" property="department" />
- <result column="position" property="position" />
- <result column="login_time" property="loginTime" />
- <result column="status" property="status" />
- <result column="tenant_id" property="tenantId" />
- <result column="created_at" property="createdAt" />
- <result column="updated_at" property="updatedAt" />
- <result column="deleted_at" property="deletedAt" />
- <result column="isSuperAdmin" property="isSuperAdmin" />
- </resultMap>
- <!-- 通用查询结果列 -->
- <sql id="Base_Column_List">
- id, phone, password, name, gender, department, position, login_time, status, tenant_id, created_at, updated_at, deleted_at, isSuperAdmin
- </sql>
- </mapper>
|