【正文】
)。 i=(pos)。 m_str8=(i,7)。 int i=0。)。m_listMain,15)。 m_str7=。 m_dbl15=0。 i=(pos)。 strSql=strSql+m_str5+39。 (%f,m_dbl9)。 strSql=update 商品庫存數量統(tǒng)計表 set 條形碼 =39。 strSql=strSql+str。 49 (strSql)。 } void CDlgDanganBase::OnDel2() { // TODO: Add your control notification handler code here CADOConn adoMain,adoFile。 while(j()amp。 j=j+1。m_listMain,2)。 m_str6=。 UpdateData(FALSE)。 } } void CDlgDanganBase::OnKillfocusEdit6() { // TODO: Add your control notification handler code here CMyChiToLetter ch1。 } void CDlgDanganBase::OnChangeEdit11() { // TODO: If this is a RICHEDIT control, the control will not // send this notification unless you override the CDialog::OnInitDialog() // function and call CRichEditCtrl().SetEventMask() // with the ENM_CHANGE flag ORed into the mask. // TODO: Add your control notification handler code here UpdateData(TRUE)。 } void CDlgDanganBase::OnUpdateEdit11() { // TODO: If this is a RICHEDIT control, the control will not // send this notification unless you override the CDialog::OnInitDialog() // function to send the EM_SETEVENTMASK message to the control // with the ENM_UPDATE flag ORed into the lParam mask. // TODO: Add your control notification handler code here OnChangeEdit11()。 } void CDlgDanganBase::OnChangeEdit6() { // TODO: If this is a RICHEDIT control, the control will not // send this notification unless you override the CDialog::OnInitDialog() // function and call CRichEditCtrl().SetEventMask() // with the ENM_CHANGE flag ORed into the mask. // TODO: Add your control notification handler code here OnKillfocusEdit6()。 51 if(()==IDOK) { m_str1=。 m_dbl12=0。 m_str4=。 (strSql)。+(i,1)+39。 i=(pos)。 } if(()0) (i, LVIS_SELECTED, LVIS_SELECTED)。 strSql=strSql+商品庫存數量統(tǒng)計表 .庫存 FROM 商品檔案基本信息表 INNER JOIN 商品庫存數量統(tǒng)計表 ON 。 strSql=strSql+str+,庫存 =。+str+39。 strSql=strSql+m_str8+39。 strSql=strSql+m_str2+39。 int i。 m_dbl13=0。 m_str5=。 (strSql)。 47 strSql=insert into 商品庫存數量統(tǒng)計表 (條形碼 ) values(39。 } void CDlgDanganBase::OnAdd2() { // TODO: Add your control notification handler code here CADOConn adoMain。 m_str6=(i,5)。 int i。 (IDI_ICONBUTTON)。 strSql=strSql+商品檔案基本信息表 .條形碼 = 商品庫存數量統(tǒng)計表 .條形碼 。 m_dbl14=0。 m_str6=。m_listMain,15)。 strSql=strSql+商品庫存數量統(tǒng)計表 .會員價 , 商品庫存數量統(tǒng)計表 .業(yè)務提成 , 。 DDX_Text(pDX, IDC_EDIT13, m_dbl13)。 DDX_Text(pDX, IDC_EDIT7, m_str7)。 DDX_Text(pDX, IDC_EDIT3, m_str3)。 DDX_Control(pDX, IDMODIFY, m_Btn2)。 m_dbl12 = 。 m_str4 = _T()。 (strSql)。 strSql=strSql+m_str1+39。 (IDI_ICONBUTTON)。 DDX_Control(pDX, IDCANCEL, m_Btn2)。 趙天驕 通過這次實驗讓我深深的了解自己的不足還是很多,我很想把組長分配給我的工作做 好,但是實踐的過程很困難,有錯誤總會讓我陷入到苦惱中,我了解到自己對平時知識掌握的一點也不踏實,課程設計的過程中有很多都給我留下了深刻的印象,在這次合作中,大家互相都為小組的成員考慮,都想自己多做點貢獻,也讓我學會了聽取別人的意見和禮貌的正確的給別人的想法提出一件和建議,當自己的意見小小的被采納的時候也會感覺到自己的存在其實是有價值的,也激起我對專業(yè)知識學習的興趣。同時也讓我認識到了自己需要學習的內容還很多,我也希望自己在以后的學習中能更加虛心更加勤奮,使自己做的更好。 4) 預防性維護:就是為了改進未來的可維護性或可操作性,或為了給未來的改進奠定更好的基礎而修復軟件時,出現了防御性維護。 2. 發(fā)生多次并行操作時,系統(tǒng)自動按順序執(zhí)行。 模塊間進行數據交換和控制協(xié)助。 29 進入后臺: 功能描述: 執(zhí)行權限后, 登入后臺系統(tǒng)。 客戶端: Windows XP 操作系統(tǒng) 數據庫服務器: Microsoft SQL Server 2021。 5 數據管理能力要求 列出數據字典 如下圖表示 : 數據項 數據項關鍵字 數據項含義 數據類型 數據要求 管理員帳號號 Account number 用戶帳號 整形 ? 管理員用戶名 Username 管理員用戶名 字符型 8100 個字符 管理員密碼 Password 管理員密碼 字符型 150 個字符 商品種類編號 Commodity Class ID 商品種類編號 整型 … 商品種類名稱 Commodity Class Name 每一種商品種類的名稱 字符 型 250 個字符 商品編號 Commodity ID 每一件商品的編號 整型 … 商品名稱 Commodity Name 每一件商品的名稱 字符型 250 14 商品種類 Commodity Class 每一件商品是屬于哪類商品 整型 150個字符 條形碼 Bar code 負責打印或掃描查詢 小數型 小數點后取 二 位( 26,2) 生產廠家 Manufacturer 每一件商品的生產廠家 字符型 100 商品描述 Commodity Depict 每一件商品的描述 字符型 250 商品進貨價格 Commodity Price in 每一件商品的進貨價格 小數型 小數點后取 二 位( 26,2) 商品出售價格 Commodity Price out 每一件商品出售價格 小數型 小數點后取 二 位( 26,2) 客戶付款 Custom Pay 售貨時客戶需要付的錢 小數型 小數點后取 二 位( 26,2) 找錢 Pay return 應找回客戶的錢 小數型 小數點后取 二 位( 26,2) 商品總數量 Commodity Amount 每一件商品的總數量 整型 … 庫存數量 Commodity stock Amount 商品在倉庫里的數量 整形 … 商品前臺數量 Commodity foreg Amount 在超市擺放出售的數量 整形 … 商品上架時間 Reg Time 每一件商品上架的時間 日期 15 商品圖片 Image 每件商品的圖片 BMP 訂單編號 Order Form ID 每一個訂單的唯一編號 整型 … 訂單序號 Order Form NUM 每一個訂單的序號 整形 … 售出商品商數量 Commodity out num 出售每種商品的數目 整形 … 庫存上限 Stock up 庫存的上限 整形 … 庫存下限 Stock down 庫存的下限 整形 … ER 圖: 商品數據:商品檔案 編碼 條形碼 名稱 分類編號 規(guī)格 庫存上限 庫存下限 進貨價 單位 銷售價 供應商uanjia 16 進貨數據,和實體聯(lián)系: 進貨單 數量 進貨價 進貨商品商品 編號 進貨日期 銷售單 數量 銷售價 銷售商品商品 編號 銷售日期 供應商基本信息 管理員 商品分類 商品檔案 進貨單 銷售單 超市 服務器 入庫 銷售 操作管理 17