freepeople性欧美熟妇, 色戒完整版无删减158分钟hd, 无码精品国产vα在线观看DVD, 丰满少妇伦精品无码专区在线观看,艾栗栗与纹身男宾馆3p50分钟,国产AV片在线观看,黑人与美女高潮,18岁女RAPPERDISSSUBS,国产手机在机看影片

正文內(nèi)容

java-web課程設(shè)計(jì)---客戶管理系統(tǒng)(編輯修改稿)

2024-08-31 22:54 本頁(yè)面
 

【文章內(nèi)容簡(jiǎn)介】 public static Hashtable pageInfos = new Hashtable()。 //數(shù)據(jù)庫(kù)相關(guān)常量 public static String DB_DRIVER_CLASSNAME = 。 public static String DB_CONN_STRING = jdbc:mysql://localhost/ch08?user=rootamp。password=123。 //初始化 public static void init() { (S002,目錄頁(yè)面)。 (S110,客戶資料 客戶資料錄入頁(yè)面)。 (S120,客戶資料 客戶資料修改一覽頁(yè)面)。 (S121,客戶資料 客戶資料修改詳細(xì)頁(yè)面)。 (S130,客戶資料 客戶資料刪除頁(yè)面)。 (S210,客戶來(lái)電 快速反應(yīng)條件輸入頁(yè)面)。 (S211,客戶來(lái)電 快速反應(yīng)結(jié)果一覽頁(yè)面)。 (S220,客戶來(lái)電 客戶來(lái)電信息添加頁(yè)面)。 (S230,客戶來(lái)電 客戶來(lái)電信息查找頁(yè)面)。 (S231,客戶來(lái)電 客戶來(lái)電信息一覽頁(yè)面)。 (S232,客戶來(lái)電 客戶來(lái)電信息詳細(xì)頁(yè)面)。 (S310,客戶回訪 客戶回訪信息添加頁(yè)面)。 (S320,客戶回訪 客戶回訪信息查找頁(yè)面)。 (S321,客戶回訪 客戶回訪信息一覽頁(yè)面)。 (S322,客戶回訪 客戶回訪信息詳細(xì)頁(yè)面)。 (S410,客戶重要信息提醒頁(yè)面)。 } //獲得頁(yè)面信息 public static String getPageInfo( String sPageId ) { return (String)(sPageId)。 } 為四個(gè)模塊設(shè)計(jì)不同顏色風(fēng)格的CSS代碼.tr_head1 {color: black。 backgroundcolor:aaccaa。}.tr_content1 {color: black。 backgroundcolor:eeffee。 cursor:hand。}.tr_head2 {color: black。 backgroundcolor:ccaaaa。}.tr_content2 {color: black。 backgroundcolor:ffeeee。 cursor:hand。}.tr_head3 {color: black。 backgroundcolor:aaaacc。}.tr_content3 {color: black。 backgroundcolor:eeeeff。 cursor:hand。}.tr_head4 {color: black。 backgroundcolor:ccccaa。}.tr_content4 {color: black。 backgroundcolor:ffffee。 cursor:hand。}客戶資料維護(hù)模塊(1) 客戶資料錄入 單擊導(dǎo)航頁(yè)面鏈接進(jìn)入客戶資料錄入頁(yè)面。注意兩個(gè)方面:一是頁(yè)面對(duì)應(yīng)的顯示元素和輸入元素的顏色和當(dāng)前模塊的顏色想吻合,而是在用戶輸入信息并單擊“登錄”按鈕時(shí),將客戶信息登入數(shù)據(jù)庫(kù),然后頁(yè)面直接轉(zhuǎn)入修改一覽。頁(yè)面控制類(lèi)ACustomerAdd:public class ACustomerAdd{ //追加一個(gè)客戶 public void doRegister( Hashtable inputData, Hashtable outputData, HttpSession mySession ) throws Exception { //首先獲得要追加的客戶詳細(xì)信息 String sRealname = (String)(realname)。 String sSex = (String)(sex)。 String sBirthday = (String)(birthday)。 String sPhone = (String)(phone)。 String sCellphone = (String)(cellphone)。 String sAddress = (String)(address)。 String sStartDate = (String)(startDate)。 String sMemo = (String)(memo)。 //生成一個(gè)Customer對(duì)象以調(diào)用 Customer customer = new Customer()。 ( sRealname )。 ( sSex )。 ( sBirthday )。 ( sPhone )。 ( sCellphone )。 ( sAddress )。 ( sStartDate )。 ( sMemo )。 //調(diào)用對(duì)應(yīng)的logic類(lèi) LCustomer lCustomer = (LCustomer)()。 //添加對(duì)應(yīng)的記錄 ( customer )。 //然后重新檢索,并將頁(yè)面遷移到一覽頁(yè)面 Vector vCustomers = ()。 ( pageId, )。 //往值域中設(shè)置當(dāng)前位置信息 (customers, vCustomers )。 ( pageIndex, new Integer(0) )。 return。 } }效果圖:(2) 客戶資料修改public class ACustomerModify{ //修改一個(gè)客戶信息 public void doRegister( Hashtable inputData, Hashtable outputData, HttpSession mySession ) throws Exception { //首先獲得要修改的客戶詳細(xì)信息 String sCustomerId = (String)(customerId)。 String sRealname = (String)(realname)。 String sSex = (String)(sex)。 String sBirthday = (String)(birthday)。 String sPhone = (String)(phone)。 String sCellphone = (String)(cellphone)。 String sAddress = (String)(address)。 String sStartDate = (String)(startDate)。 String sMemo = (String)(memo)。 //生成一個(gè)Customer對(duì)象以調(diào)用 Customer customer = new Customer()。 ( sCustomerId )。 ( sRealname )。 ( sSex )。 ( sBirthday )。 ( sPhone )。 ( sCellphone )。 ( sAddress )。 ( sStartDate )。 ( sMemo )。 //調(diào)用對(duì)應(yīng)的logic類(lèi) LCustomer lCustomer = (LCustomer)()。 //添加對(duì)應(yīng)的記錄 ( customer )。 //然后重新檢索,并將頁(yè)面遷移到一覽頁(yè)面 Vector vCustomers = ()。 ( pageId, )。 //往值域中設(shè)置當(dāng)前位置信息 (customers, vCustomers )。 ( pageIndex, new Integer(0) )。 return。 } }(3) 客戶資料刪除public class ACustomerDelete{ //到首頁(yè) public void doFirst( Hashtable inputData, Hashtable outputData,
點(diǎn)擊復(fù)制文檔內(nèi)容
規(guī)章制度相關(guān)推薦
文庫(kù)吧 www.dybbs8.com
備案圖片鄂ICP備17016276號(hào)-1