|
|
@@ -115,6 +115,7 @@ id, uid, patent_count, invention_patent_count, utility_model_count, appearance_p
|
|
|
</where>
|
|
|
</select>
|
|
|
|
|
|
+
|
|
|
<!--新增所有列-->
|
|
|
<insert id="insert" keyProperty="id" useGeneratedKeys="true">
|
|
|
insert into user_archives(uid, patent_count, invention_patent_count, utility_model_count, appearance_patent_count, software_works_count, other, financial_data, early_communication, interview_ideas, create_time)
|
|
|
@@ -195,5 +196,12 @@ create_time = values(create_time)
|
|
|
delete from user_archives where id = #{id}
|
|
|
</delete>
|
|
|
|
|
|
+ <select id="queryByUid" resultMap="UserArchivesMap">
|
|
|
+ select
|
|
|
+ id, uid, patent_count, invention_patent_count, utility_model_count, appearance_patent_count, software_works_count, other, financial_data, early_communication, interview_ideas, create_time
|
|
|
+ from user_archives
|
|
|
+ where uid = #{id}
|
|
|
+ </select>
|
|
|
+
|
|
|
</mapper>
|
|
|
|