|
|
@ -6,6 +6,7 @@ |
|
|
|
<result column="value" jdbcType="VARCHAR" property="value" /> |
|
|
|
<result column="task_id" jdbcType="BIGINT" property="taskId" /> |
|
|
|
<result column="plugin_id" jdbcType="BIGINT" property="pluginId" /> |
|
|
|
<result column="user_id" jdbcType="BIGINT" property="userId" /> |
|
|
|
<result column="role_id" jdbcType="BIGINT" property="roleId" /> |
|
|
|
<result column="time" jdbcType="BIGINT" property="time" /> |
|
|
|
<result column="publicity" jdbcType="TINYINT" property="publicity" /> |
|
|
@ -72,7 +73,7 @@ |
|
|
|
</where> |
|
|
|
</sql> |
|
|
|
<sql id="Base_Column_List"> |
|
|
|
id, value, task_id, plugin_id, role_id, time, publicity, created_at, updated_at, |
|
|
|
id, value, task_id, plugin_id, user_id, role_id, time, publicity, created_at, updated_at, |
|
|
|
rec_status |
|
|
|
</sql> |
|
|
|
<select id="selectByExample" parameterType="com.ccsens.tall.bean.po.ProNotesExample" resultMap="BaseResultMap"> |
|
|
@ -107,13 +108,13 @@ |
|
|
|
</delete> |
|
|
|
<insert id="insert" parameterType="com.ccsens.tall.bean.po.ProNotes"> |
|
|
|
insert into t_pro_notes (id, value, task_id, |
|
|
|
plugin_id, role_id, time, |
|
|
|
publicity, created_at, updated_at, |
|
|
|
rec_status) |
|
|
|
plugin_id, user_id, role_id, |
|
|
|
time, publicity, created_at, |
|
|
|
updated_at, rec_status) |
|
|
|
values (#{id,jdbcType=BIGINT}, #{value,jdbcType=VARCHAR}, #{taskId,jdbcType=BIGINT}, |
|
|
|
#{pluginId,jdbcType=BIGINT}, #{roleId,jdbcType=BIGINT}, #{time,jdbcType=BIGINT}, |
|
|
|
#{publicity,jdbcType=TINYINT}, #{createdAt,jdbcType=TIMESTAMP}, #{updatedAt,jdbcType=TIMESTAMP}, |
|
|
|
#{recStatus,jdbcType=TINYINT}) |
|
|
|
#{pluginId,jdbcType=BIGINT}, #{userId,jdbcType=BIGINT}, #{roleId,jdbcType=BIGINT}, |
|
|
|
#{time,jdbcType=BIGINT}, #{publicity,jdbcType=TINYINT}, #{createdAt,jdbcType=TIMESTAMP}, |
|
|
|
#{updatedAt,jdbcType=TIMESTAMP}, #{recStatus,jdbcType=TINYINT}) |
|
|
|
</insert> |
|
|
|
<insert id="insertSelective" parameterType="com.ccsens.tall.bean.po.ProNotes"> |
|
|
|
insert into t_pro_notes |
|
|
@ -130,6 +131,9 @@ |
|
|
|
<if test="pluginId != null"> |
|
|
|
plugin_id, |
|
|
|
</if> |
|
|
|
<if test="userId != null"> |
|
|
|
user_id, |
|
|
|
</if> |
|
|
|
<if test="roleId != null"> |
|
|
|
role_id, |
|
|
|
</if> |
|
|
@ -162,6 +166,9 @@ |
|
|
|
<if test="pluginId != null"> |
|
|
|
#{pluginId,jdbcType=BIGINT}, |
|
|
|
</if> |
|
|
|
<if test="userId != null"> |
|
|
|
#{userId,jdbcType=BIGINT}, |
|
|
|
</if> |
|
|
|
<if test="roleId != null"> |
|
|
|
#{roleId,jdbcType=BIGINT}, |
|
|
|
</if> |
|
|
@ -203,6 +210,9 @@ |
|
|
|
<if test="record.pluginId != null"> |
|
|
|
plugin_id = #{record.pluginId,jdbcType=BIGINT}, |
|
|
|
</if> |
|
|
|
<if test="record.userId != null"> |
|
|
|
user_id = #{record.userId,jdbcType=BIGINT}, |
|
|
|
</if> |
|
|
|
<if test="record.roleId != null"> |
|
|
|
role_id = #{record.roleId,jdbcType=BIGINT}, |
|
|
|
</if> |
|
|
@ -232,6 +242,7 @@ |
|
|
|
value = #{record.value,jdbcType=VARCHAR}, |
|
|
|
task_id = #{record.taskId,jdbcType=BIGINT}, |
|
|
|
plugin_id = #{record.pluginId,jdbcType=BIGINT}, |
|
|
|
user_id = #{record.userId,jdbcType=BIGINT}, |
|
|
|
role_id = #{record.roleId,jdbcType=BIGINT}, |
|
|
|
time = #{record.time,jdbcType=BIGINT}, |
|
|
|
publicity = #{record.publicity,jdbcType=TINYINT}, |
|
|
@ -254,6 +265,9 @@ |
|
|
|
<if test="pluginId != null"> |
|
|
|
plugin_id = #{pluginId,jdbcType=BIGINT}, |
|
|
|
</if> |
|
|
|
<if test="userId != null"> |
|
|
|
user_id = #{userId,jdbcType=BIGINT}, |
|
|
|
</if> |
|
|
|
<if test="roleId != null"> |
|
|
|
role_id = #{roleId,jdbcType=BIGINT}, |
|
|
|
</if> |
|
|
@ -280,6 +294,7 @@ |
|
|
|
set value = #{value,jdbcType=VARCHAR}, |
|
|
|
task_id = #{taskId,jdbcType=BIGINT}, |
|
|
|
plugin_id = #{pluginId,jdbcType=BIGINT}, |
|
|
|
user_id = #{userId,jdbcType=BIGINT}, |
|
|
|
role_id = #{roleId,jdbcType=BIGINT}, |
|
|
|
time = #{time,jdbcType=BIGINT}, |
|
|
|
publicity = #{publicity,jdbcType=TINYINT}, |
|
|
|