(
$oredCriteria[].criteriaWithoutValue[]$
$oredCriteria[].criteriaWithSingleValue[].condition$
#oredCriteria[].criteriaWithSingleValue[].value#
$oredCriteria[].criteriaWithListValue[].condition$
#oredCriteria[].criteriaWithListValue[].values[]#
$oredCriteria[].criteriaWithBetweenValue[].condition$
#oredCriteria[].criteriaWithBetweenValue[].values[0]# and
#oredCriteria[].criteriaWithBetweenValue[].values[1]#
)
delete from sj_wbhj
where id = #id:INTEGER#
delete from sj_wbhj
insert into sj_wbhj (id, lqid, wbwd, wbsd, temp1, temp2, temp3, temp4, temp5, temp6, temp7,
temp8, temp9, bz, tjsj, scsj)
values (#id:INTEGER#, #lqid:INTEGER#, #wbwd:DECIMAL#, #wbsd:DECIMAL#, #temp1:VARCHAR#,
#temp2:VARCHAR#, #temp3:VARCHAR#, #temp4:VARCHAR#, #temp5:VARCHAR#, #temp6:VARCHAR#,
#temp7:VARCHAR#, #temp8:VARCHAR#, #temp9:VARCHAR#, #bz:INTEGER#, #tjsj:TIMESTAMP#,
#scsj:TIMESTAMP#)
insert into sj_wbhj
id
lqid
wbwd
wbsd
temp1
temp2
temp3
temp4
temp5
temp6
temp7
temp8
temp9
bz
tjsj
scsj
)
values
#id:INTEGER#
#lqid:INTEGER#
#wbwd:DECIMAL#
#wbsd:DECIMAL#
#temp1:VARCHAR#
#temp2:VARCHAR#
#temp3:VARCHAR#
#temp4:VARCHAR#
#temp5:VARCHAR#
#temp6:VARCHAR#
#temp7:VARCHAR#
#temp8:VARCHAR#
#temp9:VARCHAR#
#bz:INTEGER#
#tjsj:TIMESTAMP#
#scsj:TIMESTAMP#
)
update sj_wbhj
id = #record.id:INTEGER#
lqid = #record.lqid:INTEGER#
wbwd = #record.wbwd:DECIMAL#
wbsd = #record.wbsd:DECIMAL#
temp1 = #record.temp1:VARCHAR#
temp2 = #record.temp2:VARCHAR#
temp3 = #record.temp3:VARCHAR#
temp4 = #record.temp4:VARCHAR#
temp5 = #record.temp5:VARCHAR#
temp6 = #record.temp6:VARCHAR#
temp7 = #record.temp7:VARCHAR#
temp8 = #record.temp8:VARCHAR#
temp9 = #record.temp9:VARCHAR#
bz = #record.bz:INTEGER#
tjsj = #record.tjsj:TIMESTAMP#
scsj = #record.scsj:TIMESTAMP#
update sj_wbhj
set id = #record.id:INTEGER#,
lqid = #record.lqid:INTEGER#,
wbwd = #record.wbwd:DECIMAL#,
wbsd = #record.wbsd:DECIMAL#,
temp1 = #record.temp1:VARCHAR#,
temp2 = #record.temp2:VARCHAR#,
temp3 = #record.temp3:VARCHAR#,
temp4 = #record.temp4:VARCHAR#,
temp5 = #record.temp5:VARCHAR#,
temp6 = #record.temp6:VARCHAR#,
temp7 = #record.temp7:VARCHAR#,
temp8 = #record.temp8:VARCHAR#,
temp9 = #record.temp9:VARCHAR#,
bz = #record.bz:INTEGER#,
tjsj = #record.tjsj:TIMESTAMP#,
scsj = #record.scsj:TIMESTAMP#
update sj_wbhj
lqid = #lqid:INTEGER#
wbwd = #wbwd:DECIMAL#
wbsd = #wbsd:DECIMAL#
temp1 = #temp1:VARCHAR#
temp2 = #temp2:VARCHAR#
temp3 = #temp3:VARCHAR#
temp4 = #temp4:VARCHAR#
temp5 = #temp5:VARCHAR#
temp6 = #temp6:VARCHAR#
temp7 = #temp7:VARCHAR#
temp8 = #temp8:VARCHAR#
temp9 = #temp9:VARCHAR#
bz = #bz:INTEGER#
tjsj = #tjsj:TIMESTAMP#
scsj = #scsj:TIMESTAMP#
where id = #id:INTEGER#
update sj_wbhj
set lqid = #lqid:INTEGER#,
wbwd = #wbwd:DECIMAL#,
wbsd = #wbsd:DECIMAL#,
temp1 = #temp1:VARCHAR#,
temp2 = #temp2:VARCHAR#,
temp3 = #temp3:VARCHAR#,
temp4 = #temp4:VARCHAR#,
temp5 = #temp5:VARCHAR#,
temp6 = #temp6:VARCHAR#,
temp7 = #temp7:VARCHAR#,
temp8 = #temp8:VARCHAR#,
temp9 = #temp9:VARCHAR#,
bz = #bz:INTEGER#,
tjsj = #tjsj:TIMESTAMP#,
scsj = #scsj:TIMESTAMP#
where id = #id:INTEGER#
INSERT INTO sj_wbhj (lqid,wbwd,wbsd,tjsj,scsj) VALUES
(#lqid:INTEGER#,#wbwd:DECIMAL#,#wbsd:DECIMAL#,#tjsj:TIMESTAMP#,#scsj:TIMESTAMP#)