|
|
|
@ -18,6 +18,7 @@ |
|
|
|
<result column="update_by" jdbcType="VARCHAR" property="updateBy" /> |
|
|
|
<result column="update_time" jdbcType="TIMESTAMP" property="updateTime" /> |
|
|
|
<result column="remark" jdbcType="VARCHAR" property="remark" /> |
|
|
|
<result column="description" jdbcType="VARCHAR" property="description" /> |
|
|
|
</resultMap> |
|
|
|
<resultMap extends="BaseResultMap" id="ResultMapWithBLOBs" type="com.research.system.domain.po.TasTask"> |
|
|
|
<result column="task_description" jdbcType="LONGVARCHAR" property="taskDescription" /> |
|
|
|
@ -83,7 +84,7 @@ |
|
|
|
<sql id="Base_Column_List"> |
|
|
|
id, kt_group_id, proj_org_id, proj_id, task_name, priority, task_type, start_time, |
|
|
|
end_time, task_creator_id, del_flag, create_by, create_time, update_by, update_time, |
|
|
|
remark |
|
|
|
remark, description |
|
|
|
</sql> |
|
|
|
<sql id="Blob_Column_List"> |
|
|
|
task_description |
|
|
|
@ -136,13 +137,15 @@ |
|
|
|
task_type, start_time, end_time, |
|
|
|
task_creator_id, del_flag, create_by, |
|
|
|
create_time, update_by, update_time, |
|
|
|
remark, task_description) |
|
|
|
remark, description, task_description |
|
|
|
) |
|
|
|
values (#{id,jdbcType=BIGINT}, #{ktGroupId,jdbcType=BIGINT}, #{projOrgId,jdbcType=BIGINT}, |
|
|
|
#{projId,jdbcType=BIGINT}, #{taskName,jdbcType=VARCHAR}, #{priority,jdbcType=TINYINT}, |
|
|
|
#{taskType,jdbcType=TINYINT}, #{startTime,jdbcType=TIMESTAMP}, #{endTime,jdbcType=TIMESTAMP}, |
|
|
|
#{taskCreatorId,jdbcType=BIGINT}, #{delFlag,jdbcType=TINYINT}, #{createBy,jdbcType=VARCHAR}, |
|
|
|
#{createTime,jdbcType=TIMESTAMP}, #{updateBy,jdbcType=VARCHAR}, #{updateTime,jdbcType=TIMESTAMP}, |
|
|
|
#{remark,jdbcType=VARCHAR}, #{taskDescription,jdbcType=LONGVARCHAR}) |
|
|
|
#{remark,jdbcType=VARCHAR}, #{description,jdbcType=VARCHAR}, #{taskDescription,jdbcType=LONGVARCHAR} |
|
|
|
) |
|
|
|
</insert> |
|
|
|
<insert id="insertSelective" parameterType="com.research.system.domain.po.TasTask"> |
|
|
|
insert into tas_task |
|
|
|
@ -195,6 +198,9 @@ |
|
|
|
<if test="remark != null"> |
|
|
|
remark, |
|
|
|
</if> |
|
|
|
<if test="description != null"> |
|
|
|
description, |
|
|
|
</if> |
|
|
|
<if test="taskDescription != null"> |
|
|
|
task_description, |
|
|
|
</if> |
|
|
|
@ -248,6 +254,9 @@ |
|
|
|
<if test="remark != null"> |
|
|
|
#{remark,jdbcType=VARCHAR}, |
|
|
|
</if> |
|
|
|
<if test="description != null"> |
|
|
|
#{description,jdbcType=VARCHAR}, |
|
|
|
</if> |
|
|
|
<if test="taskDescription != null"> |
|
|
|
#{taskDescription,jdbcType=LONGVARCHAR}, |
|
|
|
</if> |
|
|
|
@ -310,6 +319,9 @@ |
|
|
|
<if test="record.remark != null"> |
|
|
|
remark = #{record.remark,jdbcType=VARCHAR}, |
|
|
|
</if> |
|
|
|
<if test="record.description != null"> |
|
|
|
description = #{record.description,jdbcType=VARCHAR}, |
|
|
|
</if> |
|
|
|
<if test="record.taskDescription != null"> |
|
|
|
task_description = #{record.taskDescription,jdbcType=LONGVARCHAR}, |
|
|
|
</if> |
|
|
|
@ -336,6 +348,7 @@ |
|
|
|
update_by = #{record.updateBy,jdbcType=VARCHAR}, |
|
|
|
update_time = #{record.updateTime,jdbcType=TIMESTAMP}, |
|
|
|
remark = #{record.remark,jdbcType=VARCHAR}, |
|
|
|
description = #{record.description,jdbcType=VARCHAR}, |
|
|
|
task_description = #{record.taskDescription,jdbcType=LONGVARCHAR} |
|
|
|
<if test="_parameter != null"> |
|
|
|
<include refid="Update_By_Example_Where_Clause" /> |
|
|
|
@ -358,7 +371,8 @@ |
|
|
|
create_time = #{record.createTime,jdbcType=TIMESTAMP}, |
|
|
|
update_by = #{record.updateBy,jdbcType=VARCHAR}, |
|
|
|
update_time = #{record.updateTime,jdbcType=TIMESTAMP}, |
|
|
|
remark = #{record.remark,jdbcType=VARCHAR} |
|
|
|
remark = #{record.remark,jdbcType=VARCHAR}, |
|
|
|
description = #{record.description,jdbcType=VARCHAR} |
|
|
|
<if test="_parameter != null"> |
|
|
|
<include refid="Update_By_Example_Where_Clause" /> |
|
|
|
</if> |
|
|
|
@ -411,6 +425,9 @@ |
|
|
|
<if test="remark != null"> |
|
|
|
remark = #{remark,jdbcType=VARCHAR}, |
|
|
|
</if> |
|
|
|
<if test="description != null"> |
|
|
|
description = #{description,jdbcType=VARCHAR}, |
|
|
|
</if> |
|
|
|
<if test="taskDescription != null"> |
|
|
|
task_description = #{taskDescription,jdbcType=LONGVARCHAR}, |
|
|
|
</if> |
|
|
|
@ -434,6 +451,7 @@ |
|
|
|
update_by = #{updateBy,jdbcType=VARCHAR}, |
|
|
|
update_time = #{updateTime,jdbcType=TIMESTAMP}, |
|
|
|
remark = #{remark,jdbcType=VARCHAR}, |
|
|
|
description = #{description,jdbcType=VARCHAR}, |
|
|
|
task_description = #{taskDescription,jdbcType=LONGVARCHAR} |
|
|
|
where id = #{id,jdbcType=BIGINT} |
|
|
|
</update> |
|
|
|
@ -453,7 +471,8 @@ |
|
|
|
create_time = #{createTime,jdbcType=TIMESTAMP}, |
|
|
|
update_by = #{updateBy,jdbcType=VARCHAR}, |
|
|
|
update_time = #{updateTime,jdbcType=TIMESTAMP}, |
|
|
|
remark = #{remark,jdbcType=VARCHAR} |
|
|
|
remark = #{remark,jdbcType=VARCHAR}, |
|
|
|
description = #{description,jdbcType=VARCHAR} |
|
|
|
where id = #{id,jdbcType=BIGINT} |
|
|
|
</update> |
|
|
|
</mapper> |