|
|
@ -30,6 +30,7 @@ |
|
|
<result column="rec_status" jdbcType="TINYINT" property="recStatus" /> |
|
|
<result column="rec_status" jdbcType="TINYINT" property="recStatus" /> |
|
|
<result column="priority" jdbcType="TINYINT" property="priority" /> |
|
|
<result column="priority" jdbcType="TINYINT" property="priority" /> |
|
|
<result column="milestone" jdbcType="VARCHAR" property="milestone" /> |
|
|
<result column="milestone" jdbcType="VARCHAR" property="milestone" /> |
|
|
|
|
|
<result column="build_user" jdbcType="BIGINT" property="buildUser" /> |
|
|
</resultMap> |
|
|
</resultMap> |
|
|
<sql id="Example_Where_Clause"> |
|
|
<sql id="Example_Where_Clause"> |
|
|
<where> |
|
|
<where> |
|
|
@ -93,7 +94,7 @@ |
|
|
id, project_id, name, description, begin_time, end_time, cycle, parent_id, sub_task, |
|
|
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, |
|
|
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, |
|
|
loop_to, loop_times, virtual, level, has_group, finish_need_all, all_member, created_at, |
|
|
updated_at, rec_status, priority, milestone |
|
|
updated_at, rec_status, priority, milestone, build_user |
|
|
</sql> |
|
|
</sql> |
|
|
<select id="selectByExample" parameterType="com.ccsens.tall.bean.po.ProTaskDetailExample" resultMap="BaseResultMap"> |
|
|
<select id="selectByExample" parameterType="com.ccsens.tall.bean.po.ProTaskDetailExample" resultMap="BaseResultMap"> |
|
|
select |
|
|
select |
|
|
@ -135,7 +136,7 @@ |
|
|
virtual, level, has_group, |
|
|
virtual, level, has_group, |
|
|
finish_need_all, all_member, created_at, |
|
|
finish_need_all, all_member, created_at, |
|
|
updated_at, rec_status, priority, |
|
|
updated_at, rec_status, priority, |
|
|
milestone) |
|
|
milestone, build_user) |
|
|
values (#{id,jdbcType=BIGINT}, #{projectId,jdbcType=BIGINT}, #{name,jdbcType=VARCHAR}, |
|
|
values (#{id,jdbcType=BIGINT}, #{projectId,jdbcType=BIGINT}, #{name,jdbcType=VARCHAR}, |
|
|
#{description,jdbcType=VARCHAR}, #{beginTime,jdbcType=BIGINT}, #{endTime,jdbcType=BIGINT}, |
|
|
#{description,jdbcType=VARCHAR}, #{beginTime,jdbcType=BIGINT}, #{endTime,jdbcType=BIGINT}, |
|
|
#{cycle,jdbcType=VARCHAR}, #{parentId,jdbcType=BIGINT}, #{subTask,jdbcType=VARCHAR}, |
|
|
#{cycle,jdbcType=VARCHAR}, #{parentId,jdbcType=BIGINT}, #{subTask,jdbcType=VARCHAR}, |
|
|
@ -145,7 +146,7 @@ |
|
|
#{virtual,jdbcType=TINYINT}, #{level,jdbcType=TINYINT}, #{hasGroup,jdbcType=TINYINT}, |
|
|
#{virtual,jdbcType=TINYINT}, #{level,jdbcType=TINYINT}, #{hasGroup,jdbcType=TINYINT}, |
|
|
#{finishNeedAll,jdbcType=TINYINT}, #{allMember,jdbcType=TINYINT}, #{createdAt,jdbcType=TIMESTAMP}, |
|
|
#{finishNeedAll,jdbcType=TINYINT}, #{allMember,jdbcType=TINYINT}, #{createdAt,jdbcType=TIMESTAMP}, |
|
|
#{updatedAt,jdbcType=TIMESTAMP}, #{recStatus,jdbcType=TINYINT}, #{priority,jdbcType=TINYINT}, |
|
|
#{updatedAt,jdbcType=TIMESTAMP}, #{recStatus,jdbcType=TINYINT}, #{priority,jdbcType=TINYINT}, |
|
|
#{milestone,jdbcType=VARCHAR}) |
|
|
#{milestone,jdbcType=VARCHAR}, #{buildUser,jdbcType=BIGINT}) |
|
|
</insert> |
|
|
</insert> |
|
|
<insert id="insertSelective" parameterType="com.ccsens.tall.bean.po.ProTaskDetail"> |
|
|
<insert id="insertSelective" parameterType="com.ccsens.tall.bean.po.ProTaskDetail"> |
|
|
insert into t_pro_task_detail |
|
|
insert into t_pro_task_detail |
|
|
@ -234,6 +235,9 @@ |
|
|
<if test="milestone != null"> |
|
|
<if test="milestone != null"> |
|
|
milestone, |
|
|
milestone, |
|
|
</if> |
|
|
</if> |
|
|
|
|
|
<if test="buildUser != null"> |
|
|
|
|
|
build_user, |
|
|
|
|
|
</if> |
|
|
</trim> |
|
|
</trim> |
|
|
<trim prefix="values (" suffix=")" suffixOverrides=","> |
|
|
<trim prefix="values (" suffix=")" suffixOverrides=","> |
|
|
<if test="id != null"> |
|
|
<if test="id != null"> |
|
|
@ -320,6 +324,9 @@ |
|
|
<if test="milestone != null"> |
|
|
<if test="milestone != null"> |
|
|
#{milestone,jdbcType=VARCHAR}, |
|
|
#{milestone,jdbcType=VARCHAR}, |
|
|
</if> |
|
|
</if> |
|
|
|
|
|
<if test="buildUser != null"> |
|
|
|
|
|
#{buildUser,jdbcType=BIGINT}, |
|
|
|
|
|
</if> |
|
|
</trim> |
|
|
</trim> |
|
|
</insert> |
|
|
</insert> |
|
|
<select id="countByExample" parameterType="com.ccsens.tall.bean.po.ProTaskDetailExample" resultType="java.lang.Long"> |
|
|
<select id="countByExample" parameterType="com.ccsens.tall.bean.po.ProTaskDetailExample" resultType="java.lang.Long"> |
|
|
@ -415,6 +422,9 @@ |
|
|
<if test="record.milestone != null"> |
|
|
<if test="record.milestone != null"> |
|
|
milestone = #{record.milestone,jdbcType=VARCHAR}, |
|
|
milestone = #{record.milestone,jdbcType=VARCHAR}, |
|
|
</if> |
|
|
</if> |
|
|
|
|
|
<if test="record.buildUser != null"> |
|
|
|
|
|
build_user = #{record.buildUser,jdbcType=BIGINT}, |
|
|
|
|
|
</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" /> |
|
|
@ -449,7 +459,8 @@ |
|
|
updated_at = #{record.updatedAt,jdbcType=TIMESTAMP}, |
|
|
updated_at = #{record.updatedAt,jdbcType=TIMESTAMP}, |
|
|
rec_status = #{record.recStatus,jdbcType=TINYINT}, |
|
|
rec_status = #{record.recStatus,jdbcType=TINYINT}, |
|
|
priority = #{record.priority,jdbcType=TINYINT}, |
|
|
priority = #{record.priority,jdbcType=TINYINT}, |
|
|
milestone = #{record.milestone,jdbcType=VARCHAR} |
|
|
milestone = #{record.milestone,jdbcType=VARCHAR}, |
|
|
|
|
|
build_user = #{record.buildUser,jdbcType=BIGINT} |
|
|
<if test="_parameter != null"> |
|
|
<if test="_parameter != null"> |
|
|
<include refid="Update_By_Example_Where_Clause" /> |
|
|
<include refid="Update_By_Example_Where_Clause" /> |
|
|
</if> |
|
|
</if> |
|
|
@ -538,6 +549,9 @@ |
|
|
<if test="milestone != null"> |
|
|
<if test="milestone != null"> |
|
|
milestone = #{milestone,jdbcType=VARCHAR}, |
|
|
milestone = #{milestone,jdbcType=VARCHAR}, |
|
|
</if> |
|
|
</if> |
|
|
|
|
|
<if test="buildUser != null"> |
|
|
|
|
|
build_user = #{buildUser,jdbcType=BIGINT}, |
|
|
|
|
|
</if> |
|
|
</set> |
|
|
</set> |
|
|
where id = #{id,jdbcType=BIGINT} |
|
|
where id = #{id,jdbcType=BIGINT} |
|
|
</update> |
|
|
</update> |
|
|
@ -569,7 +583,8 @@ |
|
|
updated_at = #{updatedAt,jdbcType=TIMESTAMP}, |
|
|
updated_at = #{updatedAt,jdbcType=TIMESTAMP}, |
|
|
rec_status = #{recStatus,jdbcType=TINYINT}, |
|
|
rec_status = #{recStatus,jdbcType=TINYINT}, |
|
|
priority = #{priority,jdbcType=TINYINT}, |
|
|
priority = #{priority,jdbcType=TINYINT}, |
|
|
milestone = #{milestone,jdbcType=VARCHAR} |
|
|
milestone = #{milestone,jdbcType=VARCHAR}, |
|
|
|
|
|
build_user = #{buildUser,jdbcType=BIGINT} |
|
|
where id = #{id,jdbcType=BIGINT} |
|
|
where id = #{id,jdbcType=BIGINT} |
|
|
</update> |
|
|
</update> |
|
|
</mapper> |
|
|
</mapper> |