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

正文內(nèi)容

[工學(xué)]南通大學(xué)教育超市進(jìn)銷存管理系統(tǒng)設(shè)計報告__數(shù)據(jù)庫系統(tǒng)概論_課程設(shè)計-資料下載頁

2024-09-14 21:57本頁面

【導(dǎo)讀】天,將計算機(jī)這一信息處理利器應(yīng)用于商店的日常管理已是勢所必然。店進(jìn)銷存管理系統(tǒng)便應(yīng)運(yùn)而生。這為商店管理帶來前所未有的改變,同時為企業(yè)。帶來意想不到的經(jīng)濟(jì)效益和社會效益。這主要體現(xiàn)在以下幾個方面:?,嶋s亂,周期長的弊端。理中的漏洞,可以節(jié)約大量管理開支增加企業(yè)的收入。由于商店規(guī)模的日益增大,進(jìn)出貨物數(shù)量繁多,且工作量大。省大量的人力物力資源,又可以縮短業(yè)務(wù)處理的時間,加強(qiáng)對物資安全的管理,具有很強(qiáng)的實(shí)用性和經(jīng)濟(jì)性。在商品采購、銷售、庫存、賬目管理等過程中進(jìn)行監(jiān)督與控制。1.采購員采購商品后及時錄入商品信息在數(shù)據(jù)庫中進(jìn)行數(shù)據(jù)更新。導(dǎo)出統(tǒng)計結(jié)果且可以生成excel表格?;臼录?、登錄系統(tǒng)。用例概述根據(jù)系統(tǒng)設(shè)置,統(tǒng)計銷售情況。

  

