(
$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 xx_gttsjl
where id = #id:INTEGER#
delete from xx_gttsjl
insert into xx_gttsjl (id, xxid, taskid, tsfs, fsxxmc, zxyhtotal, lxyhtotal, msgtotal,
msgprocess, clicknum, content, fssj)
values (#id:INTEGER#, #xxid:INTEGER#, #taskid:VARCHAR#, #tsfs:INTEGER#, #fsxxmc:VARCHAR#,
#zxyhtotal:INTEGER#, #lxyhtotal:INTEGER#, #msgtotal:INTEGER#, #msgprocess:INTEGER#,
#clicknum:INTEGER#, #content:VARCHAR#, #fssj:TIMESTAMP#)
insert into xx_gttsjl
id
xxid
taskid
tsfs
fsxxmc
zxyhtotal
lxyhtotal
msgtotal
msgprocess
clicknum
content
fssj
)
values
#id:INTEGER#
#xxid:INTEGER#
#taskid:VARCHAR#
#tsfs:INTEGER#
#fsxxmc:VARCHAR#
#zxyhtotal:INTEGER#
#lxyhtotal:INTEGER#
#msgtotal:INTEGER#
#msgprocess:INTEGER#
#clicknum:INTEGER#
#content:VARCHAR#
#fssj:TIMESTAMP#
)
update xx_gttsjl
id = #record.id:INTEGER#
xxid = #record.xxid:INTEGER#
taskid = #record.taskid:VARCHAR#
tsfs = #record.tsfs:INTEGER#
fsxxmc = #record.fsxxmc:VARCHAR#
zxyhtotal = #record.zxyhtotal:INTEGER#
lxyhtotal = #record.lxyhtotal:INTEGER#
msgtotal = #record.msgtotal:INTEGER#
msgprocess = #record.msgprocess:INTEGER#
clicknum = #record.clicknum:INTEGER#
content = #record.content:VARCHAR#
fssj = #record.fssj:TIMESTAMP#
update xx_gttsjl
set id = #record.id:INTEGER#,
xxid = #record.xxid:INTEGER#,
taskid = #record.taskid:VARCHAR#,
tsfs = #record.tsfs:INTEGER#,
fsxxmc = #record.fsxxmc:VARCHAR#,
zxyhtotal = #record.zxyhtotal:INTEGER#,
lxyhtotal = #record.lxyhtotal:INTEGER#,
msgtotal = #record.msgtotal:INTEGER#,
msgprocess = #record.msgprocess:INTEGER#,
clicknum = #record.clicknum:INTEGER#,
content = #record.content:VARCHAR#,
fssj = #record.fssj:TIMESTAMP#
update xx_gttsjl
xxid = #xxid:INTEGER#
taskid = #taskid:VARCHAR#
tsfs = #tsfs:INTEGER#
fsxxmc = #fsxxmc:VARCHAR#
zxyhtotal = #zxyhtotal:INTEGER#
lxyhtotal = #lxyhtotal:INTEGER#
msgtotal = #msgtotal:INTEGER#
msgprocess = #msgprocess:INTEGER#
clicknum = #clicknum:INTEGER#
content = #content:VARCHAR#
fssj = #fssj:TIMESTAMP#
where id = #id:INTEGER#
update xx_gttsjl
set xxid = #xxid:INTEGER#,
taskid = #taskid:VARCHAR#,
tsfs = #tsfs:INTEGER#,
fsxxmc = #fsxxmc:VARCHAR#,
zxyhtotal = #zxyhtotal:INTEGER#,
lxyhtotal = #lxyhtotal:INTEGER#,
msgtotal = #msgtotal:INTEGER#,
msgprocess = #msgprocess:INTEGER#,
clicknum = #clicknum:INTEGER#,
content = #content:VARCHAR#,
fssj = #fssj:TIMESTAMP#
where id = #id:INTEGER#
update xx_gttsjl set clicknum = case when clicknum is null then 0 else clicknum end + 1 where xxid = #xxid#