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, STATIONID, PROJECTID, LINEID, WINDTURBINEID, ALERTVALUE, CATEGORY1, CATEGORY2,
CATEGORY3, RANK, ISOPENED, STATIONNAME, PROJECTNAME, LINENAME, WINDTURBINENAME, ALERTTEXT,
MODELID, TESTINGPOINTKEY, LASTUPDATETIME, DATAINFO
delete from ALARMSNAP
where ID = #{id,jdbcType=DECIMAL}
delete from ALARMSNAP
insert into ALARMSNAP (ID, STATIONID, PROJECTID,
LINEID, WINDTURBINEID, ALERTVALUE,
CATEGORY1, CATEGORY2, CATEGORY3,
RANK, ISOPENED, STATIONNAME,
PROJECTNAME, LINENAME, WINDTURBINENAME,
ALERTTEXT, MODELID, TESTINGPOINTKEY,
LASTUPDATETIME, DATAINFO)
values (#{id,jdbcType=DECIMAL}, #{stationid,jdbcType=VARCHAR}, #{projectid,jdbcType=VARCHAR},
#{lineid,jdbcType=VARCHAR}, #{windturbineid,jdbcType=VARCHAR}, #{alertvalue,jdbcType=DECIMAL},
#{category1,jdbcType=VARCHAR}, #{category2,jdbcType=VARCHAR}, #{category3,jdbcType=VARCHAR},
#{rank,jdbcType=VARCHAR}, #{isopened,jdbcType=DECIMAL}, #{stationname,jdbcType=VARCHAR},
#{projectname,jdbcType=VARCHAR}, #{linename,jdbcType=VARCHAR}, #{windturbinename,jdbcType=VARCHAR},
#{alerttext,jdbcType=VARCHAR}, #{modelid,jdbcType=VARCHAR}, #{testingpointkey,jdbcType=VARCHAR},
#{lastupdatetime,jdbcType=TIMESTAMP}, #{datainfo,jdbcType=VARCHAR})
insert into ALARMSNAP
ID,
STATIONID,
PROJECTID,
LINEID,
WINDTURBINEID,
ALERTVALUE,
CATEGORY1,
CATEGORY2,
CATEGORY3,
RANK,
ISOPENED,
STATIONNAME,
PROJECTNAME,
LINENAME,
WINDTURBINENAME,
ALERTTEXT,
MODELID,
TESTINGPOINTKEY,
LASTUPDATETIME,
DATAINFO,
#{id,jdbcType=DECIMAL},
#{stationid,jdbcType=VARCHAR},
#{projectid,jdbcType=VARCHAR},
#{lineid,jdbcType=VARCHAR},
#{windturbineid,jdbcType=VARCHAR},
#{alertvalue,jdbcType=DECIMAL},
#{category1,jdbcType=VARCHAR},
#{category2,jdbcType=VARCHAR},
#{category3,jdbcType=VARCHAR},
#{rank,jdbcType=VARCHAR},
#{isopened,jdbcType=DECIMAL},
#{stationname,jdbcType=VARCHAR},
#{projectname,jdbcType=VARCHAR},
#{linename,jdbcType=VARCHAR},
#{windturbinename,jdbcType=VARCHAR},
#{alerttext,jdbcType=VARCHAR},
#{modelid,jdbcType=VARCHAR},
#{testingpointkey,jdbcType=VARCHAR},
#{lastupdatetime,jdbcType=TIMESTAMP},
#{datainfo,jdbcType=VARCHAR},
update ALARMSNAP
ID = #{record.id,jdbcType=DECIMAL},
STATIONID = #{record.stationid,jdbcType=VARCHAR},
PROJECTID = #{record.projectid,jdbcType=VARCHAR},
LINEID = #{record.lineid,jdbcType=VARCHAR},
WINDTURBINEID = #{record.windturbineid,jdbcType=VARCHAR},
ALERTVALUE = #{record.alertvalue,jdbcType=DECIMAL},
CATEGORY1 = #{record.category1,jdbcType=VARCHAR},
CATEGORY2 = #{record.category2,jdbcType=VARCHAR},
CATEGORY3 = #{record.category3,jdbcType=VARCHAR},
RANK = #{record.rank,jdbcType=VARCHAR},
ISOPENED = #{record.isopened,jdbcType=DECIMAL},
STATIONNAME = #{record.stationname,jdbcType=VARCHAR},
PROJECTNAME = #{record.projectname,jdbcType=VARCHAR},
LINENAME = #{record.linename,jdbcType=VARCHAR},
WINDTURBINENAME = #{record.windturbinename,jdbcType=VARCHAR},
ALERTTEXT = #{record.alerttext,jdbcType=VARCHAR},
MODELID = #{record.modelid,jdbcType=VARCHAR},
TESTINGPOINTKEY = #{record.testingpointkey,jdbcType=VARCHAR},
LASTUPDATETIME = #{record.lastupdatetime,jdbcType=TIMESTAMP},
DATAINFO = #{record.datainfo,jdbcType=VARCHAR},
update ALARMSNAP
set ID = #{record.id,jdbcType=DECIMAL},
STATIONID = #{record.stationid,jdbcType=VARCHAR},
PROJECTID = #{record.projectid,jdbcType=VARCHAR},
LINEID = #{record.lineid,jdbcType=VARCHAR},
WINDTURBINEID = #{record.windturbineid,jdbcType=VARCHAR},
ALERTVALUE = #{record.alertvalue,jdbcType=DECIMAL},
CATEGORY1 = #{record.category1,jdbcType=VARCHAR},
CATEGORY2 = #{record.category2,jdbcType=VARCHAR},
CATEGORY3 = #{record.category3,jdbcType=VARCHAR},
RANK = #{record.rank,jdbcType=VARCHAR},
ISOPENED = #{record.isopened,jdbcType=DECIMAL},
STATIONNAME = #{record.stationname,jdbcType=VARCHAR},
PROJECTNAME = #{record.projectname,jdbcType=VARCHAR},
LINENAME = #{record.linename,jdbcType=VARCHAR},
WINDTURBINENAME = #{record.windturbinename,jdbcType=VARCHAR},
ALERTTEXT = #{record.alerttext,jdbcType=VARCHAR},
MODELID = #{record.modelid,jdbcType=VARCHAR},
TESTINGPOINTKEY = #{record.testingpointkey,jdbcType=VARCHAR},
LASTUPDATETIME = #{record.lastupdatetime,jdbcType=TIMESTAMP},
DATAINFO = #{record.datainfo,jdbcType=VARCHAR}
update ALARMSNAP
STATIONID = #{stationid,jdbcType=VARCHAR},
PROJECTID = #{projectid,jdbcType=VARCHAR},
LINEID = #{lineid,jdbcType=VARCHAR},
WINDTURBINEID = #{windturbineid,jdbcType=VARCHAR},
ALERTVALUE = #{alertvalue,jdbcType=DECIMAL},
CATEGORY1 = #{category1,jdbcType=VARCHAR},
CATEGORY2 = #{category2,jdbcType=VARCHAR},
CATEGORY3 = #{category3,jdbcType=VARCHAR},
RANK = #{rank,jdbcType=VARCHAR},
ISOPENED = #{isopened,jdbcType=DECIMAL},
STATIONNAME = #{stationname,jdbcType=VARCHAR},
PROJECTNAME = #{projectname,jdbcType=VARCHAR},
LINENAME = #{linename,jdbcType=VARCHAR},
WINDTURBINENAME = #{windturbinename,jdbcType=VARCHAR},
ALERTTEXT = #{alerttext,jdbcType=VARCHAR},
MODELID = #{modelid,jdbcType=VARCHAR},
TESTINGPOINTKEY = #{testingpointkey,jdbcType=VARCHAR},
LASTUPDATETIME = #{lastupdatetime,jdbcType=TIMESTAMP},
DATAINFO = #{datainfo,jdbcType=VARCHAR},
where ID = #{id,jdbcType=DECIMAL}
update ALARMSNAP
set STATIONID = #{stationid,jdbcType=VARCHAR},
PROJECTID = #{projectid,jdbcType=VARCHAR},
LINEID = #{lineid,jdbcType=VARCHAR},
WINDTURBINEID = #{windturbineid,jdbcType=VARCHAR},
ALERTVALUE = #{alertvalue,jdbcType=DECIMAL},
CATEGORY1 = #{category1,jdbcType=VARCHAR},
CATEGORY2 = #{category2,jdbcType=VARCHAR},
CATEGORY3 = #{category3,jdbcType=VARCHAR},
RANK = #{rank,jdbcType=VARCHAR},
ISOPENED = #{isopened,jdbcType=DECIMAL},
STATIONNAME = #{stationname,jdbcType=VARCHAR},
PROJECTNAME = #{projectname,jdbcType=VARCHAR},
LINENAME = #{linename,jdbcType=VARCHAR},
WINDTURBINENAME = #{windturbinename,jdbcType=VARCHAR},
ALERTTEXT = #{alerttext,jdbcType=VARCHAR},
MODELID = #{modelid,jdbcType=VARCHAR},
TESTINGPOINTKEY = #{testingpointkey,jdbcType=VARCHAR},
LASTUPDATETIME = #{lastupdatetime,jdbcType=TIMESTAMP},
DATAINFO = #{datainfo,jdbcType=VARCHAR}
where ID = #{id,jdbcType=DECIMAL}