select #{item.ruexecresultid} as ru_execresultid, #{item.ruexecresultname} as ru_execresultname, sysdate as createdate, sysdate as updatedate, #{item.ruleid} as ruleid, #{item.rulename} as rulename,#{item.retvalue} as retvalue, #{item.keyvaluefield} as keyvaluefield, #{item.dimfield} as dimfield,
#{item.metricfield} as metricfield,#{item.domainsfield} as domainsfield,#{item.timefield} as timefield, #{item.ext1field} as ext1field,#{item.ext2field} as ext2field,#{item.businesscat} as businesscat from dual
</foreach>
) B ON (A.ru_execresultid = B.ru_execresultid) WHEN MATCHED THEN
UPDATE SET A.ru_execresultname=B.ru_execresultname, A.updatedate=B.updatedate, A.ruleid=B.ruleid, A.rulename=B.rulename, A.retvalue=B.retvalue, A.keyvaluefield=B.keyvaluefield,