<?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="cn.timer.api.dao.zpgl.ZpglDtkMapper"> <!-- 可根据自己的需求,是否要使用 --> <resultMap type="cn.timer.api.bean.zpgl.ZpglDtk" id="zpglDtkMap"> <result property="id" column="id"/> <result property="red" column="red"/> <result property="blue" column="blue"/> <result property="yellow" column="yellow"/> <result property="green" column="green"/> <result property="count" column="count"/> <result property="zpglRcxxId" column="zpgl_rcxx_id"/> <result property="createTime" column="create_time"/> </resultMap> </mapper>