|
|
@ -19,6 +19,7 @@ |
|
|
|
<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="role_belong" jdbcType="TINYINT" property="roleBelong" /> |
|
|
|
</resultMap> |
|
|
|
<sql id="Example_Where_Clause"> |
|
|
|
<where> |
|
|
@ -81,7 +82,7 @@ |
|
|
|
<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 |
|
|
|
updated_at, rec_status, role_belong |
|
|
|
</sql> |
|
|
|
<select id="selectByExample" parameterType="com.ccsens.tall.bean.po.ProShowExample" resultMap="BaseResultMap"> |
|
|
|
select |
|
|
@ -119,13 +120,15 @@ |
|
|
|
time_show, duration, show_shortcuts, |
|
|
|
select_task_type, detail_path, pims_nav_type, |
|
|
|
share_change, share_change_code, created_at, |
|
|
|
updated_at, rec_status) |
|
|
|
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}) |
|
|
|
#{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 |
|
|
@ -181,6 +184,9 @@ |
|
|
|
<if test="recStatus != null"> |
|
|
|
rec_status, |
|
|
|
</if> |
|
|
|
<if test="roleBelong != null"> |
|
|
|
role_belong, |
|
|
|
</if> |
|
|
|
</trim> |
|
|
|
<trim prefix="values (" suffix=")" suffixOverrides=","> |
|
|
|
<if test="id != null"> |
|
|
@ -234,6 +240,9 @@ |
|
|
|
<if test="recStatus != null"> |
|
|
|
#{recStatus,jdbcType=TINYINT}, |
|
|
|
</if> |
|
|
|
<if test="roleBelong != null"> |
|
|
|
#{roleBelong,jdbcType=TINYINT}, |
|
|
|
</if> |
|
|
|
</trim> |
|
|
|
</insert> |
|
|
|
<select id="countByExample" parameterType="com.ccsens.tall.bean.po.ProShowExample" resultType="java.lang.Long"> |
|
|
@ -296,6 +305,9 @@ |
|
|
|
<if test="record.recStatus != null"> |
|
|
|
rec_status = #{record.recStatus,jdbcType=TINYINT}, |
|
|
|
</if> |
|
|
|
<if test="record.roleBelong != null"> |
|
|
|
role_belong = #{record.roleBelong,jdbcType=TINYINT}, |
|
|
|
</if> |
|
|
|
</set> |
|
|
|
<if test="_parameter != null"> |
|
|
|
<include refid="Update_By_Example_Where_Clause" /> |
|
|
@ -319,7 +331,8 @@ |
|
|
|
share_change_code = #{record.shareChangeCode,jdbcType=VARCHAR}, |
|
|
|
created_at = #{record.createdAt,jdbcType=TIMESTAMP}, |
|
|
|
updated_at = #{record.updatedAt,jdbcType=TIMESTAMP}, |
|
|
|
rec_status = #{record.recStatus,jdbcType=TINYINT} |
|
|
|
rec_status = #{record.recStatus,jdbcType=TINYINT}, |
|
|
|
role_belong = #{record.roleBelong,jdbcType=TINYINT} |
|
|
|
<if test="_parameter != null"> |
|
|
|
<include refid="Update_By_Example_Where_Clause" /> |
|
|
|
</if> |
|
|
@ -375,6 +388,9 @@ |
|
|
|
<if test="recStatus != null"> |
|
|
|
rec_status = #{recStatus,jdbcType=TINYINT}, |
|
|
|
</if> |
|
|
|
<if test="roleBelong != null"> |
|
|
|
role_belong = #{roleBelong,jdbcType=TINYINT}, |
|
|
|
</if> |
|
|
|
</set> |
|
|
|
where id = #{id,jdbcType=BIGINT} |
|
|
|
</update> |
|
|
@ -395,7 +411,8 @@ |
|
|
|
share_change_code = #{shareChangeCode,jdbcType=VARCHAR}, |
|
|
|
created_at = #{createdAt,jdbcType=TIMESTAMP}, |
|
|
|
updated_at = #{updatedAt,jdbcType=TIMESTAMP}, |
|
|
|
rec_status = #{recStatus,jdbcType=TINYINT} |
|
|
|
rec_status = #{recStatus,jdbcType=TINYINT}, |
|
|
|
role_belong = #{roleBelong,jdbcType=TINYINT} |
|
|
|
where id = #{id,jdbcType=BIGINT} |
|
|
|
</update> |
|
|
|
</mapper> |