|
@ -14,6 +14,8 @@ |
|
|
<result column="task_id" jdbcType="BIGINT" property="taskId" /> |
|
|
<result column="task_id" jdbcType="BIGINT" property="taskId" /> |
|
|
<result column="start_time" jdbcType="BIGINT" property="startTime" /> |
|
|
<result column="start_time" jdbcType="BIGINT" property="startTime" /> |
|
|
<result column="end_time" jdbcType="BIGINT" property="endTime" /> |
|
|
<result column="end_time" jdbcType="BIGINT" property="endTime" /> |
|
|
|
|
|
<result column="remark" jdbcType="VARCHAR" property="remark" /> |
|
|
|
|
|
<result column="waiver" jdbcType="TINYINT" property="waiver" /> |
|
|
</resultMap> |
|
|
</resultMap> |
|
|
<sql id="Example_Where_Clause"> |
|
|
<sql id="Example_Where_Clause"> |
|
|
<where> |
|
|
<where> |
|
@ -75,7 +77,7 @@ |
|
|
</sql> |
|
|
</sql> |
|
|
<sql id="Base_Column_List"> |
|
|
<sql id="Base_Column_List"> |
|
|
id, project_id, player_id, team, compete_order, site, created_at, updated_at, rec_status, |
|
|
id, project_id, player_id, team, compete_order, site, created_at, updated_at, rec_status, |
|
|
task_id, start_time, end_time |
|
|
task_id, start_time, end_time, remark, waiver |
|
|
</sql> |
|
|
</sql> |
|
|
<select id="selectByExample" parameterType="com.ccsens.mt.bean.po.CompeteStartOrderExample" resultMap="BaseResultMap"> |
|
|
<select id="selectByExample" parameterType="com.ccsens.mt.bean.po.CompeteStartOrderExample" resultMap="BaseResultMap"> |
|
|
select |
|
|
select |
|
@ -111,13 +113,13 @@ |
|
|
insert into t_compete_start_order (id, project_id, player_id, |
|
|
insert into t_compete_start_order (id, project_id, player_id, |
|
|
team, compete_order, site, |
|
|
team, compete_order, site, |
|
|
created_at, updated_at, rec_status, |
|
|
created_at, updated_at, rec_status, |
|
|
task_id, start_time, end_time |
|
|
task_id, start_time, end_time, |
|
|
) |
|
|
remark, waiver) |
|
|
values (#{id,jdbcType=BIGINT}, #{projectId,jdbcType=BIGINT}, #{playerId,jdbcType=BIGINT}, |
|
|
values (#{id,jdbcType=BIGINT}, #{projectId,jdbcType=BIGINT}, #{playerId,jdbcType=BIGINT}, |
|
|
#{team,jdbcType=TINYINT}, #{competeOrder,jdbcType=TINYINT}, #{site,jdbcType=TINYINT}, |
|
|
#{team,jdbcType=TINYINT}, #{competeOrder,jdbcType=TINYINT}, #{site,jdbcType=TINYINT}, |
|
|
#{createdAt,jdbcType=TIMESTAMP}, #{updatedAt,jdbcType=TIMESTAMP}, #{recStatus,jdbcType=TINYINT}, |
|
|
#{createdAt,jdbcType=TIMESTAMP}, #{updatedAt,jdbcType=TIMESTAMP}, #{recStatus,jdbcType=TINYINT}, |
|
|
#{taskId,jdbcType=BIGINT}, #{startTime,jdbcType=BIGINT}, #{endTime,jdbcType=BIGINT} |
|
|
#{taskId,jdbcType=BIGINT}, #{startTime,jdbcType=BIGINT}, #{endTime,jdbcType=BIGINT}, |
|
|
) |
|
|
#{remark,jdbcType=VARCHAR}, #{waiver,jdbcType=TINYINT}) |
|
|
</insert> |
|
|
</insert> |
|
|
<insert id="insertSelective" parameterType="com.ccsens.mt.bean.po.CompeteStartOrder"> |
|
|
<insert id="insertSelective" parameterType="com.ccsens.mt.bean.po.CompeteStartOrder"> |
|
|
insert into t_compete_start_order |
|
|
insert into t_compete_start_order |
|
@ -158,6 +160,12 @@ |
|
|
<if test="endTime != null"> |
|
|
<if test="endTime != null"> |
|
|
end_time, |
|
|
end_time, |
|
|
</if> |
|
|
</if> |
|
|
|
|
|
<if test="remark != null"> |
|
|
|
|
|
remark, |
|
|
|
|
|
</if> |
|
|
|
|
|
<if test="waiver != null"> |
|
|
|
|
|
waiver, |
|
|
|
|
|
</if> |
|
|
</trim> |
|
|
</trim> |
|
|
<trim prefix="values (" suffix=")" suffixOverrides=","> |
|
|
<trim prefix="values (" suffix=")" suffixOverrides=","> |
|
|
<if test="id != null"> |
|
|
<if test="id != null"> |
|
@ -196,6 +204,12 @@ |
|
|
<if test="endTime != null"> |
|
|
<if test="endTime != null"> |
|
|
#{endTime,jdbcType=BIGINT}, |
|
|
#{endTime,jdbcType=BIGINT}, |
|
|
</if> |
|
|
</if> |
|
|
|
|
|
<if test="remark != null"> |
|
|
|
|
|
#{remark,jdbcType=VARCHAR}, |
|
|
|
|
|
</if> |
|
|
|
|
|
<if test="waiver != null"> |
|
|
|
|
|
#{waiver,jdbcType=TINYINT}, |
|
|
|
|
|
</if> |
|
|
</trim> |
|
|
</trim> |
|
|
</insert> |
|
|
</insert> |
|
|
<select id="countByExample" parameterType="com.ccsens.mt.bean.po.CompeteStartOrderExample" resultType="java.lang.Long"> |
|
|
<select id="countByExample" parameterType="com.ccsens.mt.bean.po.CompeteStartOrderExample" resultType="java.lang.Long"> |
|
@ -243,6 +257,12 @@ |
|
|
<if test="record.endTime != null"> |
|
|
<if test="record.endTime != null"> |
|
|
end_time = #{record.endTime,jdbcType=BIGINT}, |
|
|
end_time = #{record.endTime,jdbcType=BIGINT}, |
|
|
</if> |
|
|
</if> |
|
|
|
|
|
<if test="record.remark != null"> |
|
|
|
|
|
remark = #{record.remark,jdbcType=VARCHAR}, |
|
|
|
|
|
</if> |
|
|
|
|
|
<if test="record.waiver != null"> |
|
|
|
|
|
waiver = #{record.waiver,jdbcType=TINYINT}, |
|
|
|
|
|
</if> |
|
|
</set> |
|
|
</set> |
|
|
<if test="_parameter != null"> |
|
|
<if test="_parameter != null"> |
|
|
<include refid="Update_By_Example_Where_Clause" /> |
|
|
<include refid="Update_By_Example_Where_Clause" /> |
|
@ -261,7 +281,9 @@ |
|
|
rec_status = #{record.recStatus,jdbcType=TINYINT}, |
|
|
rec_status = #{record.recStatus,jdbcType=TINYINT}, |
|
|
task_id = #{record.taskId,jdbcType=BIGINT}, |
|
|
task_id = #{record.taskId,jdbcType=BIGINT}, |
|
|
start_time = #{record.startTime,jdbcType=BIGINT}, |
|
|
start_time = #{record.startTime,jdbcType=BIGINT}, |
|
|
end_time = #{record.endTime,jdbcType=BIGINT} |
|
|
end_time = #{record.endTime,jdbcType=BIGINT}, |
|
|
|
|
|
remark = #{record.remark,jdbcType=VARCHAR}, |
|
|
|
|
|
waiver = #{record.waiver,jdbcType=TINYINT} |
|
|
<if test="_parameter != null"> |
|
|
<if test="_parameter != null"> |
|
|
<include refid="Update_By_Example_Where_Clause" /> |
|
|
<include refid="Update_By_Example_Where_Clause" /> |
|
|
</if> |
|
|
</if> |
|
@ -302,6 +324,12 @@ |
|
|
<if test="endTime != null"> |
|
|
<if test="endTime != null"> |
|
|
end_time = #{endTime,jdbcType=BIGINT}, |
|
|
end_time = #{endTime,jdbcType=BIGINT}, |
|
|
</if> |
|
|
</if> |
|
|
|
|
|
<if test="remark != null"> |
|
|
|
|
|
remark = #{remark,jdbcType=VARCHAR}, |
|
|
|
|
|
</if> |
|
|
|
|
|
<if test="waiver != null"> |
|
|
|
|
|
waiver = #{waiver,jdbcType=TINYINT}, |
|
|
|
|
|
</if> |
|
|
</set> |
|
|
</set> |
|
|
where id = #{id,jdbcType=BIGINT} |
|
|
where id = #{id,jdbcType=BIGINT} |
|
|
</update> |
|
|
</update> |
|
@ -317,7 +345,9 @@ |
|
|
rec_status = #{recStatus,jdbcType=TINYINT}, |
|
|
rec_status = #{recStatus,jdbcType=TINYINT}, |
|
|
task_id = #{taskId,jdbcType=BIGINT}, |
|
|
task_id = #{taskId,jdbcType=BIGINT}, |
|
|
start_time = #{startTime,jdbcType=BIGINT}, |
|
|
start_time = #{startTime,jdbcType=BIGINT}, |
|
|
end_time = #{endTime,jdbcType=BIGINT} |
|
|
end_time = #{endTime,jdbcType=BIGINT}, |
|
|
|
|
|
remark = #{remark,jdbcType=VARCHAR}, |
|
|
|
|
|
waiver = #{waiver,jdbcType=TINYINT} |
|
|
where id = #{id,jdbcType=BIGINT} |
|
|
where id = #{id,jdbcType=BIGINT} |
|
|
</update> |
|
|
</update> |
|
|
</mapper> |
|
|
</mapper> |