<?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.newfiber.api.pc.dao.TaskUserAuthMapper"> <!-- 通用映射列 --> <resultMap id="BaseResultMap" type="com.newfiber.api.pc.model.entity.TaskUserAuth"> <result column="id" property="id"/> <result column="user_no" property="userNo"/> <result column="user_name" property="userName"/> <result column="user_type" property="userType"/> <result column="create_time" property="createTime"/> <result column="update_time" property="updateTime"/> </resultMap> <!-- 通用数据库列 --> <sql id="Base_Column_List"> id, user_no, user_name, user_type, create_time, update_time </sql> </mapper>