You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
575 lines
22 KiB
575 lines
22 KiB
<?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.ccsens.tall.persist.mapper.ProTaskDetailMapper">
|
|
<resultMap id="BaseResultMap" type="com.ccsens.tall.bean.po.ProTaskDetail">
|
|
<id column="id" jdbcType="BIGINT" property="id" />
|
|
<result column="project_id" jdbcType="BIGINT" property="projectId" />
|
|
<result column="name" jdbcType="VARCHAR" property="name" />
|
|
<result column="description" jdbcType="VARCHAR" property="description" />
|
|
<result column="begin_time" jdbcType="BIGINT" property="beginTime" />
|
|
<result column="end_time" jdbcType="BIGINT" property="endTime" />
|
|
<result column="cycle" jdbcType="VARCHAR" property="cycle" />
|
|
<result column="parent_id" jdbcType="BIGINT" property="parentId" />
|
|
<result column="sub_task" jdbcType="VARCHAR" property="subTask" />
|
|
<result column="sub_project_id" jdbcType="BIGINT" property="subProjectId" />
|
|
<result column="sub_project" jdbcType="VARCHAR" property="subProject" />
|
|
<result column="executor_role" jdbcType="BIGINT" property="executorRole" />
|
|
<result column="checker_role" jdbcType="BIGINT" property="checkerRole" />
|
|
<result column="money" jdbcType="BIGINT" property="money" />
|
|
<result column="delay" jdbcType="TINYINT" property="delay" />
|
|
<result column="delay_time" jdbcType="BIGINT" property="delayTime" />
|
|
<result column="loop_to" jdbcType="BIGINT" property="loopTo" />
|
|
<result column="loop_times" jdbcType="INTEGER" property="loopTimes" />
|
|
<result column="virtual" jdbcType="TINYINT" property="virtual" />
|
|
<result column="level" jdbcType="TINYINT" property="level" />
|
|
<result column="has_group" jdbcType="TINYINT" property="hasGroup" />
|
|
<result column="finish_need_all" jdbcType="TINYINT" property="finishNeedAll" />
|
|
<result column="all_member" jdbcType="TINYINT" property="allMember" />
|
|
<result column="created_at" jdbcType="TIMESTAMP" property="createdAt" />
|
|
<result column="updated_at" jdbcType="TIMESTAMP" property="updatedAt" />
|
|
<result column="rec_status" jdbcType="TINYINT" property="recStatus" />
|
|
<result column="priority" jdbcType="TINYINT" property="priority" />
|
|
<result column="milestone" jdbcType="TINYINT" property="milestone" />
|
|
</resultMap>
|
|
<sql id="Example_Where_Clause">
|
|
<where>
|
|
<foreach collection="oredCriteria" item="criteria" separator="or">
|
|
<if test="criteria.valid">
|
|
<trim prefix="(" prefixOverrides="and" suffix=")">
|
|
<foreach collection="criteria.criteria" item="criterion">
|
|
<choose>
|
|
<when test="criterion.noValue">
|
|
and ${criterion.condition}
|
|
</when>
|
|
<when test="criterion.singleValue">
|
|
and ${criterion.condition} #{criterion.value}
|
|
</when>
|
|
<when test="criterion.betweenValue">
|
|
and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
|
|
</when>
|
|
<when test="criterion.listValue">
|
|
and ${criterion.condition}
|
|
<foreach close=")" collection="criterion.value" item="listItem" open="(" separator=",">
|
|
#{listItem}
|
|
</foreach>
|
|
</when>
|
|
</choose>
|
|
</foreach>
|
|
</trim>
|
|
</if>
|
|
</foreach>
|
|
</where>
|
|
</sql>
|
|
<sql id="Update_By_Example_Where_Clause">
|
|
<where>
|
|
<foreach collection="example.oredCriteria" item="criteria" separator="or">
|
|
<if test="criteria.valid">
|
|
<trim prefix="(" prefixOverrides="and" suffix=")">
|
|
<foreach collection="criteria.criteria" item="criterion">
|
|
<choose>
|
|
<when test="criterion.noValue">
|
|
and ${criterion.condition}
|
|
</when>
|
|
<when test="criterion.singleValue">
|
|
and ${criterion.condition} #{criterion.value}
|
|
</when>
|
|
<when test="criterion.betweenValue">
|
|
and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
|
|
</when>
|
|
<when test="criterion.listValue">
|
|
and ${criterion.condition}
|
|
<foreach close=")" collection="criterion.value" item="listItem" open="(" separator=",">
|
|
#{listItem}
|
|
</foreach>
|
|
</when>
|
|
</choose>
|
|
</foreach>
|
|
</trim>
|
|
</if>
|
|
</foreach>
|
|
</where>
|
|
</sql>
|
|
<sql id="Base_Column_List">
|
|
id, project_id, name, description, begin_time, end_time, cycle, parent_id, sub_task,
|
|
sub_project_id, sub_project, executor_role, checker_role, money, delay, delay_time,
|
|
loop_to, loop_times, virtual, level, has_group, finish_need_all, all_member, created_at,
|
|
updated_at, rec_status, priority, milestone
|
|
</sql>
|
|
<select id="selectByExample" parameterType="com.ccsens.tall.bean.po.ProTaskDetailExample" resultMap="BaseResultMap">
|
|
select
|
|
<if test="distinct">
|
|
distinct
|
|
</if>
|
|
<include refid="Base_Column_List" />
|
|
from t_pro_task_detail
|
|
<if test="_parameter != null">
|
|
<include refid="Example_Where_Clause" />
|
|
</if>
|
|
<if test="orderByClause != null">
|
|
order by ${orderByClause}
|
|
</if>
|
|
</select>
|
|
<select id="selectByPrimaryKey" parameterType="java.lang.Long" resultMap="BaseResultMap">
|
|
select
|
|
<include refid="Base_Column_List" />
|
|
from t_pro_task_detail
|
|
where id = #{id,jdbcType=BIGINT}
|
|
</select>
|
|
<delete id="deleteByPrimaryKey" parameterType="java.lang.Long">
|
|
delete from t_pro_task_detail
|
|
where id = #{id,jdbcType=BIGINT}
|
|
</delete>
|
|
<delete id="deleteByExample" parameterType="com.ccsens.tall.bean.po.ProTaskDetailExample">
|
|
delete from t_pro_task_detail
|
|
<if test="_parameter != null">
|
|
<include refid="Example_Where_Clause" />
|
|
</if>
|
|
</delete>
|
|
<insert id="insert" parameterType="com.ccsens.tall.bean.po.ProTaskDetail">
|
|
insert into t_pro_task_detail (id, project_id, name,
|
|
description, begin_time, end_time,
|
|
cycle, parent_id, sub_task,
|
|
sub_project_id, sub_project, executor_role,
|
|
checker_role, money, delay,
|
|
delay_time, loop_to, loop_times,
|
|
virtual, level, has_group,
|
|
finish_need_all, all_member, created_at,
|
|
updated_at, rec_status, priority,
|
|
milestone)
|
|
values (#{id,jdbcType=BIGINT}, #{projectId,jdbcType=BIGINT}, #{name,jdbcType=VARCHAR},
|
|
#{description,jdbcType=VARCHAR}, #{beginTime,jdbcType=BIGINT}, #{endTime,jdbcType=BIGINT},
|
|
#{cycle,jdbcType=VARCHAR}, #{parentId,jdbcType=BIGINT}, #{subTask,jdbcType=VARCHAR},
|
|
#{subProjectId,jdbcType=BIGINT}, #{subProject,jdbcType=VARCHAR}, #{executorRole,jdbcType=BIGINT},
|
|
#{checkerRole,jdbcType=BIGINT}, #{money,jdbcType=BIGINT}, #{delay,jdbcType=TINYINT},
|
|
#{delayTime,jdbcType=BIGINT}, #{loopTo,jdbcType=BIGINT}, #{loopTimes,jdbcType=INTEGER},
|
|
#{virtual,jdbcType=TINYINT}, #{level,jdbcType=TINYINT}, #{hasGroup,jdbcType=TINYINT},
|
|
#{finishNeedAll,jdbcType=TINYINT}, #{allMember,jdbcType=TINYINT}, #{createdAt,jdbcType=TIMESTAMP},
|
|
#{updatedAt,jdbcType=TIMESTAMP}, #{recStatus,jdbcType=TINYINT}, #{priority,jdbcType=TINYINT},
|
|
#{milestone,jdbcType=TINYINT})
|
|
</insert>
|
|
<insert id="insertSelective" parameterType="com.ccsens.tall.bean.po.ProTaskDetail">
|
|
insert into t_pro_task_detail
|
|
<trim prefix="(" suffix=")" suffixOverrides=",">
|
|
<if test="id != null">
|
|
id,
|
|
</if>
|
|
<if test="projectId != null">
|
|
project_id,
|
|
</if>
|
|
<if test="name != null">
|
|
name,
|
|
</if>
|
|
<if test="description != null">
|
|
description,
|
|
</if>
|
|
<if test="beginTime != null">
|
|
begin_time,
|
|
</if>
|
|
<if test="endTime != null">
|
|
end_time,
|
|
</if>
|
|
<if test="cycle != null">
|
|
cycle,
|
|
</if>
|
|
<if test="parentId != null">
|
|
parent_id,
|
|
</if>
|
|
<if test="subTask != null">
|
|
sub_task,
|
|
</if>
|
|
<if test="subProjectId != null">
|
|
sub_project_id,
|
|
</if>
|
|
<if test="subProject != null">
|
|
sub_project,
|
|
</if>
|
|
<if test="executorRole != null">
|
|
executor_role,
|
|
</if>
|
|
<if test="checkerRole != null">
|
|
checker_role,
|
|
</if>
|
|
<if test="money != null">
|
|
money,
|
|
</if>
|
|
<if test="delay != null">
|
|
delay,
|
|
</if>
|
|
<if test="delayTime != null">
|
|
delay_time,
|
|
</if>
|
|
<if test="loopTo != null">
|
|
loop_to,
|
|
</if>
|
|
<if test="loopTimes != null">
|
|
loop_times,
|
|
</if>
|
|
<if test="virtual != null">
|
|
virtual,
|
|
</if>
|
|
<if test="level != null">
|
|
level,
|
|
</if>
|
|
<if test="hasGroup != null">
|
|
has_group,
|
|
</if>
|
|
<if test="finishNeedAll != null">
|
|
finish_need_all,
|
|
</if>
|
|
<if test="allMember != null">
|
|
all_member,
|
|
</if>
|
|
<if test="createdAt != null">
|
|
created_at,
|
|
</if>
|
|
<if test="updatedAt != null">
|
|
updated_at,
|
|
</if>
|
|
<if test="recStatus != null">
|
|
rec_status,
|
|
</if>
|
|
<if test="priority != null">
|
|
priority,
|
|
</if>
|
|
<if test="milestone != null">
|
|
milestone,
|
|
</if>
|
|
</trim>
|
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
<if test="id != null">
|
|
#{id,jdbcType=BIGINT},
|
|
</if>
|
|
<if test="projectId != null">
|
|
#{projectId,jdbcType=BIGINT},
|
|
</if>
|
|
<if test="name != null">
|
|
#{name,jdbcType=VARCHAR},
|
|
</if>
|
|
<if test="description != null">
|
|
#{description,jdbcType=VARCHAR},
|
|
</if>
|
|
<if test="beginTime != null">
|
|
#{beginTime,jdbcType=BIGINT},
|
|
</if>
|
|
<if test="endTime != null">
|
|
#{endTime,jdbcType=BIGINT},
|
|
</if>
|
|
<if test="cycle != null">
|
|
#{cycle,jdbcType=VARCHAR},
|
|
</if>
|
|
<if test="parentId != null">
|
|
#{parentId,jdbcType=BIGINT},
|
|
</if>
|
|
<if test="subTask != null">
|
|
#{subTask,jdbcType=VARCHAR},
|
|
</if>
|
|
<if test="subProjectId != null">
|
|
#{subProjectId,jdbcType=BIGINT},
|
|
</if>
|
|
<if test="subProject != null">
|
|
#{subProject,jdbcType=VARCHAR},
|
|
</if>
|
|
<if test="executorRole != null">
|
|
#{executorRole,jdbcType=BIGINT},
|
|
</if>
|
|
<if test="checkerRole != null">
|
|
#{checkerRole,jdbcType=BIGINT},
|
|
</if>
|
|
<if test="money != null">
|
|
#{money,jdbcType=BIGINT},
|
|
</if>
|
|
<if test="delay != null">
|
|
#{delay,jdbcType=TINYINT},
|
|
</if>
|
|
<if test="delayTime != null">
|
|
#{delayTime,jdbcType=BIGINT},
|
|
</if>
|
|
<if test="loopTo != null">
|
|
#{loopTo,jdbcType=BIGINT},
|
|
</if>
|
|
<if test="loopTimes != null">
|
|
#{loopTimes,jdbcType=INTEGER},
|
|
</if>
|
|
<if test="virtual != null">
|
|
#{virtual,jdbcType=TINYINT},
|
|
</if>
|
|
<if test="level != null">
|
|
#{level,jdbcType=TINYINT},
|
|
</if>
|
|
<if test="hasGroup != null">
|
|
#{hasGroup,jdbcType=TINYINT},
|
|
</if>
|
|
<if test="finishNeedAll != null">
|
|
#{finishNeedAll,jdbcType=TINYINT},
|
|
</if>
|
|
<if test="allMember != null">
|
|
#{allMember,jdbcType=TINYINT},
|
|
</if>
|
|
<if test="createdAt != null">
|
|
#{createdAt,jdbcType=TIMESTAMP},
|
|
</if>
|
|
<if test="updatedAt != null">
|
|
#{updatedAt,jdbcType=TIMESTAMP},
|
|
</if>
|
|
<if test="recStatus != null">
|
|
#{recStatus,jdbcType=TINYINT},
|
|
</if>
|
|
<if test="priority != null">
|
|
#{priority,jdbcType=TINYINT},
|
|
</if>
|
|
<if test="milestone != null">
|
|
#{milestone,jdbcType=TINYINT},
|
|
</if>
|
|
</trim>
|
|
</insert>
|
|
<select id="countByExample" parameterType="com.ccsens.tall.bean.po.ProTaskDetailExample" resultType="java.lang.Long">
|
|
select count(*) from t_pro_task_detail
|
|
<if test="_parameter != null">
|
|
<include refid="Example_Where_Clause" />
|
|
</if>
|
|
</select>
|
|
<update id="updateByExampleSelective" parameterType="map">
|
|
update t_pro_task_detail
|
|
<set>
|
|
<if test="record.id != null">
|
|
id = #{record.id,jdbcType=BIGINT},
|
|
</if>
|
|
<if test="record.projectId != null">
|
|
project_id = #{record.projectId,jdbcType=BIGINT},
|
|
</if>
|
|
<if test="record.name != null">
|
|
name = #{record.name,jdbcType=VARCHAR},
|
|
</if>
|
|
<if test="record.description != null">
|
|
description = #{record.description,jdbcType=VARCHAR},
|
|
</if>
|
|
<if test="record.beginTime != null">
|
|
begin_time = #{record.beginTime,jdbcType=BIGINT},
|
|
</if>
|
|
<if test="record.endTime != null">
|
|
end_time = #{record.endTime,jdbcType=BIGINT},
|
|
</if>
|
|
<if test="record.cycle != null">
|
|
cycle = #{record.cycle,jdbcType=VARCHAR},
|
|
</if>
|
|
<if test="record.parentId != null">
|
|
parent_id = #{record.parentId,jdbcType=BIGINT},
|
|
</if>
|
|
<if test="record.subTask != null">
|
|
sub_task = #{record.subTask,jdbcType=VARCHAR},
|
|
</if>
|
|
<if test="record.subProjectId != null">
|
|
sub_project_id = #{record.subProjectId,jdbcType=BIGINT},
|
|
</if>
|
|
<if test="record.subProject != null">
|
|
sub_project = #{record.subProject,jdbcType=VARCHAR},
|
|
</if>
|
|
<if test="record.executorRole != null">
|
|
executor_role = #{record.executorRole,jdbcType=BIGINT},
|
|
</if>
|
|
<if test="record.checkerRole != null">
|
|
checker_role = #{record.checkerRole,jdbcType=BIGINT},
|
|
</if>
|
|
<if test="record.money != null">
|
|
money = #{record.money,jdbcType=BIGINT},
|
|
</if>
|
|
<if test="record.delay != null">
|
|
delay = #{record.delay,jdbcType=TINYINT},
|
|
</if>
|
|
<if test="record.delayTime != null">
|
|
delay_time = #{record.delayTime,jdbcType=BIGINT},
|
|
</if>
|
|
<if test="record.loopTo != null">
|
|
loop_to = #{record.loopTo,jdbcType=BIGINT},
|
|
</if>
|
|
<if test="record.loopTimes != null">
|
|
loop_times = #{record.loopTimes,jdbcType=INTEGER},
|
|
</if>
|
|
<if test="record.virtual != null">
|
|
virtual = #{record.virtual,jdbcType=TINYINT},
|
|
</if>
|
|
<if test="record.level != null">
|
|
level = #{record.level,jdbcType=TINYINT},
|
|
</if>
|
|
<if test="record.hasGroup != null">
|
|
has_group = #{record.hasGroup,jdbcType=TINYINT},
|
|
</if>
|
|
<if test="record.finishNeedAll != null">
|
|
finish_need_all = #{record.finishNeedAll,jdbcType=TINYINT},
|
|
</if>
|
|
<if test="record.allMember != null">
|
|
all_member = #{record.allMember,jdbcType=TINYINT},
|
|
</if>
|
|
<if test="record.createdAt != null">
|
|
created_at = #{record.createdAt,jdbcType=TIMESTAMP},
|
|
</if>
|
|
<if test="record.updatedAt != null">
|
|
updated_at = #{record.updatedAt,jdbcType=TIMESTAMP},
|
|
</if>
|
|
<if test="record.recStatus != null">
|
|
rec_status = #{record.recStatus,jdbcType=TINYINT},
|
|
</if>
|
|
<if test="record.priority != null">
|
|
priority = #{record.priority,jdbcType=TINYINT},
|
|
</if>
|
|
<if test="record.milestone != null">
|
|
milestone = #{record.milestone,jdbcType=TINYINT},
|
|
</if>
|
|
</set>
|
|
<if test="_parameter != null">
|
|
<include refid="Update_By_Example_Where_Clause" />
|
|
</if>
|
|
</update>
|
|
<update id="updateByExample" parameterType="map">
|
|
update t_pro_task_detail
|
|
set id = #{record.id,jdbcType=BIGINT},
|
|
project_id = #{record.projectId,jdbcType=BIGINT},
|
|
name = #{record.name,jdbcType=VARCHAR},
|
|
description = #{record.description,jdbcType=VARCHAR},
|
|
begin_time = #{record.beginTime,jdbcType=BIGINT},
|
|
end_time = #{record.endTime,jdbcType=BIGINT},
|
|
cycle = #{record.cycle,jdbcType=VARCHAR},
|
|
parent_id = #{record.parentId,jdbcType=BIGINT},
|
|
sub_task = #{record.subTask,jdbcType=VARCHAR},
|
|
sub_project_id = #{record.subProjectId,jdbcType=BIGINT},
|
|
sub_project = #{record.subProject,jdbcType=VARCHAR},
|
|
executor_role = #{record.executorRole,jdbcType=BIGINT},
|
|
checker_role = #{record.checkerRole,jdbcType=BIGINT},
|
|
money = #{record.money,jdbcType=BIGINT},
|
|
delay = #{record.delay,jdbcType=TINYINT},
|
|
delay_time = #{record.delayTime,jdbcType=BIGINT},
|
|
loop_to = #{record.loopTo,jdbcType=BIGINT},
|
|
loop_times = #{record.loopTimes,jdbcType=INTEGER},
|
|
virtual = #{record.virtual,jdbcType=TINYINT},
|
|
level = #{record.level,jdbcType=TINYINT},
|
|
has_group = #{record.hasGroup,jdbcType=TINYINT},
|
|
finish_need_all = #{record.finishNeedAll,jdbcType=TINYINT},
|
|
all_member = #{record.allMember,jdbcType=TINYINT},
|
|
created_at = #{record.createdAt,jdbcType=TIMESTAMP},
|
|
updated_at = #{record.updatedAt,jdbcType=TIMESTAMP},
|
|
rec_status = #{record.recStatus,jdbcType=TINYINT},
|
|
priority = #{record.priority,jdbcType=TINYINT},
|
|
milestone = #{record.milestone,jdbcType=TINYINT}
|
|
<if test="_parameter != null">
|
|
<include refid="Update_By_Example_Where_Clause" />
|
|
</if>
|
|
</update>
|
|
<update id="updateByPrimaryKeySelective" parameterType="com.ccsens.tall.bean.po.ProTaskDetail">
|
|
update t_pro_task_detail
|
|
<set>
|
|
<if test="projectId != null">
|
|
project_id = #{projectId,jdbcType=BIGINT},
|
|
</if>
|
|
<if test="name != null">
|
|
name = #{name,jdbcType=VARCHAR},
|
|
</if>
|
|
<if test="description != null">
|
|
description = #{description,jdbcType=VARCHAR},
|
|
</if>
|
|
<if test="beginTime != null">
|
|
begin_time = #{beginTime,jdbcType=BIGINT},
|
|
</if>
|
|
<if test="endTime != null">
|
|
end_time = #{endTime,jdbcType=BIGINT},
|
|
</if>
|
|
<if test="cycle != null">
|
|
cycle = #{cycle,jdbcType=VARCHAR},
|
|
</if>
|
|
<if test="parentId != null">
|
|
parent_id = #{parentId,jdbcType=BIGINT},
|
|
</if>
|
|
<if test="subTask != null">
|
|
sub_task = #{subTask,jdbcType=VARCHAR},
|
|
</if>
|
|
<if test="subProjectId != null">
|
|
sub_project_id = #{subProjectId,jdbcType=BIGINT},
|
|
</if>
|
|
<if test="subProject != null">
|
|
sub_project = #{subProject,jdbcType=VARCHAR},
|
|
</if>
|
|
<if test="executorRole != null">
|
|
executor_role = #{executorRole,jdbcType=BIGINT},
|
|
</if>
|
|
<if test="checkerRole != null">
|
|
checker_role = #{checkerRole,jdbcType=BIGINT},
|
|
</if>
|
|
<if test="money != null">
|
|
money = #{money,jdbcType=BIGINT},
|
|
</if>
|
|
<if test="delay != null">
|
|
delay = #{delay,jdbcType=TINYINT},
|
|
</if>
|
|
<if test="delayTime != null">
|
|
delay_time = #{delayTime,jdbcType=BIGINT},
|
|
</if>
|
|
<if test="loopTo != null">
|
|
loop_to = #{loopTo,jdbcType=BIGINT},
|
|
</if>
|
|
<if test="loopTimes != null">
|
|
loop_times = #{loopTimes,jdbcType=INTEGER},
|
|
</if>
|
|
<if test="virtual != null">
|
|
virtual = #{virtual,jdbcType=TINYINT},
|
|
</if>
|
|
<if test="level != null">
|
|
level = #{level,jdbcType=TINYINT},
|
|
</if>
|
|
<if test="hasGroup != null">
|
|
has_group = #{hasGroup,jdbcType=TINYINT},
|
|
</if>
|
|
<if test="finishNeedAll != null">
|
|
finish_need_all = #{finishNeedAll,jdbcType=TINYINT},
|
|
</if>
|
|
<if test="allMember != null">
|
|
all_member = #{allMember,jdbcType=TINYINT},
|
|
</if>
|
|
<if test="createdAt != null">
|
|
created_at = #{createdAt,jdbcType=TIMESTAMP},
|
|
</if>
|
|
<if test="updatedAt != null">
|
|
updated_at = #{updatedAt,jdbcType=TIMESTAMP},
|
|
</if>
|
|
<if test="recStatus != null">
|
|
rec_status = #{recStatus,jdbcType=TINYINT},
|
|
</if>
|
|
<if test="priority != null">
|
|
priority = #{priority,jdbcType=TINYINT},
|
|
</if>
|
|
<if test="milestone != null">
|
|
milestone = #{milestone,jdbcType=TINYINT},
|
|
</if>
|
|
</set>
|
|
where id = #{id,jdbcType=BIGINT}
|
|
</update>
|
|
<update id="updateByPrimaryKey" parameterType="com.ccsens.tall.bean.po.ProTaskDetail">
|
|
update t_pro_task_detail
|
|
set project_id = #{projectId,jdbcType=BIGINT},
|
|
name = #{name,jdbcType=VARCHAR},
|
|
description = #{description,jdbcType=VARCHAR},
|
|
begin_time = #{beginTime,jdbcType=BIGINT},
|
|
end_time = #{endTime,jdbcType=BIGINT},
|
|
cycle = #{cycle,jdbcType=VARCHAR},
|
|
parent_id = #{parentId,jdbcType=BIGINT},
|
|
sub_task = #{subTask,jdbcType=VARCHAR},
|
|
sub_project_id = #{subProjectId,jdbcType=BIGINT},
|
|
sub_project = #{subProject,jdbcType=VARCHAR},
|
|
executor_role = #{executorRole,jdbcType=BIGINT},
|
|
checker_role = #{checkerRole,jdbcType=BIGINT},
|
|
money = #{money,jdbcType=BIGINT},
|
|
delay = #{delay,jdbcType=TINYINT},
|
|
delay_time = #{delayTime,jdbcType=BIGINT},
|
|
loop_to = #{loopTo,jdbcType=BIGINT},
|
|
loop_times = #{loopTimes,jdbcType=INTEGER},
|
|
virtual = #{virtual,jdbcType=TINYINT},
|
|
level = #{level,jdbcType=TINYINT},
|
|
has_group = #{hasGroup,jdbcType=TINYINT},
|
|
finish_need_all = #{finishNeedAll,jdbcType=TINYINT},
|
|
all_member = #{allMember,jdbcType=TINYINT},
|
|
created_at = #{createdAt,jdbcType=TIMESTAMP},
|
|
updated_at = #{updatedAt,jdbcType=TIMESTAMP},
|
|
rec_status = #{recStatus,jdbcType=TINYINT},
|
|
priority = #{priority,jdbcType=TINYINT},
|
|
milestone = #{milestone,jdbcType=TINYINT}
|
|
where id = #{id,jdbcType=BIGINT}
|
|
</update>
|
|
</mapper>
|