Package com.vsked.bean

Examples of com.vsked.bean.TbSetMsg


            conn = ConnectDB.getSqlServerConnection();
            sql = "select * from tb_setmsg";
            pt = conn.prepareStatement(sql);
            rs = pt.executeQuery();
            if (rs.next()) {
              tbSetMsg=new TbSetMsg();
              tbSetMsg.setMsgId(rs.getInt("msg_id"));
              tbSetMsg.setIsEnable(rs.getInt("is_enable"));
              tbSetMsg.setMsgMemo(rs.getString("msg_memo"));
             
            }
View Full Code Here


              }
             
             
            }else{
              //未知指令判定
              TbSetMsg tsm=new TbSetMsgDAO().getTbSetMsg();
              if(tsm.getIsEnable()==0){
                 Connection conne=ConnectDB.getSqlServerConnection();
                 Statement ste=conne.createStatement();
                 sendSmsStr=tsm.getMsgMemo();
                 ste=new TblSmsSendDAO().add(ste,new TblSmsSend(tr.getRecPhone(),sendSmsStr,2,"未知指令"));
                 ste.executeBatch();
                 ste.close();
                 conne.close();
                 isNewComm=true;
View Full Code Here

TOP

Related Classes of com.vsked.bean.TbSetMsg

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.