Package com.founder.fix.fixflow.core.impl.db

Examples of com.founder.fix.fixflow.core.impl.db.SqlCommand.execute()


  public void execute(ExecutionContext executionContext) throws Exception {
   

    if(sqlText!=null){
      SqlCommand sqlCommand=new SqlCommand(Context.getDbConnection());
      sqlCommand.execute(sqlText.toString());
    }
    else {
      throw new FixFlowException("执行数据库语句不正确!");
    }
   
View Full Code Here


   
   
   
    String sqlText="UPDATE "+Fix_BizName+" SET  FIX_PROCESSSTATE='"+statusValue+"' WHERE "+Fix_BizKeyFile+"='"+executionContext.getBizKey()+"'";
   
    sqlCommand.execute(sqlText);

  }

  public void  setStatusValue(java.lang.String statusValue){
    this.statusValue = statusValue;
View Full Code Here

   
    String processInstId=executionContext.getProcessInstance().getId();
   
    String sqlText="UPDATE "+Fix_BizName+" SET  FIX_PROCESSINSTANCE_ID='"+processInstId+"' WHERE "+Fix_BizKeyFile+"='"+executionContext.getBizKey()+"'";
   
    sqlCommand.execute(sqlText);

  }

}
View Full Code Here

  public void execute(ExecutionContext executionContext) throws Exception {
   

    if(sqlText!=null){
      SqlCommand sqlCommand=new SqlCommand(Context.getDbConnection());
      sqlCommand.execute(sqlText.toString());
    }
    else {
      throw new FixFlowException("执行数据库语句不正确!");
    }
   
View Full Code Here

      }
     
      stringBuffer1.append("'");
     
      SqlCommand sqlCommand1=new SqlCommand(Context.getDbConnection());
      sqlCommand1.execute(stringBuffer1.toString());
    }
   
    if(je < Float.parseFloat(customedu) && detailzq >= Integer.parseInt(zhangqi) && enough == false) {
      flag1 = true;
    }
View Full Code Here

    }
    if(Fix_BizKeyFile==null||Fix_BizKeyFile.equals("")){
      throw new FixFlowException("数据变量${Fix_BizKeyFile}为空");
    }
    String sqlText="UPDATE "+Fix_BizName+" SET  FIX_PROCESSSTATE='"+statusValue+"' WHERE "+Fix_BizKeyFile+"='"+executionContext.getBizKey()+"'";
    sqlCommand.execute(sqlText);
  }

  public void  setStatusValue(java.lang.String statusValue){
    this.statusValue = statusValue;
  }
View Full Code Here

    if(Fix_BizKeyFile==null||Fix_BizKeyFile.equals("")){
      throw new FixFlowException("数据变量${Fix_BizKeyFile}为空");
    }
    String processInstId=executionContext.getProcessInstance().getId();
    String sqlText="UPDATE "+Fix_BizName+" SET  FIX_PROCESSINSTANCE_ID='"+processInstId+"' WHERE "+Fix_BizKeyFile+"='"+executionContext.getBizKey()+"'";
    sqlCommand.execute(sqlText);
  }

}
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.