@@ -314,4 +387,36 @@ public class ExecResultRepository {
returnmapper.map(result).all();
}
privatePreparedStatementdeleteStatement=null;
publicPreparedStatementgetDeleteStatement(){
if(deleteStatement==null){
deleteStatement=session.prepare("delete from ru_execresult where ruleid = ? and retvalue = ? and dimfield = ? and timefield=? and domainsfield=? and keyvaluefield=?");
}
returndeleteStatement;
}
privatePreparedStatementdeleteStatement2=null;
publicPreparedStatementgetDeleteStatement2(){
if(deleteStatement2==null){
deleteStatement2=session.prepare("delete from ru_execresult2 where ruleid = ? and keyvaluefield=? and dimfield = ? and domainsfield=? and timefield=? ");
}
returndeleteStatement2;
}
privatePreparedStatementinsertStatement=null;
publicPreparedStatementgetInsertStatement(){
if(insertStatement==null){
insertStatement=session.prepare("insert into ru_execresult(ruleid, retvalue, dimfield, timefield, domainsfield, keyvaluefield, "+