diff --git a/src/main/resources/mapper/ChapterMapper.xml b/src/main/resources/mapper/ChapterMapper.xml index 09fba28..1fe437f 100644 --- a/src/main/resources/mapper/ChapterMapper.xml +++ b/src/main/resources/mapper/ChapterMapper.xml @@ -267,251 +267,4 @@ families = #{families,jdbcType=VARCHAR} where chapter_id = #{chapterId,jdbcType=VARCHAR} - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - chapter_id, chapter_name, add_time, source - - - knowledge - - - - - - delete from chapter - where chapter_id = #{chapterId,jdbcType=VARCHAR} - - - delete from chapter - - - - - - insert into chapter (chapter_id, chapter_name, add_time, - source, knowledge) - values (#{chapterId,jdbcType=VARCHAR}, #{chapterName,jdbcType=VARCHAR}, #{addTime,jdbcType=TIMESTAMP}, - #{source,jdbcType=VARCHAR}, #{knowledge,jdbcType=LONGVARCHAR}) - - - insert into chapter - - - chapter_id, - - - chapter_name, - - - add_time, - - - source, - - - knowledge, - - - - - #{chapterId,jdbcType=VARCHAR}, - - - #{chapterName,jdbcType=VARCHAR}, - - - #{addTime,jdbcType=TIMESTAMP}, - - - #{source,jdbcType=VARCHAR}, - - - #{knowledge,jdbcType=LONGVARCHAR}, - - - - - - update chapter - - - chapter_id = #{record.chapterId,jdbcType=VARCHAR}, - - - chapter_name = #{record.chapterName,jdbcType=VARCHAR}, - - - add_time = #{record.addTime,jdbcType=TIMESTAMP}, - - - source = #{record.source,jdbcType=VARCHAR}, - - - knowledge = #{record.knowledge,jdbcType=LONGVARCHAR}, - - - - - - - - update chapter - set chapter_id = #{record.chapterId,jdbcType=VARCHAR}, - chapter_name = #{record.chapterName,jdbcType=VARCHAR}, - add_time = #{record.addTime,jdbcType=TIMESTAMP}, - source = #{record.source,jdbcType=VARCHAR}, - knowledge = #{record.knowledge,jdbcType=LONGVARCHAR} - - - - - - update chapter - set chapter_id = #{record.chapterId,jdbcType=VARCHAR}, - chapter_name = #{record.chapterName,jdbcType=VARCHAR}, - add_time = #{record.addTime,jdbcType=TIMESTAMP}, - source = #{record.source,jdbcType=VARCHAR} - - - - - - update chapter - - - chapter_name = #{chapterName,jdbcType=VARCHAR}, - - - add_time = #{addTime,jdbcType=TIMESTAMP}, - - - source = #{source,jdbcType=VARCHAR}, - - - knowledge = #{knowledge,jdbcType=LONGVARCHAR}, - - - where chapter_id = #{chapterId,jdbcType=VARCHAR} - - - update chapter - set chapter_name = #{chapterName,jdbcType=VARCHAR}, - add_time = #{addTime,jdbcType=TIMESTAMP}, - source = #{source,jdbcType=VARCHAR}, - knowledge = #{knowledge,jdbcType=LONGVARCHAR} - where chapter_id = #{chapterId,jdbcType=VARCHAR} - - - update chapter - set chapter_name = #{chapterName,jdbcType=VARCHAR}, - add_time = #{addTime,jdbcType=TIMESTAMP}, - source = #{source,jdbcType=VARCHAR} - where chapter_id = #{chapterId,jdbcType=VARCHAR} - \ No newline at end of file