<?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.sandu.ximon.dao.mapper.PlayPlanMapper">
|
|
<resultMap id="BaseResultMap" type="com.sandu.ximon.dao.domain.PlayPlan">
|
<id property="id" column="id" jdbcType="BIGINT"/>
|
<result property="userId" column="user_id" jdbcType="BIGINT"/>
|
<result property="name" column="name" jdbcType="VARCHAR"/>
|
<result property="ledProgramId" column="led_program_id" jdbcType="BIGINT"/>
|
<result property="ledProgramName" column="led_program_name" jdbcType="VARCHAR"/>
|
<result property="volume" column="volume" jdbcType="DOUBLE"/>
|
<result property="applySeries" column="apply_series" jdbcType="INTEGER"/>
|
<result property="onDateRange" column="on_date_range" jdbcType="TIMESTAMP"/>
|
<result property="offDateRange" column="off-date_range" jdbcType="TIMESTAMP"/>
|
<result property="weekRange" column="week_range" typeHandler="com.sandu.common.mybatis.JsonStringArrayTypeHandler"/>
|
<result property="onTime" column="on_time" jdbcType="TIMESTAMP"/>
|
<result property="offTime" column="off_time" jdbcType="TIMESTAMP"/>
|
</resultMap>
|
|
<sql id="Base_Column_List">
|
id,user_id,name,
|
led_program_id,led_program_name,volume,
|
apply_series,date_range,week_range,
|
on_time,off_time
|
</sql>
|
</mapper>
|