|
|
|
@ -21,7 +21,6 @@ |
|
|
|
<result column="yskt_funds" jdbcType="VARCHAR" property="ysktFunds" /> |
|
|
|
<result column="yskt_lxpzwh" jdbcType="VARCHAR" property="ysktLxpzwh" /> |
|
|
|
<result column="yskt_status" jdbcType="TINYINT" property="ysktStatus" /> |
|
|
|
<result column="abstracts" jdbcType="VARCHAR" property="abstracts" /> |
|
|
|
<result column="keywords" jdbcType="VARCHAR" property="keywords" /> |
|
|
|
<result column="paper_link" jdbcType="VARCHAR" property="paperLink" /> |
|
|
|
<result column="pdf_download_url" jdbcType="VARCHAR" property="pdfDownloadUrl" /> |
|
|
|
@ -32,6 +31,11 @@ |
|
|
|
<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="tx_authors" jdbcType="VARCHAR" property="txAuthors" /> |
|
|
|
<result column="paper_doi" jdbcType="VARCHAR" property="paperDoi" /> |
|
|
|
</resultMap> |
|
|
|
<resultMap extends="BaseResultMap" id="ResultMapWithBLOBs" type="com.research.system.domain.po.AchAchievement"> |
|
|
|
<result column="abstracts" jdbcType="LONGVARCHAR" property="abstracts" /> |
|
|
|
</resultMap> |
|
|
|
<sql id="Example_Where_Clause"> |
|
|
|
<where> |
|
|
|
@ -94,10 +98,28 @@ |
|
|
|
<sql id="Base_Column_List"> |
|
|
|
id, proj_id, proj_org_id, kt_group_id, category_id_1, category_id_2, title, no, authors, |
|
|
|
apply_date, publish_date, place, ach_type, source, paper_source_type, yskt_xmfzr, |
|
|
|
yskt_funds, yskt_lxpzwh, yskt_status, abstracts, keywords, paper_link, pdf_download_url, |
|
|
|
commitment_letter_url, del_flag, create_by, create_time, update_by, update_time, |
|
|
|
remark |
|
|
|
yskt_funds, yskt_lxpzwh, yskt_status, keywords, paper_link, pdf_download_url, commitment_letter_url, |
|
|
|
del_flag, create_by, create_time, update_by, update_time, remark, tx_authors, paper_doi |
|
|
|
</sql> |
|
|
|
<sql id="Blob_Column_List"> |
|
|
|
abstracts |
|
|
|
</sql> |
|
|
|
<select id="selectByExampleWithBLOBs" parameterType="com.research.system.domain.po.AchAchievementExample" resultMap="ResultMapWithBLOBs"> |
|
|
|
select |
|
|
|
<if test="distinct"> |
|
|
|
distinct |
|
|
|
</if> |
|
|
|
<include refid="Base_Column_List" /> |
|
|
|
, |
|
|
|
<include refid="Blob_Column_List" /> |
|
|
|
from ach_achievement |
|
|
|
<if test="_parameter != null"> |
|
|
|
<include refid="Example_Where_Clause" /> |
|
|
|
</if> |
|
|
|
<if test="orderByClause != null"> |
|
|
|
order by ${orderByClause} |
|
|
|
</if> |
|
|
|
</select> |
|
|
|
<select id="selectByExample" parameterType="com.research.system.domain.po.AchAchievementExample" resultMap="BaseResultMap"> |
|
|
|
select |
|
|
|
<if test="distinct"> |
|
|
|
@ -112,9 +134,11 @@ |
|
|
|
order by ${orderByClause} |
|
|
|
</if> |
|
|
|
</select> |
|
|
|
<select id="selectByPrimaryKey" parameterType="java.lang.Long" resultMap="BaseResultMap"> |
|
|
|
<select id="selectByPrimaryKey" parameterType="java.lang.Long" resultMap="ResultMapWithBLOBs"> |
|
|
|
select |
|
|
|
<include refid="Base_Column_List" /> |
|
|
|
, |
|
|
|
<include refid="Blob_Column_List" /> |
|
|
|
from ach_achievement |
|
|
|
where id = #{id,jdbcType=BIGINT} |
|
|
|
</select> |
|
|
|
@ -129,22 +153,22 @@ |
|
|
|
apply_date, publish_date, place, |
|
|
|
ach_type, source, paper_source_type, |
|
|
|
yskt_xmfzr, yskt_funds, yskt_lxpzwh, |
|
|
|
yskt_status, abstracts, keywords, |
|
|
|
paper_link, pdf_download_url, commitment_letter_url, |
|
|
|
del_flag, create_by, create_time, |
|
|
|
update_by, update_time, remark |
|
|
|
) |
|
|
|
yskt_status, keywords, paper_link, |
|
|
|
pdf_download_url, commitment_letter_url, del_flag, |
|
|
|
create_by, create_time, update_by, |
|
|
|
update_time, remark, tx_authors, |
|
|
|
paper_doi, abstracts) |
|
|
|
values (#{id,jdbcType=BIGINT}, #{projId,jdbcType=BIGINT}, #{projOrgId,jdbcType=BIGINT}, |
|
|
|
#{ktGroupId,jdbcType=BIGINT}, #{categoryId1,jdbcType=BIGINT}, #{categoryId2,jdbcType=BIGINT}, |
|
|
|
#{title,jdbcType=VARCHAR}, #{no,jdbcType=VARCHAR}, #{authors,jdbcType=VARCHAR}, |
|
|
|
#{applyDate,jdbcType=DATE}, #{publishDate,jdbcType=DATE}, #{place,jdbcType=VARCHAR}, |
|
|
|
#{achType,jdbcType=TINYINT}, #{source,jdbcType=VARCHAR}, #{paperSourceType,jdbcType=TINYINT}, |
|
|
|
#{ysktXmfzr,jdbcType=VARCHAR}, #{ysktFunds,jdbcType=VARCHAR}, #{ysktLxpzwh,jdbcType=VARCHAR}, |
|
|
|
#{ysktStatus,jdbcType=TINYINT}, #{abstracts,jdbcType=VARCHAR}, #{keywords,jdbcType=VARCHAR}, |
|
|
|
#{paperLink,jdbcType=VARCHAR}, #{pdfDownloadUrl,jdbcType=VARCHAR}, #{commitmentLetterUrl,jdbcType=VARCHAR}, |
|
|
|
#{delFlag,jdbcType=TINYINT}, #{createBy,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}, |
|
|
|
#{updateBy,jdbcType=VARCHAR}, #{updateTime,jdbcType=TIMESTAMP}, #{remark,jdbcType=VARCHAR} |
|
|
|
) |
|
|
|
#{ysktStatus,jdbcType=TINYINT}, #{keywords,jdbcType=VARCHAR}, #{paperLink,jdbcType=VARCHAR}, |
|
|
|
#{pdfDownloadUrl,jdbcType=VARCHAR}, #{commitmentLetterUrl,jdbcType=VARCHAR}, #{delFlag,jdbcType=TINYINT}, |
|
|
|
#{createBy,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}, #{updateBy,jdbcType=VARCHAR}, |
|
|
|
#{updateTime,jdbcType=TIMESTAMP}, #{remark,jdbcType=VARCHAR}, #{txAuthors,jdbcType=VARCHAR}, |
|
|
|
#{paperDoi,jdbcType=VARCHAR}, #{abstracts,jdbcType=LONGVARCHAR}) |
|
|
|
</insert> |
|
|
|
<insert id="insertSelective" parameterType="com.research.system.domain.po.AchAchievement"> |
|
|
|
insert into ach_achievement |
|
|
|
@ -206,9 +230,6 @@ |
|
|
|
<if test="ysktStatus != null"> |
|
|
|
yskt_status, |
|
|
|
</if> |
|
|
|
<if test="abstracts != null"> |
|
|
|
abstracts, |
|
|
|
</if> |
|
|
|
<if test="keywords != null"> |
|
|
|
keywords, |
|
|
|
</if> |
|
|
|
@ -239,6 +260,15 @@ |
|
|
|
<if test="remark != null"> |
|
|
|
remark, |
|
|
|
</if> |
|
|
|
<if test="txAuthors != null"> |
|
|
|
tx_authors, |
|
|
|
</if> |
|
|
|
<if test="paperDoi != null"> |
|
|
|
paper_doi, |
|
|
|
</if> |
|
|
|
<if test="abstracts != null"> |
|
|
|
abstracts, |
|
|
|
</if> |
|
|
|
</trim> |
|
|
|
<trim prefix="values (" suffix=")" suffixOverrides=","> |
|
|
|
<if test="id != null"> |
|
|
|
@ -298,9 +328,6 @@ |
|
|
|
<if test="ysktStatus != null"> |
|
|
|
#{ysktStatus,jdbcType=TINYINT}, |
|
|
|
</if> |
|
|
|
<if test="abstracts != null"> |
|
|
|
#{abstracts,jdbcType=VARCHAR}, |
|
|
|
</if> |
|
|
|
<if test="keywords != null"> |
|
|
|
#{keywords,jdbcType=VARCHAR}, |
|
|
|
</if> |
|
|
|
@ -331,6 +358,15 @@ |
|
|
|
<if test="remark != null"> |
|
|
|
#{remark,jdbcType=VARCHAR}, |
|
|
|
</if> |
|
|
|
<if test="txAuthors != null"> |
|
|
|
#{txAuthors,jdbcType=VARCHAR}, |
|
|
|
</if> |
|
|
|
<if test="paperDoi != null"> |
|
|
|
#{paperDoi,jdbcType=VARCHAR}, |
|
|
|
</if> |
|
|
|
<if test="abstracts != null"> |
|
|
|
#{abstracts,jdbcType=LONGVARCHAR}, |
|
|
|
</if> |
|
|
|
</trim> |
|
|
|
</insert> |
|
|
|
<select id="countByExample" parameterType="com.research.system.domain.po.AchAchievementExample" resultType="java.lang.Long"> |
|
|
|
@ -399,9 +435,6 @@ |
|
|
|
<if test="record.ysktStatus != null"> |
|
|
|
yskt_status = #{record.ysktStatus,jdbcType=TINYINT}, |
|
|
|
</if> |
|
|
|
<if test="record.abstracts != null"> |
|
|
|
abstracts = #{record.abstracts,jdbcType=VARCHAR}, |
|
|
|
</if> |
|
|
|
<if test="record.keywords != null"> |
|
|
|
keywords = #{record.keywords,jdbcType=VARCHAR}, |
|
|
|
</if> |
|
|
|
@ -432,11 +465,58 @@ |
|
|
|
<if test="record.remark != null"> |
|
|
|
remark = #{record.remark,jdbcType=VARCHAR}, |
|
|
|
</if> |
|
|
|
<if test="record.txAuthors != null"> |
|
|
|
tx_authors = #{record.txAuthors,jdbcType=VARCHAR}, |
|
|
|
</if> |
|
|
|
<if test="record.paperDoi != null"> |
|
|
|
paper_doi = #{record.paperDoi,jdbcType=VARCHAR}, |
|
|
|
</if> |
|
|
|
<if test="record.abstracts != null"> |
|
|
|
abstracts = #{record.abstracts,jdbcType=LONGVARCHAR}, |
|
|
|
</if> |
|
|
|
</set> |
|
|
|
<if test="_parameter != null"> |
|
|
|
<include refid="Update_By_Example_Where_Clause" /> |
|
|
|
</if> |
|
|
|
</update> |
|
|
|
<update id="updateByExampleWithBLOBs" parameterType="map"> |
|
|
|
update ach_achievement |
|
|
|
set id = #{record.id,jdbcType=BIGINT}, |
|
|
|
proj_id = #{record.projId,jdbcType=BIGINT}, |
|
|
|
proj_org_id = #{record.projOrgId,jdbcType=BIGINT}, |
|
|
|
kt_group_id = #{record.ktGroupId,jdbcType=BIGINT}, |
|
|
|
category_id_1 = #{record.categoryId1,jdbcType=BIGINT}, |
|
|
|
category_id_2 = #{record.categoryId2,jdbcType=BIGINT}, |
|
|
|
title = #{record.title,jdbcType=VARCHAR}, |
|
|
|
no = #{record.no,jdbcType=VARCHAR}, |
|
|
|
authors = #{record.authors,jdbcType=VARCHAR}, |
|
|
|
apply_date = #{record.applyDate,jdbcType=DATE}, |
|
|
|
publish_date = #{record.publishDate,jdbcType=DATE}, |
|
|
|
place = #{record.place,jdbcType=VARCHAR}, |
|
|
|
ach_type = #{record.achType,jdbcType=TINYINT}, |
|
|
|
source = #{record.source,jdbcType=VARCHAR}, |
|
|
|
paper_source_type = #{record.paperSourceType,jdbcType=TINYINT}, |
|
|
|
yskt_xmfzr = #{record.ysktXmfzr,jdbcType=VARCHAR}, |
|
|
|
yskt_funds = #{record.ysktFunds,jdbcType=VARCHAR}, |
|
|
|
yskt_lxpzwh = #{record.ysktLxpzwh,jdbcType=VARCHAR}, |
|
|
|
yskt_status = #{record.ysktStatus,jdbcType=TINYINT}, |
|
|
|
keywords = #{record.keywords,jdbcType=VARCHAR}, |
|
|
|
paper_link = #{record.paperLink,jdbcType=VARCHAR}, |
|
|
|
pdf_download_url = #{record.pdfDownloadUrl,jdbcType=VARCHAR}, |
|
|
|
commitment_letter_url = #{record.commitmentLetterUrl,jdbcType=VARCHAR}, |
|
|
|
del_flag = #{record.delFlag,jdbcType=TINYINT}, |
|
|
|
create_by = #{record.createBy,jdbcType=VARCHAR}, |
|
|
|
create_time = #{record.createTime,jdbcType=TIMESTAMP}, |
|
|
|
update_by = #{record.updateBy,jdbcType=VARCHAR}, |
|
|
|
update_time = #{record.updateTime,jdbcType=TIMESTAMP}, |
|
|
|
remark = #{record.remark,jdbcType=VARCHAR}, |
|
|
|
tx_authors = #{record.txAuthors,jdbcType=VARCHAR}, |
|
|
|
paper_doi = #{record.paperDoi,jdbcType=VARCHAR}, |
|
|
|
abstracts = #{record.abstracts,jdbcType=LONGVARCHAR} |
|
|
|
<if test="_parameter != null"> |
|
|
|
<include refid="Update_By_Example_Where_Clause" /> |
|
|
|
</if> |
|
|
|
</update> |
|
|
|
<update id="updateByExample" parameterType="map"> |
|
|
|
update ach_achievement |
|
|
|
set id = #{record.id,jdbcType=BIGINT}, |
|
|
|
@ -458,7 +538,6 @@ |
|
|
|
yskt_funds = #{record.ysktFunds,jdbcType=VARCHAR}, |
|
|
|
yskt_lxpzwh = #{record.ysktLxpzwh,jdbcType=VARCHAR}, |
|
|
|
yskt_status = #{record.ysktStatus,jdbcType=TINYINT}, |
|
|
|
abstracts = #{record.abstracts,jdbcType=VARCHAR}, |
|
|
|
keywords = #{record.keywords,jdbcType=VARCHAR}, |
|
|
|
paper_link = #{record.paperLink,jdbcType=VARCHAR}, |
|
|
|
pdf_download_url = #{record.pdfDownloadUrl,jdbcType=VARCHAR}, |
|
|
|
@ -468,7 +547,9 @@ |
|
|
|
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}, |
|
|
|
tx_authors = #{record.txAuthors,jdbcType=VARCHAR}, |
|
|
|
paper_doi = #{record.paperDoi,jdbcType=VARCHAR} |
|
|
|
<if test="_parameter != null"> |
|
|
|
<include refid="Update_By_Example_Where_Clause" /> |
|
|
|
</if> |
|
|
|
@ -530,9 +611,6 @@ |
|
|
|
<if test="ysktStatus != null"> |
|
|
|
yskt_status = #{ysktStatus,jdbcType=TINYINT}, |
|
|
|
</if> |
|
|
|
<if test="abstracts != null"> |
|
|
|
abstracts = #{abstracts,jdbcType=VARCHAR}, |
|
|
|
</if> |
|
|
|
<if test="keywords != null"> |
|
|
|
keywords = #{keywords,jdbcType=VARCHAR}, |
|
|
|
</if> |
|
|
|
@ -563,9 +641,53 @@ |
|
|
|
<if test="remark != null"> |
|
|
|
remark = #{remark,jdbcType=VARCHAR}, |
|
|
|
</if> |
|
|
|
<if test="txAuthors != null"> |
|
|
|
tx_authors = #{txAuthors,jdbcType=VARCHAR}, |
|
|
|
</if> |
|
|
|
<if test="paperDoi != null"> |
|
|
|
paper_doi = #{paperDoi,jdbcType=VARCHAR}, |
|
|
|
</if> |
|
|
|
<if test="abstracts != null"> |
|
|
|
abstracts = #{abstracts,jdbcType=LONGVARCHAR}, |
|
|
|
</if> |
|
|
|
</set> |
|
|
|
where id = #{id,jdbcType=BIGINT} |
|
|
|
</update> |
|
|
|
<update id="updateByPrimaryKeyWithBLOBs" parameterType="com.research.system.domain.po.AchAchievement"> |
|
|
|
update ach_achievement |
|
|
|
set proj_id = #{projId,jdbcType=BIGINT}, |
|
|
|
proj_org_id = #{projOrgId,jdbcType=BIGINT}, |
|
|
|
kt_group_id = #{ktGroupId,jdbcType=BIGINT}, |
|
|
|
category_id_1 = #{categoryId1,jdbcType=BIGINT}, |
|
|
|
category_id_2 = #{categoryId2,jdbcType=BIGINT}, |
|
|
|
title = #{title,jdbcType=VARCHAR}, |
|
|
|
no = #{no,jdbcType=VARCHAR}, |
|
|
|
authors = #{authors,jdbcType=VARCHAR}, |
|
|
|
apply_date = #{applyDate,jdbcType=DATE}, |
|
|
|
publish_date = #{publishDate,jdbcType=DATE}, |
|
|
|
place = #{place,jdbcType=VARCHAR}, |
|
|
|
ach_type = #{achType,jdbcType=TINYINT}, |
|
|
|
source = #{source,jdbcType=VARCHAR}, |
|
|
|
paper_source_type = #{paperSourceType,jdbcType=TINYINT}, |
|
|
|
yskt_xmfzr = #{ysktXmfzr,jdbcType=VARCHAR}, |
|
|
|
yskt_funds = #{ysktFunds,jdbcType=VARCHAR}, |
|
|
|
yskt_lxpzwh = #{ysktLxpzwh,jdbcType=VARCHAR}, |
|
|
|
yskt_status = #{ysktStatus,jdbcType=TINYINT}, |
|
|
|
keywords = #{keywords,jdbcType=VARCHAR}, |
|
|
|
paper_link = #{paperLink,jdbcType=VARCHAR}, |
|
|
|
pdf_download_url = #{pdfDownloadUrl,jdbcType=VARCHAR}, |
|
|
|
commitment_letter_url = #{commitmentLetterUrl,jdbcType=VARCHAR}, |
|
|
|
del_flag = #{delFlag,jdbcType=TINYINT}, |
|
|
|
create_by = #{createBy,jdbcType=VARCHAR}, |
|
|
|
create_time = #{createTime,jdbcType=TIMESTAMP}, |
|
|
|
update_by = #{updateBy,jdbcType=VARCHAR}, |
|
|
|
update_time = #{updateTime,jdbcType=TIMESTAMP}, |
|
|
|
remark = #{remark,jdbcType=VARCHAR}, |
|
|
|
tx_authors = #{txAuthors,jdbcType=VARCHAR}, |
|
|
|
paper_doi = #{paperDoi,jdbcType=VARCHAR}, |
|
|
|
abstracts = #{abstracts,jdbcType=LONGVARCHAR} |
|
|
|
where id = #{id,jdbcType=BIGINT} |
|
|
|
</update> |
|
|
|
<update id="updateByPrimaryKey" parameterType="com.research.system.domain.po.AchAchievement"> |
|
|
|
update ach_achievement |
|
|
|
set proj_id = #{projId,jdbcType=BIGINT}, |
|
|
|
@ -586,7 +708,6 @@ |
|
|
|
yskt_funds = #{ysktFunds,jdbcType=VARCHAR}, |
|
|
|
yskt_lxpzwh = #{ysktLxpzwh,jdbcType=VARCHAR}, |
|
|
|
yskt_status = #{ysktStatus,jdbcType=TINYINT}, |
|
|
|
abstracts = #{abstracts,jdbcType=VARCHAR}, |
|
|
|
keywords = #{keywords,jdbcType=VARCHAR}, |
|
|
|
paper_link = #{paperLink,jdbcType=VARCHAR}, |
|
|
|
pdf_download_url = #{pdfDownloadUrl,jdbcType=VARCHAR}, |
|
|
|
@ -596,7 +717,9 @@ |
|
|
|
create_time = #{createTime,jdbcType=TIMESTAMP}, |
|
|
|
update_by = #{updateBy,jdbcType=VARCHAR}, |
|
|
|
update_time = #{updateTime,jdbcType=TIMESTAMP}, |
|
|
|
remark = #{remark,jdbcType=VARCHAR} |
|
|
|
remark = #{remark,jdbcType=VARCHAR}, |
|
|
|
tx_authors = #{txAuthors,jdbcType=VARCHAR}, |
|
|
|
paper_doi = #{paperDoi,jdbcType=VARCHAR} |
|
|
|
where id = #{id,jdbcType=BIGINT} |
|
|
|
</update> |
|
|
|
</mapper> |