|
|
@ -7,6 +7,7 @@ |
|
|
|
<result column="slide" jdbcType="TINYINT" property="slide" /> |
|
|
|
<result column="filter" jdbcType="TINYINT" property="filter" /> |
|
|
|
<result column="is_show_mvp" jdbcType="TINYINT" property="isShowMvp" /> |
|
|
|
<result column="style" jdbcType="TINYINT" property="style" /> |
|
|
|
<result column="create_task" jdbcType="TINYINT" property="createTask" /> |
|
|
|
<result column="time_show" jdbcType="VARCHAR" property="timeShow" /> |
|
|
|
<result column="duration" jdbcType="TINYINT" property="duration" /> |
|
|
@ -80,9 +81,9 @@ |
|
|
|
</where> |
|
|
|
</sql> |
|
|
|
<sql id="Base_Column_List"> |
|
|
|
id, project_id, slide, filter, is_show_mvp, 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 |
|
|
|
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 |
|
|
|
</sql> |
|
|
|
<select id="selectByExample" parameterType="com.ccsens.tall.bean.po.ProShowExample" resultMap="BaseResultMap"> |
|
|
|
select |
|
|
@ -116,19 +117,19 @@ |
|
|
|
</delete> |
|
|
|
<insert id="insert" parameterType="com.ccsens.tall.bean.po.ProShow"> |
|
|
|
insert into t_pro_show (id, project_id, slide, |
|
|
|
filter, is_show_mvp, 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 |
|
|
|
) |
|
|
|
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) |
|
|
|
values (#{id,jdbcType=BIGINT}, #{projectId,jdbcType=BIGINT}, #{slide,jdbcType=TINYINT}, |
|
|
|
#{filter,jdbcType=TINYINT}, #{isShowMvp,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} |
|
|
|
) |
|
|
|
#{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}) |
|
|
|
</insert> |
|
|
|
<insert id="insertSelective" parameterType="com.ccsens.tall.bean.po.ProShow"> |
|
|
|
insert into t_pro_show |
|
|
@ -148,6 +149,9 @@ |
|
|
|
<if test="isShowMvp != null"> |
|
|
|
is_show_mvp, |
|
|
|
</if> |
|
|
|
<if test="style != null"> |
|
|
|
style, |
|
|
|
</if> |
|
|
|
<if test="createTask != null"> |
|
|
|
create_task, |
|
|
|
</if> |
|
|
@ -204,6 +208,9 @@ |
|
|
|
<if test="isShowMvp != null"> |
|
|
|
#{isShowMvp,jdbcType=TINYINT}, |
|
|
|
</if> |
|
|
|
<if test="style != null"> |
|
|
|
#{style,jdbcType=TINYINT}, |
|
|
|
</if> |
|
|
|
<if test="createTask != null"> |
|
|
|
#{createTask,jdbcType=TINYINT}, |
|
|
|
</if> |
|
|
@ -269,6 +276,9 @@ |
|
|
|
<if test="record.isShowMvp != null"> |
|
|
|
is_show_mvp = #{record.isShowMvp,jdbcType=TINYINT}, |
|
|
|
</if> |
|
|
|
<if test="record.style != null"> |
|
|
|
style = #{record.style,jdbcType=TINYINT}, |
|
|
|
</if> |
|
|
|
<if test="record.createTask != null"> |
|
|
|
create_task = #{record.createTask,jdbcType=TINYINT}, |
|
|
|
</if> |
|
|
@ -320,6 +330,7 @@ |
|
|
|
slide = #{record.slide,jdbcType=TINYINT}, |
|
|
|
filter = #{record.filter,jdbcType=TINYINT}, |
|
|
|
is_show_mvp = #{record.isShowMvp,jdbcType=TINYINT}, |
|
|
|
style = #{record.style,jdbcType=TINYINT}, |
|
|
|
create_task = #{record.createTask,jdbcType=TINYINT}, |
|
|
|
time_show = #{record.timeShow,jdbcType=VARCHAR}, |
|
|
|
duration = #{record.duration,jdbcType=TINYINT}, |
|
|
@ -352,6 +363,9 @@ |
|
|
|
<if test="isShowMvp != null"> |
|
|
|
is_show_mvp = #{isShowMvp,jdbcType=TINYINT}, |
|
|
|
</if> |
|
|
|
<if test="style != null"> |
|
|
|
style = #{style,jdbcType=TINYINT}, |
|
|
|
</if> |
|
|
|
<if test="createTask != null"> |
|
|
|
create_task = #{createTask,jdbcType=TINYINT}, |
|
|
|
</if> |
|
|
@ -400,6 +414,7 @@ |
|
|
|
slide = #{slide,jdbcType=TINYINT}, |
|
|
|
filter = #{filter,jdbcType=TINYINT}, |
|
|
|
is_show_mvp = #{isShowMvp,jdbcType=TINYINT}, |
|
|
|
style = #{style,jdbcType=TINYINT}, |
|
|
|
create_task = #{createTask,jdbcType=TINYINT}, |
|
|
|
time_show = #{timeShow,jdbcType=VARCHAR}, |
|
|
|
duration = #{duration,jdbcType=TINYINT}, |
|
|
|