Package com.vsked.bean

Examples of com.vsked.bean.TbMMResult


      rs = pt.executeQuery();
      while (rs.next()) {
        if (tbMMResultList == null) {
          tbMMResultList = new ArrayList<TbMMResult>();
        }
        TbMMResult tmr = new TbMMResult();
        tmr.setID(rs.getInt("ID"));
        tmr.setSM_Type(rs.getInt("SM_Type"));
        tmr.setMMSID(rs.getInt("MMSID"));   
        tmr.setVASID(rs.getString("VASID"));
        tmr.setServiceCode(rs.getString("ServiceCode"));
        tmr.setSenderAddress(rs.getString("SenderAddress"));
        tmr.setChargedPartyId(rs.getString("ChargedPartyID"));
        tmr.setSendTo(rs.getString("SendTo"));
        tmr.setSubTime(rs.getString("SubTime"));
        tmr.setSendTime(rs.getString("SendTime"));
        tmr.setNeedReport(rs.getInt("NeedReport"));
        tmr.setSubject(rs.getString("Subject"));
        tmr.setFeeType(rs.getString("FeeType"));
        tmr.setSentTime(rs.getString("SendTime"));
        tmr.setNeedReport(rs.getInt("NeedReport"));
        tmr.setSubject(rs.getString("Subject"));
        tmr.setFeeType(rs.getString("FeeType"));
        tmr.setFeeCode(rs.getString("FeeCode"));
        tmr.setTransactionID(rs.getString("TransactionID"));
        tmr.setSentTime(rs.getString("SentTime"));
        tmr.setValidTime(rs.getString("ValidTime"));
        tmr.setMsgFmt(rs.getInt("MsgFmt"));
        tmr.setMsg_Status(rs.getString("Msg_Status"));
        tmr.setTryTimes(rs.getInt("TryTimes"));
        tmr.setRecv_Status(rs.getString("Recv_Status"));
        tmr.setRecv_Time(rs.getString("Recv_Time"));
        tmr.setMMContent(rs.getString("MMContent"));
        tmr.setCreatorID(rs.getString("CreatorID"));
        tmr.setReserve1(rs.getInt("Reserve1"));
        tmr.setReserve2(rs.getString("Reserve2"));       
        tbMMResultList.add(tmr);

      }

    } catch (Exception e) {
View Full Code Here


    }//end if smList
    List<TbMMResult> mmList=new SPDAO().getTodayTbMMResult();
   
    if(mmList!=null){
      for(int i=0;i<mmList.size();i++){
        TbMMResult mm=mmList.get(i);
        MSGOutBox mob=new MSGOutBox();
        mob.setExpressLevel(Integer.parseInt(strArray[9].trim()));
          mob.setSender(strArray[10].trim());
          mob.setReceiver(mm.getSendTo().trim());
        mob.setMsgType(1);
        mob.setMsgTitle(mm.getSubject());
        String contents=SPDAO.moveFileToFolder(mm.getMMContent(),mm.getSubject().trim());
        mob.setMMSContentLocation(contents.replace("/", "\\"));
        mob.setSendTime(mm.getSendTime());
        mob.setCommPort(Integer.parseInt(strArray[8].trim()));
        if(!new MSGOutBoxDAO().add(mob))
        {
          flag=false;
        }else{
          new SPDAO().updateTodayTbMMResult(mm.getID());
        }
      }//end for i
     
    }//end if mmList
   
View Full Code Here

      rs = pt.executeQuery();
      while (rs.next()) {
        if (tbMMResultList == null) {
          tbMMResultList = new ArrayList<TbMMResult>();
        }
        TbMMResult tmr = new TbMMResult();
        tmr.setID(rs.getInt("ID"));
        tmr.setSM_Type(rs.getInt("SM_Type"));
        tmr.setMMSID(rs.getInt("MMSID"));   
        tmr.setVASID(rs.getString("VASID"));
        tmr.setServiceCode(rs.getString("ServiceCode"));
        tmr.setSenderAddress(rs.getString("SenderAddress"));
        tmr.setChargedPartyId(rs.getString("ChargedPartyID"));
        tmr.setSendTo(rs.getString("SendTo"));
        tmr.setSubTime(rs.getString("SubTime"));
        tmr.setSendTime(rs.getString("SendTime"));
        tmr.setNeedReport(rs.getInt("NeedReport"));
        tmr.setSubject(rs.getString("Subject"));
        tmr.setFeeType(rs.getString("FeeType"));
        tmr.setSentTime(rs.getString("SendTime"));
        tmr.setNeedReport(rs.getInt("NeedReport"));
        tmr.setSubject(rs.getString("Subject"));
        tmr.setFeeType(rs.getString("FeeType"));
        tmr.setFeeCode(rs.getString("FeeCode"));
        tmr.setTransactionID(rs.getString("TransactionID"));
        tmr.setSentTime(rs.getString("SentTime"));
        tmr.setValidTime(rs.getString("ValidTime"));
        tmr.setMsgFmt(rs.getInt("MsgFmt"));
        tmr.setMsg_Status(rs.getString("Msg_Status"));
        tmr.setTryTimes(rs.getInt("TryTimes"));
        tmr.setRecv_Status(rs.getString("Recv_Status"));
        tmr.setRecv_Time(rs.getString("Recv_Time"));
        tmr.setMMContent(rs.getString("MMContent"));
        tmr.setCreatorID(rs.getString("CreatorID"));
        tmr.setReserve1(rs.getInt("Reserve1"));
        tmr.setReserve2(rs.getString("Reserve2"));       
        tbMMResultList.add(tmr);

      }

    } catch (Exception e) {
View Full Code Here

    }//end if smList
    List<TbMMResult> mmList=new SPDAO().getTodayTbMMResult();
   
    if(mmList!=null){
      for(int i=0;i<mmList.size();i++){
        TbMMResult mm=mmList.get(i);
        MSGOutBox mob=new MSGOutBox();
        mob.setExpressLevel(Integer.parseInt(strArray[9].trim()));
          mob.setSender(strArray[10].trim());
          mob.setReceiver(mm.getSendTo().trim());
        mob.setMsgType(1);
        mob.setMsgTitle(mm.getSubject());
        String contents=SPDAO.moveFileToFolder(mm.getMMContent(),mm.getSubject().trim());
        mob.setMMSContentLocation(contents.replace("/", "\\"));
        mob.setSendTime(mm.getSendTime());
        mob.setCommPort(Integer.parseInt(strArray[8].trim()));
        if(!new MSGOutBoxDAO().add(mob))
        {
          flag=false;
        }else{
          new SPDAO().updateTodayTbMMResult(mm.getID());
        }
      }//end for i
     
    }//end if mmList
   
View Full Code Here

TOP

Related Classes of com.vsked.bean.TbMMResult

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.