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

正文內(nèi)容

物資流通管理系統(tǒng)設計與實現(xiàn)畢業(yè)論文-資料下載頁

2025-06-23 01:51本頁面
  

【正文】 param = new SqlParameter(ParamName, DbType, Size)。 } else { param = new SqlParameter(ParamName, DbType)。 } = Direction。 if (!(Direction == amp。amp。 Value == null)) = Value。 return param。 } endregion} 類,用戶操作行為文件程序如下:using System。using 。using 。using 。using 。using 。using 。using 。using 。using 。/// summary/// UserAction 的摘要說明/// /summarypublic class UserAction:SqlDataBase{public UserAction(){//// TODO: 在此處添加構(gòu)造函數(shù)邏輯// } public bool UserChangePwd( string UserNam , string OldPwd , string NewPwd ) { SqlDataBase MyDB = new SqlDataBase()。//調(diào)用 SqlDataBase 類 int CheckNum = ((select count(*) from UserList where UserName = 39。 + UserNam + 39。and PassWord = 39。 + OldPwd + 39。))。 if (CheckNum 0) { (update UserList set PassWord=39。 + NewPwd + 39。 where UserName = 39。 + UserNam + 39。)。 return true。 } else { return false。 } } public bool UserAdd(string UserNam , string Pwd ,string AlignK , string Types) { SqlDataBase MyDB = new SqlDataBase()。 int CheckNum = ((select count(*) from UserList where UserName = 39。 + UserNam + 39。))。 if (CheckNum 0) { return false。 } else { (insert into UserList(UserName , PassWord , Controls , GoodsType) values(39。 + UserNam + 39。,39。 + Pwd + 39。,39。 + AlignK + 39。,39。 + Types + 39。))。 return true。 } } public DataTable GiveSysC()//返回通知列表 { SqlDataBase MyDb = new SqlDataBase()。 return (select * from SystemTest where TestType = 0 order By ID desc)。 } public DataTable GiveSysX(string ID) { SqlDataBase MyDb = new SqlDataBase()。 return (select * from SystemTest where ID = 39。 + ID + 39。)。 } public static DataTable GetBigClass() //返回產(chǎn)品大類 { SqlDataBase MyDb = new SqlDataBase()。 return (select * from BigClass)。 } public static DataTable GetSmaGoods(string ID)//返回大類所屬的產(chǎn)品列表 { SqlDataBase MyDb = new SqlDataBase()。 return (select ID , GoodsNum , GoodsName from AllGood where AlignType = 39。+ID+39。)。 } region //產(chǎn)品入庫 public int InsertGoods(int AlignGoods, string GoodCost, int GoodNum, string GoodMake, string GoodsBZ, string InputTime) { SqlParameter[] prams = { IntParam(@AlignGoods, , 4, AlignGoods), IntParam(@GoodCost, , 50, GoodCost), IntParam(@GoodNum, , 4, GoodNum), IntParam(@GoodMake,50,GoodMake), IntParam(@GoodsBZ, , 50, GoodsBZ), IntParam(@InputTime,50,InputTime), OutParam(@GoodsID,4) }。 RunInsert(InsertGood, prams)。 return (prams[6].Value)。 //return (prams[0].Value)。 } endregion public static void UpdateBigGodNum(int Num,int GodID) //入庫產(chǎn)品大類數(shù)量更新 { SqlDataBase MyDb = new SqlDataBase()。 (update AllGood set NowNum = NowNum + + Num + Where ID = 39。 + GodID + 39。)。 //return update AllGood set NowNum = NowNum + 39。 + Num + 39。 Where ID = 39。 + GodID + 39。 } public static void OutPut(int Num, int GodID) //出庫產(chǎn)品大類數(shù)量更新 { SqlDataBase MyDb = new SqlDataBase()。 (update AllGood set NowNum = NowNum + Num + Where ID = 39。 + GodID + 39。)。 } public static void InsertGodPaper(int GodsID ,int GodsNum , string GetUser,string InputUser,string InputTime,string PaperType) {//單據(jù)表 SqlDataBase MyDb = new SqlDataBase()。 (Insert Into GoodPapers(GoodsID , GoodsNum , GetUser , InputUser , GetTime , PaperType)Values(39。 + GodsID + 39。,39。 + GodsNum + 39。,39。 + GetUser + 39。,39。 + InputUser + 39。,39。 + InputTime + 39。,39。 + PaperType + 39。))。 } public static void InsertRecordList(string InputUser, int GodsID, int GodsNum, string PaperType, string InputTime) {//操作日志表 SqlDataBase MyDb = new SqlDataBase()。 (Insert Into RecordList(UserName , GoodID , GoodNum , TypesID , RecordTime ) Values(39。 + InputUser + 39。,39。 + GodsID + 39。,39。 + GodsNum + 39。,39。 + PaperType + 39。,39。 + InputTime + 39。))。 } public static int GetBigGID(int GoodsID)//返回倉庫產(chǎn)品所對應的大類產(chǎn)品 ID { SqlDataBase MyDb = new SqlDataBase()。 Return Convert . ToInt32( MyDb . ReturnSQL ( select AlignGoods from GoodList where ID = 39。 + GoodsID + 39。))。 }} 類,產(chǎn)品入庫文件所有程序如下:using System。using 。using 。using 。using 。using 。using 。using 。using 。/// summary/// Keeps 的摘要說明/// /summarypublic class Keeps{public Keeps(){//// TODO: 在此處添加構(gòu)造函數(shù)邏輯//} public void InsertKeep(string KeepsNam ,string GoodCls) { SqlDataBase MyDb = new SqlDataBase()。 (insert into KeepNum ( KeepName , GoodClass) values(39。 + KeepsNam + 39。,39。 + GoodCls + 39。))。 }} 類,庫存搜索文件所有程序如下:using System。using 。using 。using 。using 。using 。using 。using 。using 。/// summary/// Goods 的摘要說明/// /summarypublic class Goods{public Goods(){//// TODO: 在此處添加構(gòu)造函數(shù)邏輯//} public DataTable SearchPaper(string KeyWords , string SearchType) { string SqlString = select * from View_Papes where + SearchType + like 39。% + KeyWords + %39。 order by GetTime desc。 SqlDataBase MyDb = new SqlDataBase()。 return (SqlString)。 } public DataTable SearchGoods(string KeyWords, string SearchType) { string SqlString = select * from AllGood where + SearchType + like 39。% + KeyWords + %39。 SqlDataBase MyDb1 = new SqlDataBas
點擊復制文檔內(nèi)容
電大資料相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號-1