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} ID, STOPTIME, STARTTIME, STOPTYPEID, DESCRIPTION, LIMITLOAD, BROWNOUTSDIRECTIVE, WINDSPEED, THISLOAD, WINDPOWERSTATIONID, WPNAME, LOSSPOWER, STOPHOURS delete from MAINBROWNOUTS2 where ID = #{id,jdbcType=VARCHAR} delete from MAINBROWNOUTS2 insert into MAINBROWNOUTS2 (ID, STOPTIME, STARTTIME, STOPTYPEID, DESCRIPTION, LIMITLOAD, BROWNOUTSDIRECTIVE, WINDSPEED, THISLOAD, WINDPOWERSTATIONID, WPNAME, LOSSPOWER, STOPHOURS) values (#{id,jdbcType=VARCHAR}, #{stoptime,jdbcType=TIMESTAMP}, #{starttime,jdbcType=TIMESTAMP}, #{stoptypeid,jdbcType=VARCHAR}, #{description,jdbcType=VARCHAR}, #{limitload,jdbcType=DECIMAL}, #{brownoutsdirective,jdbcType=VARCHAR}, #{windspeed,jdbcType=DECIMAL}, #{thisload,jdbcType=DECIMAL}, #{windpowerstationid,jdbcType=VARCHAR}, #{wpname,jdbcType=VARCHAR}, #{losspower,jdbcType=DECIMAL}, #{stophours,jdbcType=DECIMAL}) insert into MAINBROWNOUTS2 ID, STOPTIME, STARTTIME, STOPTYPEID, DESCRIPTION, LIMITLOAD, BROWNOUTSDIRECTIVE, WINDSPEED, THISLOAD, WINDPOWERSTATIONID, WPNAME, LOSSPOWER, STOPHOURS, #{id,jdbcType=VARCHAR}, #{stoptime,jdbcType=TIMESTAMP}, #{starttime,jdbcType=TIMESTAMP}, #{stoptypeid,jdbcType=VARCHAR}, #{description,jdbcType=VARCHAR}, #{limitload,jdbcType=DECIMAL}, #{brownoutsdirective,jdbcType=VARCHAR}, #{windspeed,jdbcType=DECIMAL}, #{thisload,jdbcType=DECIMAL}, #{windpowerstationid,jdbcType=VARCHAR}, #{wpname,jdbcType=VARCHAR}, #{losspower,jdbcType=DECIMAL}, #{stophours,jdbcType=DECIMAL}, update MAINBROWNOUTS2 ID = #{record.id,jdbcType=VARCHAR}, STOPTIME = #{record.stoptime,jdbcType=TIMESTAMP}, STARTTIME = #{record.starttime,jdbcType=TIMESTAMP}, STOPTYPEID = #{record.stoptypeid,jdbcType=VARCHAR}, DESCRIPTION = #{record.description,jdbcType=VARCHAR}, LIMITLOAD = #{record.limitload,jdbcType=DECIMAL}, BROWNOUTSDIRECTIVE = #{record.brownoutsdirective,jdbcType=VARCHAR}, WINDSPEED = #{record.windspeed,jdbcType=DECIMAL}, THISLOAD = #{record.thisload,jdbcType=DECIMAL}, WINDPOWERSTATIONID = #{record.windpowerstationid,jdbcType=VARCHAR}, WPNAME = #{record.wpname,jdbcType=VARCHAR}, LOSSPOWER = #{record.losspower,jdbcType=DECIMAL}, STOPHOURS = #{record.stophours,jdbcType=DECIMAL}, update MAINBROWNOUTS2 set ID = #{record.id,jdbcType=VARCHAR}, STOPTIME = #{record.stoptime,jdbcType=TIMESTAMP}, STARTTIME = #{record.starttime,jdbcType=TIMESTAMP}, STOPTYPEID = #{record.stoptypeid,jdbcType=VARCHAR}, DESCRIPTION = #{record.description,jdbcType=VARCHAR}, LIMITLOAD = #{record.limitload,jdbcType=DECIMAL}, BROWNOUTSDIRECTIVE = #{record.brownoutsdirective,jdbcType=VARCHAR}, WINDSPEED = #{record.windspeed,jdbcType=DECIMAL}, THISLOAD = #{record.thisload,jdbcType=DECIMAL}, WINDPOWERSTATIONID = #{record.windpowerstationid,jdbcType=VARCHAR}, WPNAME = #{record.wpname,jdbcType=VARCHAR}, LOSSPOWER = #{record.losspower,jdbcType=DECIMAL}, STOPHOURS = #{record.stophours,jdbcType=DECIMAL} update MAINBROWNOUTS2 STOPTIME = #{stoptime,jdbcType=TIMESTAMP}, STARTTIME = #{starttime,jdbcType=TIMESTAMP}, STOPTYPEID = #{stoptypeid,jdbcType=VARCHAR}, DESCRIPTION = #{description,jdbcType=VARCHAR}, LIMITLOAD = #{limitload,jdbcType=DECIMAL}, BROWNOUTSDIRECTIVE = #{brownoutsdirective,jdbcType=VARCHAR}, WINDSPEED = #{windspeed,jdbcType=DECIMAL}, THISLOAD = #{thisload,jdbcType=DECIMAL}, WINDPOWERSTATIONID = #{windpowerstationid,jdbcType=VARCHAR}, WPNAME = #{wpname,jdbcType=VARCHAR}, LOSSPOWER = #{losspower,jdbcType=DECIMAL}, STOPHOURS = #{stophours,jdbcType=DECIMAL}, where ID = #{id,jdbcType=VARCHAR} update MAINBROWNOUTS2 set STOPTIME = #{stoptime,jdbcType=TIMESTAMP}, STARTTIME = #{starttime,jdbcType=TIMESTAMP}, STOPTYPEID = #{stoptypeid,jdbcType=VARCHAR}, DESCRIPTION = #{description,jdbcType=VARCHAR}, LIMITLOAD = #{limitload,jdbcType=DECIMAL}, BROWNOUTSDIRECTIVE = #{brownoutsdirective,jdbcType=VARCHAR}, WINDSPEED = #{windspeed,jdbcType=DECIMAL}, THISLOAD = #{thisload,jdbcType=DECIMAL}, WINDPOWERSTATIONID = #{windpowerstationid,jdbcType=VARCHAR}, WPNAME = #{wpname,jdbcType=VARCHAR}, LOSSPOWER = #{losspower,jdbcType=DECIMAL}, STOPHOURS = #{stophours,jdbcType=DECIMAL} where ID = #{id,jdbcType=VARCHAR}