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}
AnnouncementID, Title, Content, StartTime, EndTime, RecordStatus, CreateBy, CreateTime,
UpdateBy, UpdateTime
delete from sys_announcement
where AnnouncementID = #{announcementID,jdbcType=VARCHAR}
delete from sys_announcement
insert into sys_announcement (AnnouncementID, Title, Content,
StartTime, EndTime, RecordStatus,
CreateBy, CreateTime, UpdateBy,
UpdateTime)
values (#{announcementID,jdbcType=VARCHAR}, #{title,jdbcType=VARCHAR}, #{content,jdbcType=VARCHAR},
#{startTime,jdbcType=TIMESTAMP}, #{endTime,jdbcType=TIMESTAMP}, #{recordStatus,jdbcType=INTEGER},
#{createBy,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}, #{updateBy,jdbcType=VARCHAR},
#{updateTime,jdbcType=TIMESTAMP})
insert into sys_announcement
AnnouncementID,
Title,
Content,
StartTime,
EndTime,
RecordStatus,
CreateBy,
CreateTime,
UpdateBy,
UpdateTime,
#{announcementID,jdbcType=VARCHAR},
#{title,jdbcType=VARCHAR},
#{content,jdbcType=VARCHAR},
#{startTime,jdbcType=TIMESTAMP},
#{endTime,jdbcType=TIMESTAMP},
#{recordStatus,jdbcType=INTEGER},
#{createBy,jdbcType=VARCHAR},
#{createTime,jdbcType=TIMESTAMP},
#{updateBy,jdbcType=VARCHAR},
#{updateTime,jdbcType=TIMESTAMP},
update sys_announcement
AnnouncementID = #{row.announcementID,jdbcType=VARCHAR},
Title = #{row.title,jdbcType=VARCHAR},
Content = #{row.content,jdbcType=VARCHAR},
StartTime = #{row.startTime,jdbcType=TIMESTAMP},
EndTime = #{row.endTime,jdbcType=TIMESTAMP},
RecordStatus = #{row.recordStatus,jdbcType=INTEGER},
CreateBy = #{row.createBy,jdbcType=VARCHAR},
CreateTime = #{row.createTime,jdbcType=TIMESTAMP},
UpdateBy = #{row.updateBy,jdbcType=VARCHAR},
UpdateTime = #{row.updateTime,jdbcType=TIMESTAMP},
update sys_announcement
set AnnouncementID = #{row.announcementID,jdbcType=VARCHAR},
Title = #{row.title,jdbcType=VARCHAR},
Content = #{row.content,jdbcType=VARCHAR},
StartTime = #{row.startTime,jdbcType=TIMESTAMP},
EndTime = #{row.endTime,jdbcType=TIMESTAMP},
RecordStatus = #{row.recordStatus,jdbcType=INTEGER},
CreateBy = #{row.createBy,jdbcType=VARCHAR},
CreateTime = #{row.createTime,jdbcType=TIMESTAMP},
UpdateBy = #{row.updateBy,jdbcType=VARCHAR},
UpdateTime = #{row.updateTime,jdbcType=TIMESTAMP}
update sys_announcement
Title = #{title,jdbcType=VARCHAR},
Content = #{content,jdbcType=VARCHAR},
StartTime = #{startTime,jdbcType=TIMESTAMP},
EndTime = #{endTime,jdbcType=TIMESTAMP},
RecordStatus = #{recordStatus,jdbcType=INTEGER},
CreateBy = #{createBy,jdbcType=VARCHAR},
CreateTime = #{createTime,jdbcType=TIMESTAMP},
UpdateBy = #{updateBy,jdbcType=VARCHAR},
UpdateTime = #{updateTime,jdbcType=TIMESTAMP},
where AnnouncementID = #{announcementID,jdbcType=VARCHAR}
update sys_announcement
set Title = #{title,jdbcType=VARCHAR},
Content = #{content,jdbcType=VARCHAR},
StartTime = #{startTime,jdbcType=TIMESTAMP},
EndTime = #{endTime,jdbcType=TIMESTAMP},
RecordStatus = #{recordStatus,jdbcType=INTEGER},
CreateBy = #{createBy,jdbcType=VARCHAR},
CreateTime = #{createTime,jdbcType=TIMESTAMP},
UpdateBy = #{updateBy,jdbcType=VARCHAR},
UpdateTime = #{updateTime,jdbcType=TIMESTAMP}
where AnnouncementID = #{announcementID,jdbcType=VARCHAR}