|
|
@ -21,6 +21,7 @@ |
|
|
|
<result column="updated_at" jdbcType="TIMESTAMP" property="updatedAt" /> |
|
|
|
<result column="rec_status" jdbcType="TINYINT" property="recStatus" /> |
|
|
|
<result column="role_belong" jdbcType="TINYINT" property="roleBelong" /> |
|
|
|
<result column="milestone_subtask" jdbcType="TINYINT" property="milestoneSubtask" /> |
|
|
|
</resultMap> |
|
|
|
<sql id="Example_Where_Clause"> |
|
|
|
<where> |
|
|
@ -83,7 +84,7 @@ |
|
|
|
<sql id="Base_Column_List"> |
|
|
|
id, project_id, slide, filter, is_show_mvp, style, create_task, time_show, duration, |
|
|
|
show_shortcuts, select_task_type, detail_path, pims_nav_type, share_change, share_change_code, |
|
|
|
created_at, updated_at, rec_status, role_belong |
|
|
|
created_at, updated_at, rec_status, role_belong, milestone_subtask |
|
|
|
</sql> |
|
|
|
<select id="selectByExample" parameterType="com.ccsens.tall.bean.po.ProShowExample" resultMap="BaseResultMap"> |
|
|
|
select |
|
|
@ -122,14 +123,14 @@ |
|
|
|
show_shortcuts, select_task_type, detail_path, |
|
|
|
pims_nav_type, share_change, share_change_code, |
|
|
|
created_at, updated_at, rec_status, |
|
|
|
role_belong) |
|
|
|
role_belong, milestone_subtask) |
|
|
|
values (#{id,jdbcType=BIGINT}, #{projectId,jdbcType=BIGINT}, #{slide,jdbcType=TINYINT}, |
|
|
|
#{filter,jdbcType=TINYINT}, #{isShowMvp,jdbcType=TINYINT}, #{style,jdbcType=TINYINT}, |
|
|
|
#{createTask,jdbcType=TINYINT}, #{timeShow,jdbcType=VARCHAR}, #{duration,jdbcType=TINYINT}, |
|
|
|
#{showShortcuts,jdbcType=TINYINT}, #{selectTaskType,jdbcType=TINYINT}, #{detailPath,jdbcType=VARCHAR}, |
|
|
|
#{pimsNavType,jdbcType=TINYINT}, #{shareChange,jdbcType=TINYINT}, #{shareChangeCode,jdbcType=VARCHAR}, |
|
|
|
#{createdAt,jdbcType=TIMESTAMP}, #{updatedAt,jdbcType=TIMESTAMP}, #{recStatus,jdbcType=TINYINT}, |
|
|
|
#{roleBelong,jdbcType=TINYINT}) |
|
|
|
#{roleBelong,jdbcType=TINYINT}, #{milestoneSubtask,jdbcType=TINYINT}) |
|
|
|
</insert> |
|
|
|
<insert id="insertSelective" parameterType="com.ccsens.tall.bean.po.ProShow"> |
|
|
|
insert into t_pro_show |
|
|
@ -191,6 +192,9 @@ |
|
|
|
<if test="roleBelong != null"> |
|
|
|
role_belong, |
|
|
|
</if> |
|
|
|
<if test="milestoneSubtask != null"> |
|
|
|
milestone_subtask, |
|
|
|
</if> |
|
|
|
</trim> |
|
|
|
<trim prefix="values (" suffix=")" suffixOverrides=","> |
|
|
|
<if test="id != null"> |
|
|
@ -250,6 +254,9 @@ |
|
|
|
<if test="roleBelong != null"> |
|
|
|
#{roleBelong,jdbcType=TINYINT}, |
|
|
|
</if> |
|
|
|
<if test="milestoneSubtask != null"> |
|
|
|
#{milestoneSubtask,jdbcType=TINYINT}, |
|
|
|
</if> |
|
|
|
</trim> |
|
|
|
</insert> |
|
|
|
<select id="countByExample" parameterType="com.ccsens.tall.bean.po.ProShowExample" resultType="java.lang.Long"> |
|
|
@ -318,6 +325,9 @@ |
|
|
|
<if test="record.roleBelong != null"> |
|
|
|
role_belong = #{record.roleBelong,jdbcType=TINYINT}, |
|
|
|
</if> |
|
|
|
<if test="record.milestoneSubtask != null"> |
|
|
|
milestone_subtask = #{record.milestoneSubtask,jdbcType=TINYINT}, |
|
|
|
</if> |
|
|
|
</set> |
|
|
|
<if test="_parameter != null"> |
|
|
|
<include refid="Update_By_Example_Where_Clause" /> |
|
|
@ -343,7 +353,8 @@ |
|
|
|
created_at = #{record.createdAt,jdbcType=TIMESTAMP}, |
|
|
|
updated_at = #{record.updatedAt,jdbcType=TIMESTAMP}, |
|
|
|
rec_status = #{record.recStatus,jdbcType=TINYINT}, |
|
|
|
role_belong = #{record.roleBelong,jdbcType=TINYINT} |
|
|
|
role_belong = #{record.roleBelong,jdbcType=TINYINT}, |
|
|
|
milestone_subtask = #{record.milestoneSubtask,jdbcType=TINYINT} |
|
|
|
<if test="_parameter != null"> |
|
|
|
<include refid="Update_By_Example_Where_Clause" /> |
|
|
|
</if> |
|
|
@ -405,6 +416,9 @@ |
|
|
|
<if test="roleBelong != null"> |
|
|
|
role_belong = #{roleBelong,jdbcType=TINYINT}, |
|
|
|
</if> |
|
|
|
<if test="milestoneSubtask != null"> |
|
|
|
milestone_subtask = #{milestoneSubtask,jdbcType=TINYINT}, |
|
|
|
</if> |
|
|
|
</set> |
|
|
|
where id = #{id,jdbcType=BIGINT} |
|
|
|
</update> |
|
|
@ -427,7 +441,8 @@ |
|
|
|
created_at = #{createdAt,jdbcType=TIMESTAMP}, |
|
|
|
updated_at = #{updatedAt,jdbcType=TIMESTAMP}, |
|
|
|
rec_status = #{recStatus,jdbcType=TINYINT}, |
|
|
|
role_belong = #{roleBelong,jdbcType=TINYINT} |
|
|
|
role_belong = #{roleBelong,jdbcType=TINYINT}, |
|
|
|
milestone_subtask = #{milestoneSubtask,jdbcType=TINYINT} |
|
|
|
where id = #{id,jdbcType=BIGINT} |
|
|
|
</update> |
|
|
|
</mapper> |