Package com.vsked.bean

Examples of com.vsked.bean.TblChannelInfo


            pt = conn.prepareStatement(sql);
            pt.setString(1, inAgentId);
            rs = pt.executeQuery();
            if (rs.next()) {
              if(tblChannelInfo==null){
                tblChannelInfo=new TblChannelInfo();
                tblChannelInfo.setId(rs.getInt("id"));
                tblChannelInfo.setAgentId(rs.getString("agent_id"));
                tblChannelInfo.setChannelId(rs.getString("channel_id"));
                tblChannelInfo.setChannelName(rs.getString("channel_name"));
                tblChannelInfo.setChannelSort(rs.getString("channel_sort"));
View Full Code Here


            rs = pt.executeQuery();
            while(rs.next()) {
              if(tblChannelInfoList==null){
                tblChannelInfoList=new ArrayList<TblChannelInfo>();
              }
              TblChannelInfo tblChannelInfo=new TblChannelInfo();
            tblChannelInfo.setId(rs.getInt("id"));
            tblChannelInfo.setAgentId(rs.getString("agent_id"));
            tblChannelInfo.setChannelId(rs.getString("channel_id"));
            tblChannelInfo.setChannelName(rs.getString("channel_name"));
            tblChannelInfo.setChannelSort(rs.getString("channel_sort"));
            tblChannelInfo.setBelongDistrict(rs.getString("belong_district"));
            tblChannelInfo.setBelongArea(rs.getString("belong_area"));
            tblChannelInfo.setAgentsPhone(rs.getString("agents_phone"));
            tblChannelInfo.setEnterTime(rs.getString("enter_time"));
            tblChannelInfo.setRemarks(rs.getString("remarks"));
            tblChannelInfoList.add(tblChannelInfo);
            }

        } catch (Exception e) {
            e.printStackTrace();
View Full Code Here

            rs = pt.executeQuery();
            while(rs.next()) {
              if(tblChannelInfoList==null){
                tblChannelInfoList=new ArrayList<TblChannelInfo>();
              }
              TblChannelInfo tblChannelInfo=new TblChannelInfo();
            tblChannelInfo.setId(rs.getInt("id"));
            tblChannelInfo.setAgentId(rs.getString("agent_id"));
            tblChannelInfo.setChannelId(rs.getString("channel_id"));
            tblChannelInfo.setChannelName(rs.getString("channel_name"));
            tblChannelInfo.setChannelSort(rs.getString("channel_sort"));
            tblChannelInfo.setBelongDistrict(rs.getString("belong_district"));
            tblChannelInfo.setBelongArea(rs.getString("belong_area"));
            tblChannelInfo.setAgentsPhone(rs.getString("agents_phone"));
            tblChannelInfo.setEnterTime(rs.getString("enter_time"));
            tblChannelInfo.setRemarks(rs.getString("remarks"));
            tblChannelInfoList.add(tblChannelInfo);
            }


        } catch (Exception e) {
View Full Code Here

              String channelName=s.split(",")[2];
              String channelType=s.split(",")[3];
              String county=s.split(",")[4];
              String district=s.split(",")[5];
              String phoneNumber=s.split(",")[6];         
              st=new TblChannelInfoDAO().add(st,new TblChannelInfo(agentId,channelId,channelName,channelType,county,district,phoneNumber));
              allCount++;
              }//end if s is null           
           
          }//end for rowIndex
         
View Full Code Here

TOP

Related Classes of com.vsked.bean.TblChannelInfo

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.