【正文】
t be sure. It was far from Amber, somewhere where the shadows go mad. Farther than I like to go. Star k, w ith shifting colors. Fiery. Day without a sun in the sky. Rocks that glided like sailboats across the land. Brand there in some sort of to wera small point of stability in that f lowing scene. I remembered it, all right. A nd I remembered the presence coiled about the base of tha t tower. Br illiant. Prismatic. Some sort of watchthing, it seemedtoo bright for me to make out its outline, to guess its proper size. Then it all just went away. Instant off. And there I was, sta。t make out. Where? I a sked. He shook his head at that. Can39。m here, I said. What39。s gliding and not much sleep the night before. I decided later that it must be our mental quir k associated w ith the Trumps that made me see it that way when someone was trying to reach me and I had cards in my handany cards. Ordinarily, of course, we get the message empty handed, unless we are doing the calling. It could have been that my subconsciouswhich was kind of footloose at the timejust seized on the available props out of habit Later, though, I had cause to wonder. Really, I just don39。m also luc ky. Eric was neither. The trouble with him was that he was good at so many things he wouldn39。t cheat at. I ta ke my card playing seriously. I39。d go find some action, women, or cards, usually. A nd that was it for the rest of the night. Damn Eric, anywayl That reminds me again . . . He once accused me of cheating at cards, did you know that? And that39。 特此聲明! 作者簽名: 2021 年 06 月 日 第 27 頁 共 26 頁 Anyway, I was here in Amber some years ago. Not doing much of anything. Just visiting and being a nuisance. Dad was still around, and when I noticed that he was getting into one of his grumpy moods, I decided it was time to take a walk. A long one. I had often noticed that his fondness for me tended to increase as an inver se function of my proximity. He gave me a fancy riding crop for a goingaway presentto hasten the process of affection, I suppose. Still, it was a very nice cropsilverchased, beautifully tooledand I made good use of it. I had decided to go looking for an assemblage of all my simple pleasures in one small nook of Shadow. It was a long rideI will not bore you with the detailsand it was pretty far from Amber, as such things go. This time, I was not looking for a place where I would be especially important. That can get either boring or difficult fairly quickly, depending on how responsible you want to be. I wanted to be an irresponsible nonentity and just enjoy myself. Texorami was a wide open port city, with sultry days and long nights, lots of good music, gambling around the cloc k, duels every morning and inbetween mayhem for those who couldn39。 ( 5)學(xué)??梢怨紝W(xué)位論文的全部或部分內(nèi)容(保密學(xué)位論文在解密后遵守此規(guī)定)。 ( 3)學(xué)校可以學(xué)術(shù)交流為目的復(fù)制、贈(zèng)送和交換學(xué)位論文。 關(guān)于學(xué)位論文使用權(quán)和研究成果知識(shí)產(chǎn)權(quán)的說明: 本人完全了解成都信息工程學(xué)院有關(guān)保管使用學(xué)位論文的規(guī)定,其中包括: ( 1)學(xué)校有權(quán)保管并向有關(guān)部門遞交學(xué)位論文的原件與復(fù)印件。文中除了特別加以標(biāo)注地方外,不包含他人已經(jīng)發(fā)表或撰寫過的研究成果,也不包含為獲得成都信息工程學(xué)院或其他教學(xué)機(jī)構(gòu)的學(xué)位或證書而使用過的材料。 第 25 頁 共 26 頁 致 謝 本文是在羅代升老師的熱情關(guān)心和指導(dǎo)下完成的,他淵博的知識(shí)和嚴(yán)謹(jǐn)?shù)闹螌W(xué)作風(fēng)使我受益匪淺,對(duì)順利完成本課題起到了極大的作用。 [6] John . Visual C++MFC編程實(shí)例 [M].北京:機(jī)械工業(yè)出版社 ,2021。 [4] 張?jiān)?. Visual C++網(wǎng)絡(luò)程序設(shè)計(jì)實(shí)例詳解 [M].北京:人民郵電出版社, 2021。 [2] 方睿,吳四九 .網(wǎng)絡(luò)數(shù)據(jù)庫原理及應(yīng)用 [M].成都:四川大學(xué)出版社 ,2021。 相信這次設(shè)計(jì)的完成對(duì)我今后的工作有很大的幫助。通過設(shè)計(jì),我認(rèn)識(shí)到了考勤管理系統(tǒng)的重要性,加深了對(duì)公司考勤管理流程的了解。系統(tǒng)重點(diǎn)設(shè)計(jì)了企事業(yè)單位員工的出勤管理和用戶操作的界面,從而保證企事業(yè)單位的正常運(yùn)行,是人力資源的重要組成部分。 結(jié) 論 考勤 管理系統(tǒng)使用 的 是 Visual C++ 和 SQL Server2021 開發(fā)的。為了防止因?yàn)楸?UserInfo 中的 EmpId 字段找不到表 EmpInfo 中對(duì)應(yīng)的 EmpId 字段值而造成用戶記錄無法顯示問題,在表之間連接關(guān)系時(shí)使用了 LEFT JION 關(guān)鍵字,即只要是 UserInfo 中存在的記錄都將出現(xiàn)在結(jié)果集中,無論它在其他兩個(gè)表中是否存在對(duì)應(yīng)的記錄。 CDialog::OnOK()。 (m_user)。 return。 UpdateData(FALSE)。 (m_user)。 return。 UpdateData(FALSE)。 第 23 頁 共 26 頁 return。} if (m_new == ) { MessageBox(請(qǐng)輸入新密碼 )。 GetDlgItem(IDC_OLD_EDIT)SetFocus()?!?} void CPasswdDlg::OnOK() { //將對(duì)話框中編輯框的數(shù)據(jù)讀取到成員變量中 UpdateData(TRUE)。 //刷新 ADO Data 控件的記錄源 (cSource)。普通用戶 39。系統(tǒng)管理員 39。 第 22 頁 共 26 頁 圖 13 用戶管理框圖 主要代碼 如下: void CUserManDlg::RefreshData() { UpdateData(TRUE)。 這個(gè)模塊 包括了用戶管理和密碼修改兩個(gè)功能。從 SELECT 可以返回表 CheckInfo 中當(dāng)日事假,病假和曠工的記錄。? } 程序中使用了嵌套查詢語句,即在一個(gè) SELECT 語句中嵌套使用了另外一個(gè)SELECT 語句。 (cSource)。 + cTime + 39。是 39。是 39。是 39。 //根據(jù)部門編號(hào)設(shè)置 SELECT 語句 cTime = (%Y%m%d)。 第 21 頁 共 26 頁 圖 12 當(dāng)日缺勤人員圖 主要代碼 如下 : void CAbsenceDlg::RefreshData() { UpdateData(TRUE)。? } 程序執(zhí)行 SELECT 語句,從表 EmpInfo 和其他視圖中讀取選擇月份中各員工的考勤信息, ISNULL()函數(shù)是 SQL Server 的內(nèi)部函數(shù),它的功能是當(dāng)?shù)谝粋€(gè)參數(shù)為 NULL 時(shí),將第二個(gè)參數(shù)作為結(jié)果返回。 //刷新 ADO Data 控件的記錄源 (cSource)。 + cTime + 39。 + cTime + 39。 + cTime + 39。 + cTime + 39。 + cTime + 39。 + cTime + 39。 + cTime + 39。 + cTime + 39。 cTime = cYear + + cMonth。 // 查詢?nèi)掌? // 得到年份和月份 ((), cYear)。 else cStrCnd = 。 (%d, iDepId)。 第 19 頁 共 26 頁 圖 11 月考勤統(tǒng)計(jì)圖 主要代碼如下: void CDepDlg::RefreshData() { UpdateData(TRUE)。為了對(duì)各種考勤天數(shù)進(jìn)行統(tǒng)計(jì),需要?jiǎng)?chuàng)建一組視圖,分別按月統(tǒng)計(jì)所有員工的全勤天數(shù),休息天數(shù),曠工天數(shù), 遲到次數(shù),早退次數(shù),病假天數(shù),事假天數(shù)和出差天數(shù)。} 程序執(zhí)行 SELECT 語句,從表 CheckInfo 和 EmpInfo 中讀取選擇日期中各員工的考勤信息。 //刷新 ADO Data 控件的記錄源 (cSource)。 // 設(shè)置 SELECT 語句 CString cSource = SELECT AS 員工編號(hào) , AS 姓名 , AS 出勤日期 , AS 是否全勤 , AS 是否出差 , AS 是否事假 , AS 是否病假 , AS 是否曠工 , AS 是否休息 , AS 是否遲到 , AS 是否早退 , AS 備注 FROM CheckInfo c, EmpInfo e WHERE = AND = 39。 CString cTime。首先選擇要查詢的日期,在點(diǎn)擊查詢按鈕,即列出這日期的員工信息 ,包括員工編號(hào),員工姓名,出勤日期,是否全勤,是否出差,是否請(qǐng)假,是否加班等等?!?} 統(tǒng)計(jì)查詢模塊 統(tǒng)計(jì)查詢模塊主要是實(shí)現(xiàn)了日考勤統(tǒng)計(jì)表,月考勤統(tǒng)計(jì)表,當(dāng)日缺勤人員列表 3 個(gè)功能。// 插入記錄 } else { (, (0))。 if(EmpId == ) {// 在添加時(shí),若人員有出勤記錄,則不允許添加 if((CheckDate, (0))) { MessageBox(已經(jīng)有此員工的出勤信息,不能添加 )。 = 否 。 = 否 。 = 否 。