|
|
@ -22,6 +22,7 @@ |
|
|
<result column="create_time" jdbcType="TIMESTAMP" property="createTime" /> |
|
|
<result column="create_time" jdbcType="TIMESTAMP" property="createTime" /> |
|
|
<result column="update_by" jdbcType="VARCHAR" property="updateBy" /> |
|
|
<result column="update_by" jdbcType="VARCHAR" property="updateBy" /> |
|
|
<result column="update_time" jdbcType="TIMESTAMP" property="updateTime" /> |
|
|
<result column="update_time" jdbcType="TIMESTAMP" property="updateTime" /> |
|
|
|
|
|
<result column="version_remark" jdbcType="VARCHAR" property="versionRemark" /> |
|
|
</resultMap> |
|
|
</resultMap> |
|
|
<resultMap extends="BaseResultMap" id="ResultMapWithBLOBs" type="com.research.system.domain.po.ShsSyffInfoWithBLOBs"> |
|
|
<resultMap extends="BaseResultMap" id="ResultMapWithBLOBs" type="com.research.system.domain.po.ShsSyffInfoWithBLOBs"> |
|
|
<result column="material_list" jdbcType="LONGVARCHAR" property="materialList" /> |
|
|
<result column="material_list" jdbcType="LONGVARCHAR" property="materialList" /> |
|
|
@ -89,7 +90,7 @@ |
|
|
<sql id="Base_Column_List"> |
|
|
<sql id="Base_Column_List"> |
|
|
id, proj_id, category_id, title, code, version, valid_date, authors, authors_org, |
|
|
id, proj_id, category_id, title, code, version, valid_date, authors, authors_org, |
|
|
purpose, principle, parameters, pdf_download_url, uploader_name, uploader_org, del_flag, |
|
|
purpose, principle, parameters, pdf_download_url, uploader_name, uploader_org, del_flag, |
|
|
create_by, create_time, update_by, update_time |
|
|
create_by, create_time, update_by, update_time, version_remark |
|
|
</sql> |
|
|
</sql> |
|
|
<sql id="Blob_Column_List"> |
|
|
<sql id="Blob_Column_List"> |
|
|
material_list, steps, result |
|
|
material_list, steps, result |
|
|
@ -143,16 +144,18 @@ |
|
|
purpose, principle, parameters, |
|
|
purpose, principle, parameters, |
|
|
pdf_download_url, uploader_name, uploader_org, |
|
|
pdf_download_url, uploader_name, uploader_org, |
|
|
del_flag, create_by, create_time, |
|
|
del_flag, create_by, create_time, |
|
|
update_by, update_time, material_list, |
|
|
update_by, update_time, version_remark, |
|
|
steps, result) |
|
|
material_list, steps, result |
|
|
|
|
|
) |
|
|
values (#{id,jdbcType=BIGINT}, #{projId,jdbcType=BIGINT}, #{categoryId,jdbcType=BIGINT}, |
|
|
values (#{id,jdbcType=BIGINT}, #{projId,jdbcType=BIGINT}, #{categoryId,jdbcType=BIGINT}, |
|
|
#{title,jdbcType=VARCHAR}, #{code,jdbcType=VARCHAR}, #{version,jdbcType=VARCHAR}, |
|
|
#{title,jdbcType=VARCHAR}, #{code,jdbcType=VARCHAR}, #{version,jdbcType=VARCHAR}, |
|
|
#{validDate,jdbcType=DATE}, #{authors,jdbcType=VARCHAR}, #{authorsOrg,jdbcType=VARCHAR}, |
|
|
#{validDate,jdbcType=DATE}, #{authors,jdbcType=VARCHAR}, #{authorsOrg,jdbcType=VARCHAR}, |
|
|
#{purpose,jdbcType=VARCHAR}, #{principle,jdbcType=VARCHAR}, #{parameters,jdbcType=VARCHAR}, |
|
|
#{purpose,jdbcType=VARCHAR}, #{principle,jdbcType=VARCHAR}, #{parameters,jdbcType=VARCHAR}, |
|
|
#{pdfDownloadUrl,jdbcType=VARCHAR}, #{uploaderName,jdbcType=BIGINT}, #{uploaderOrg,jdbcType=BIGINT}, |
|
|
#{pdfDownloadUrl,jdbcType=VARCHAR}, #{uploaderName,jdbcType=BIGINT}, #{uploaderOrg,jdbcType=BIGINT}, |
|
|
#{delFlag,jdbcType=TINYINT}, #{createBy,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}, |
|
|
#{delFlag,jdbcType=TINYINT}, #{createBy,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}, |
|
|
#{updateBy,jdbcType=VARCHAR}, #{updateTime,jdbcType=TIMESTAMP}, #{materialList,jdbcType=LONGVARCHAR}, |
|
|
#{updateBy,jdbcType=VARCHAR}, #{updateTime,jdbcType=TIMESTAMP}, #{versionRemark,jdbcType=VARCHAR}, |
|
|
#{steps,jdbcType=LONGVARCHAR}, #{result,jdbcType=LONGVARCHAR}) |
|
|
#{materialList,jdbcType=LONGVARCHAR}, #{steps,jdbcType=LONGVARCHAR}, #{result,jdbcType=LONGVARCHAR} |
|
|
|
|
|
) |
|
|
</insert> |
|
|
</insert> |
|
|
<insert id="insertSelective" parameterType="com.research.system.domain.po.ShsSyffInfoWithBLOBs"> |
|
|
<insert id="insertSelective" parameterType="com.research.system.domain.po.ShsSyffInfoWithBLOBs"> |
|
|
insert into shs_syff_info |
|
|
insert into shs_syff_info |
|
|
@ -217,6 +220,9 @@ |
|
|
<if test="updateTime != null"> |
|
|
<if test="updateTime != null"> |
|
|
update_time, |
|
|
update_time, |
|
|
</if> |
|
|
</if> |
|
|
|
|
|
<if test="versionRemark != null"> |
|
|
|
|
|
version_remark, |
|
|
|
|
|
</if> |
|
|
<if test="materialList != null"> |
|
|
<if test="materialList != null"> |
|
|
material_list, |
|
|
material_list, |
|
|
</if> |
|
|
</if> |
|
|
@ -288,6 +294,9 @@ |
|
|
<if test="updateTime != null"> |
|
|
<if test="updateTime != null"> |
|
|
#{updateTime,jdbcType=TIMESTAMP}, |
|
|
#{updateTime,jdbcType=TIMESTAMP}, |
|
|
</if> |
|
|
</if> |
|
|
|
|
|
<if test="versionRemark != null"> |
|
|
|
|
|
#{versionRemark,jdbcType=VARCHAR}, |
|
|
|
|
|
</if> |
|
|
<if test="materialList != null"> |
|
|
<if test="materialList != null"> |
|
|
#{materialList,jdbcType=LONGVARCHAR}, |
|
|
#{materialList,jdbcType=LONGVARCHAR}, |
|
|
</if> |
|
|
</if> |
|
|
@ -368,6 +377,9 @@ |
|
|
<if test="record.updateTime != null"> |
|
|
<if test="record.updateTime != null"> |
|
|
update_time = #{record.updateTime,jdbcType=TIMESTAMP}, |
|
|
update_time = #{record.updateTime,jdbcType=TIMESTAMP}, |
|
|
</if> |
|
|
</if> |
|
|
|
|
|
<if test="record.versionRemark != null"> |
|
|
|
|
|
version_remark = #{record.versionRemark,jdbcType=VARCHAR}, |
|
|
|
|
|
</if> |
|
|
<if test="record.materialList != null"> |
|
|
<if test="record.materialList != null"> |
|
|
material_list = #{record.materialList,jdbcType=LONGVARCHAR}, |
|
|
material_list = #{record.materialList,jdbcType=LONGVARCHAR}, |
|
|
</if> |
|
|
</if> |
|
|
@ -404,6 +416,7 @@ |
|
|
create_time = #{record.createTime,jdbcType=TIMESTAMP}, |
|
|
create_time = #{record.createTime,jdbcType=TIMESTAMP}, |
|
|
update_by = #{record.updateBy,jdbcType=VARCHAR}, |
|
|
update_by = #{record.updateBy,jdbcType=VARCHAR}, |
|
|
update_time = #{record.updateTime,jdbcType=TIMESTAMP}, |
|
|
update_time = #{record.updateTime,jdbcType=TIMESTAMP}, |
|
|
|
|
|
version_remark = #{record.versionRemark,jdbcType=VARCHAR}, |
|
|
material_list = #{record.materialList,jdbcType=LONGVARCHAR}, |
|
|
material_list = #{record.materialList,jdbcType=LONGVARCHAR}, |
|
|
steps = #{record.steps,jdbcType=LONGVARCHAR}, |
|
|
steps = #{record.steps,jdbcType=LONGVARCHAR}, |
|
|
result = #{record.result,jdbcType=LONGVARCHAR} |
|
|
result = #{record.result,jdbcType=LONGVARCHAR} |
|
|
@ -432,7 +445,8 @@ |
|
|
create_by = #{record.createBy,jdbcType=VARCHAR}, |
|
|
create_by = #{record.createBy,jdbcType=VARCHAR}, |
|
|
create_time = #{record.createTime,jdbcType=TIMESTAMP}, |
|
|
create_time = #{record.createTime,jdbcType=TIMESTAMP}, |
|
|
update_by = #{record.updateBy,jdbcType=VARCHAR}, |
|
|
update_by = #{record.updateBy,jdbcType=VARCHAR}, |
|
|
update_time = #{record.updateTime,jdbcType=TIMESTAMP} |
|
|
update_time = #{record.updateTime,jdbcType=TIMESTAMP}, |
|
|
|
|
|
version_remark = #{record.versionRemark,jdbcType=VARCHAR} |
|
|
<if test="_parameter != null"> |
|
|
<if test="_parameter != null"> |
|
|
<include refid="Update_By_Example_Where_Clause" /> |
|
|
<include refid="Update_By_Example_Where_Clause" /> |
|
|
</if> |
|
|
</if> |
|
|
@ -497,6 +511,9 @@ |
|
|
<if test="updateTime != null"> |
|
|
<if test="updateTime != null"> |
|
|
update_time = #{updateTime,jdbcType=TIMESTAMP}, |
|
|
update_time = #{updateTime,jdbcType=TIMESTAMP}, |
|
|
</if> |
|
|
</if> |
|
|
|
|
|
<if test="versionRemark != null"> |
|
|
|
|
|
version_remark = #{versionRemark,jdbcType=VARCHAR}, |
|
|
|
|
|
</if> |
|
|
<if test="materialList != null"> |
|
|
<if test="materialList != null"> |
|
|
material_list = #{materialList,jdbcType=LONGVARCHAR}, |
|
|
material_list = #{materialList,jdbcType=LONGVARCHAR}, |
|
|
</if> |
|
|
</if> |
|
|
@ -530,6 +547,7 @@ |
|
|
create_time = #{createTime,jdbcType=TIMESTAMP}, |
|
|
create_time = #{createTime,jdbcType=TIMESTAMP}, |
|
|
update_by = #{updateBy,jdbcType=VARCHAR}, |
|
|
update_by = #{updateBy,jdbcType=VARCHAR}, |
|
|
update_time = #{updateTime,jdbcType=TIMESTAMP}, |
|
|
update_time = #{updateTime,jdbcType=TIMESTAMP}, |
|
|
|
|
|
version_remark = #{versionRemark,jdbcType=VARCHAR}, |
|
|
material_list = #{materialList,jdbcType=LONGVARCHAR}, |
|
|
material_list = #{materialList,jdbcType=LONGVARCHAR}, |
|
|
steps = #{steps,jdbcType=LONGVARCHAR}, |
|
|
steps = #{steps,jdbcType=LONGVARCHAR}, |
|
|
result = #{result,jdbcType=LONGVARCHAR} |
|
|
result = #{result,jdbcType=LONGVARCHAR} |
|
|
@ -555,7 +573,8 @@ |
|
|
create_by = #{createBy,jdbcType=VARCHAR}, |
|
|
create_by = #{createBy,jdbcType=VARCHAR}, |
|
|
create_time = #{createTime,jdbcType=TIMESTAMP}, |
|
|
create_time = #{createTime,jdbcType=TIMESTAMP}, |
|
|
update_by = #{updateBy,jdbcType=VARCHAR}, |
|
|
update_by = #{updateBy,jdbcType=VARCHAR}, |
|
|
update_time = #{updateTime,jdbcType=TIMESTAMP} |
|
|
update_time = #{updateTime,jdbcType=TIMESTAMP}, |
|
|
|
|
|
version_remark = #{versionRemark,jdbcType=VARCHAR} |
|
|
where id = #{id,jdbcType=BIGINT} |
|
|
where id = #{id,jdbcType=BIGINT} |
|
|
</update> |
|
|
</update> |
|
|
</mapper> |
|
|
</mapper> |