【正文】 public int insertGoodsInfo(Goods goods){ int flage=3。 ResultSet rest=null。 String OEMSnumber=()。 try { String sql=。 sql=select * from OEMsInfo where OEMSnumber=39。+OEMSnumber+39。 rest=(sql)。 if(!()){ ////如果數(shù)據(jù)庫中沒有改供應(yīng)商編號 ,則返回 2 return 2。 } /////獲取商品信息 sql=select goodsCount from goodsInfo where goodsNumber=39。+()+39。 rest=(sql)。 if(()){ ////如果數(shù)據(jù)庫中已經(jīng)存在該編號的商品 ,則更新 sql=update goodsInfo set goodsCount=+(1)+()+where goodsNumber=39。+()+39。 (sql)。 }else{ (1, ())。 (2, ())。 (3, ())。 (4, ())。 (5, ())。 if(()0){ flage=0。 ////成功插入商品信息 ,返回 0 } } ////////新建商品訂單 double primeMoeny=()*()。 Date date=new Date()。 String 30 數(shù)據(jù)庫 課 程設(shè)計 南通大學(xué)教育超市 進(jìn)銷存管理系統(tǒng) time=(()+1900)+/+()+/+()。 sql=insert into PurchaseOrder values(39。+OEMSnumber+()+time+39。,39。+oodsNumber()+39。,39。+ OEMSnumber+39。,39。+time+39。,+primeMoeny+)。 (sql)。 } catch (SQLException e) { ()。 }finally{ try { ()。 } catch (SQLException e) { ()。 } } return flage。 } /** * 創(chuàng)建查詢商品信息數(shù)據(jù)庫連接 */ public void createSearchGoodsInfoConnection(){ try { con=(, , )。 =()。 } catch (SQLException e) { ()。 } } public ResultSet selectGoodsInfo(String sql){ ResultSet rest=null。 try { rest=(sql)。 } catch (SQLException e) { ()。 } return rest。 } public void closeSelectCon(){ try { ()。 } catch (SQLException e) { 31 數(shù)據(jù)庫 課 程設(shè)計 南通大學(xué)教育超市 進(jìn)銷存管理系統(tǒng) ()。 } } /** * 創(chuàng)建商品信息修改數(shù)據(jù)庫連接 (只需修改商品名稱,庫存量,類型 ) */ public void createModifyGoodsInfoConnection(){ try { con=(, , )。 String sql=update goodsInfo set goodsName=? , goodsCount=? , goodsType=? where goodsNumber=?。 =(sql)。 } catch (SQLException e) { ()。 } } public boolean updateGoodsInfo(Goods goods){ boolean flage=false。 try { (1, ())。 (2, ())。 (3, ())。 (4, ())。 int n=()。 if(n0){ return true。 } } catch (SQLException e) { ()。 }finally{ try { ()。 } catch (SQLException e) { ()。 } } return flage。 } 32 數(shù)據(jù)庫 課 程設(shè)計 南通大學(xué)教育超市 進(jìn)銷存管理系統(tǒng) public void createSaleGoodsConnection(){ try { con=(, , )。 =()。 } catch (SQLException e) { ()。 } } public ResultSet saleGoods(String goodsNumber){ ResultSet rst=null。 String sql=select ,goodsName, + from goodsInfo,goodsShelf + where = and =39。+goodsNumber+39。 try { rst=(sql)。 } catch (SQLException e) { ()。 } return rst。 } public void updateGoodsShelf(int count){ String sql=。 sql=update goodsShelf set goodsCount=goodsCount+count+。 try { (sql)。 } catch (SQLException e) { ()。 } } public void closeSaleConnection(){ try { ()。 } catch (SQLException e) { ()。 } } } 33 數(shù)據(jù)庫 課 程設(shè)計 南通大學(xué)教育超市 進(jìn)銷存管理系統(tǒng) 商品類 package dateitem。 public class Goods { private String m_goodsNumber。 private String m_goodsName。 private double m_inPrice。 private double m_salePrice。 private int m_goodsCount。 private String m_goodsType。 private String m_OEMSnumber。 private String m_OEMSname。 /** @roseuid 4C348523028D */ public Goods() { } public String getM_goodsNumber() { return m_goodsNumber。 } public void setM_goodsNumber(String number) { m_goodsNumber = number。 } public String getM_goodsName() { return m_goodsName。 } public void setM_goodsName(String name) { m_goodsName = name。 } public double getM_inPrice() { return m_inPrice。 } 34 數(shù)據(jù)庫 課 程設(shè)計 南通大學(xué)教育超市 進(jìn)銷存管理系統(tǒng) public void setM_inPrice(double price) { m_inPrice = price。 } public double getM_salePrice() { return m_salePrice。 } public void setM_salePrice(double price) { m_salePrice = price。 } public int getM_goodsCount() { return m_goodsCount。 } public void setM_goodsCount(int count) { m_goodsCount = count。 } public String getM_goodsType() { return m_goodsType。 } public void setM_goodsType(String type) { m_goodsType = type。 } public String getM_OEMSnumber() { return m_OEMSnumber。 } public void setM_OEMSnumber(String snumber) { m_OEMSnumber = snumber。 } public String getM_OEMSname() { return m_OEMSname。 } public void setM_OEMSname(String sname) { m_OEMSname = sname。 } 35 數(shù)據(jù)庫 課 程設(shè)計 南通大學(xué)教育超市 進(jìn)銷存管理系統(tǒng) public String getProperTy(int index){ switch(index){ case 1: return 。 case 2: return 。 case 3: return +。 case 4: return 。 case 5: return +。 case 6: return 。 case 7: return 。 default: return null。 } } } 主類 package bin。 import 。 public class Start { public static void main(String[] args) { new MainFrame()。 } 36 數(shù)據(jù)庫 課 程設(shè)計 南通大學(xué)教育超市 進(jìn)銷存管理系統(tǒng) } class MainFrame extends JFrame{ private LoginFrame frame_Login。 private SaleGoodsFrame frame_SaleGoods。 private WarehouseManagementFrame frame_WarehouseManagem。 private AdminHomeFrame frame_AdminHome。 public MainFrame(){ =new AdminHomeFrame()。 =new SaleGoodsFrame()。 =new WarehouseManagementFrame()。 =new LoginFrame(, ,)。 } } 參考文獻(xiàn) 1. 耿祥義 張躍平 編著 Java 2 實(shí)用教程(第三版) 清華大學(xué)出版社 2. 王珊 薩師煊 編著 數(shù)據(jù)庫系統(tǒng)概論(第四版) 高等教育出版社
點(diǎn)擊復(fù)制文檔內(nèi)容
公司管理相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號-1