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

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


        objectParam.put("MAIL_STATUS", MailStatus.COMPLETE.toString());

        // 构建Where查询参数
        Object[] objectParamWhere = { StringUtil.getString(mapData.get("MAIL_ID")) };

        sqlCommand.update("FIXFLOW_MAIL", objectParam, " MAIL_ID=?", objectParamWhere);
       
   
        // 异步发送
        mailUtil.send();
View Full Code Here


          objectParam.put("FAILURE_REASON", e.getMessage());

          // 构建Where查询参数
          Object[] objectParamWhere = { StringUtil.getString(mapData.get("MAIL_ID")) };

          sqlCommand.update("FIXFLOW_MAIL", objectParam, " MAIL_ID=?", objectParamWhere);
        } catch (Exception e2) {
          e.printStackTrace();
          e2.printStackTrace();
          //throw new FixFlowException("邮件发送失败",e2);
        }
View Full Code Here

          objectParam.put("SEND_TIME", new Date());

          // 构建Where查询参数
          Object[] objectParamWhere = { StringUtil.getString(mapData.get("MAIL_ID")) };

          sqlCommand.update("FIXFLOW_MAIL", objectParam, " MAIL_ID=?", objectParamWhere);
        } catch (Exception e) {
          e.printStackTrace();
          //throw new FixFlowException("邮件发送失败",e);
        }
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.