<?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.IpVolumeMissionMapper">
|
|
<resultMap id="BaseResultMap" type="com.sandu.ximon.dao.domain.IpVolumeMission">
|
<id property="taskId" column="task_id" jdbcType="INTEGER"/>
|
<result property="userId" column="user_id" jdbcType="BIGINT"/>
|
<result property="userName" column="user_name" jdbcType="VARCHAR"/>
|
<result property="clientId" column="client_id" jdbcType="BIGINT"/>
|
<result property="missionName" column="mission_name" jdbcType="VARCHAR"/>
|
<result property="missionFileUrl" column="mission_file_url" jdbcType="VARCHAR"/>
|
<result property="numberInPlay" column="number_in_play" jdbcType="INTEGER"/>
|
<result property="createTime" column="create_time" jdbcType="TIMESTAMP"/>
|
<result property="onDate" column="on_date" jdbcType="BIGINT"/>
|
<result property="offDate" column="off_date" jdbcType="BIGINT"/>
|
<result property="week" column="week" jdbcType="INTEGER"/>
|
<result property="missionVolume" column="mission_volume" jdbcType="INTEGER"/>
|
<result property="fileName" column="file_name" jdbcType="VARCHAR"/>
|
|
</resultMap>
|
|
|
<sql id="Base_Column_List">
|
task_id
|
,user_id,user_name,
|
client_id,mission_name,mission_file_url,
|
number_in_play,create_time,on_date,
|
off_date,week,mission_volume
|
</sql>
|
|
|
<!-- SELECT
|
t1.task_id,
|
t1.mission_name,
|
t1.number_in_play,
|
t1.create_time,
|
t1.user_name,
|
t2.file_name
|
FROM
|
ip_volume_mission t1
|
JOIN ip_volume_file t2
|
JOIN broadcast_v2_task_file t3 ON t1.task_id = t3.task_id
|
AND t2.id = t3.file_id-->
|
|
</mapper>
|