<?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.huaheng.pc.system.notice.mapper.SysNoticeMapper"> <resultMap id="BaseResultMap" type="com.huaheng.pc.system.notice.domain.SysNotice"> <!--@mbg.generated--> <!--@Table sys_notice--> <id column="id" jdbcType="INTEGER" property="id" /> <result column="title" jdbcType="VARCHAR" property="title" /> <result column="type" jdbcType="CHAR" property="type" /> <result column="userId" jdbcType="BIGINT" property="userId" /> <result column="userName" jdbcType="VARCHAR" property="userName" /> <result column="content" jdbcType="VARCHAR" property="content" /> <result column="status" jdbcType="CHAR" property="status" /> <result column="createdBy" jdbcType="VARCHAR" property="createdBy" /> <result column="created" jdbcType="TIMESTAMP" property="created" /> <result column="remark" jdbcType="VARCHAR" property="remark" /> <result column="url" jdbcType="VARCHAR" property="url" /> </resultMap> <sql id="Base_Column_List"> <!--@mbg.generated--> id, title, `type`, userId, userName, content, `status`, createdBy, created, remark, url </sql> </mapper>