Цей коміт міститься в:
2025-08-23 09:40:45 +08:00
джерело f5c2d30424
коміт e9f79ac015
11 змінених файлів з 871 додано та 539 видалено
+5 -2
Переглянути файл
@@ -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>