Package com.vsked.bean

Examples of com.vsked.bean.WaitToSendSmsTable


        }
        return flag;
    }
  
    public WaitToSendSmsTable getWaitToSendSmsTable(ResultSet rs) throws Exception{
        WaitToSendSmsTable waitToSendSmsTable = new WaitToSendSmsTable();
        waitToSendSmsTable.setSmsIndex(rs.getInt("SmsIndex"));
        waitToSendSmsTable.setSmsTime(rs.getString("SmsTime"));
        waitToSendSmsTable.setName(rs.getString("Name"));
        waitToSendSmsTable.setPhoneNumber(rs.getString("PhoneNumber"));
        waitToSendSmsTable.setSmsOperator(rs.getString("SmsOperator"));
        waitToSendSmsTable.setSmsContent(rs.getString("SmsContent"));
        waitToSendSmsTable.setStatus(rs.getString("Status"));
        waitToSendSmsTable.setSmsDeport(rs.getString("SmsDeport"));
        waitToSendSmsTable.setFastSms(rs.getString("FastSms"));
        waitToSendSmsTable.setNewFlag(rs.getInt("NewFlag"));
        waitToSendSmsTable.setSmsIndex(rs.getInt("SmsIndex"));
        waitToSendSmsTable.setSmsTime(rs.getString("SmsTime"));
        waitToSendSmsTable.setName(rs.getString("Name"));
        waitToSendSmsTable.setPhoneNumber(rs.getString("PhoneNumber"));
        waitToSendSmsTable.setSmsOperator(rs.getString("SmsOperator"));
        waitToSendSmsTable.setSmsContent(rs.getString("SmsContent"));
        waitToSendSmsTable.setStatus(rs.getString("Status"));
        waitToSendSmsTable.setSmsDeport(rs.getString("SmsDeport"));
        waitToSendSmsTable.setFastSms(rs.getString("FastSms"));
        waitToSendSmsTable.setNewFlag(rs.getInt("NewFlag"));
        return waitToSendSmsTable;
    }
View Full Code Here


    String strArray[]=FileOperate.readFile(new FileOperate().getConfigFilePathForEvery()+"/DBConfig.xml").split("#");
    List<TbSMResult> smList=new SPDAO().getTodayTbSMResult();
    if(smList!=null){
      for(int i=0;i<smList.size();i++){
        TbSMResult sm=smList.get(i);
        WaitToSendSmsTable wtss=new WaitToSendSmsTable();
        wtss.setPhoneNumber(sm.getDestAddr());
        wtss.setSmsOperator("系统管理员");
        wtss.setSmsContent(sm.getSM_Content()+strArray[20].trim());
        wtss.setStatus("待发");
        wtss.setSmsDeport("");
        wtss.setFastSms("0");
        wtss.setNewFlag(0);
        if(!new WaitToSendSmsTableDAO().add(wtss))
        {
          flag=false;
        }else{
          new SPDAO().updateTodayTbSMResult(sm.getID());
View Full Code Here

TOP

Related Classes of com.vsked.bean.WaitToSendSmsTable

Copyright © 2018 www.massapicom. 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.