This commit is contained in:
2025-08-23 09:40:45 +08:00
parent f5c2d30424
commit e9f79ac015
11 changed files with 871 additions and 539 deletions
@@ -29,9 +29,9 @@
<insert id="addInformation" parameterType="Information">
insert into
tbl_information
(content,type,createBy,createDate)
(content,type,createBy,createDate,attachment)
values
(#{content},#{type},#{createBy},now())
(#{content},#{type},#{createBy},now(),#{attachment})
</insert>
<update id="updateInformationById" parameterType="Information">
@@ -49,6 +49,9 @@
<if test="updateDate != null">
updateDate = now(),
</if>
<if test="attachment != null">
attachment = #{attachment,jdbcType=VARCHAR},
</if>
</set>
where id = #{id,jdbcType=INTEGER}
</update>