云题海 - 专业文章范例文档资料分享平台

当前位置:首页 > 4S店汽车销售及服务管理系统的设计与实现毕业论文

4S店汽车销售及服务管理系统的设计与实现毕业论文

  • 62 次阅读
  • 3 次下载
  • 2025/5/26 12:10:42

{

SqlDataBase MyDB = new SqlDataBase();//调用SqlDataBase类

int CheckNum = Convert.ToInt32(MyDB.ReturnSQL(\count(*) from UserList where UserName = '\+ UserNam + \PassWord = '\

if (CheckNum > 0) {

MyDB.NoreturnSql(\NewPwd + \

return true; } else {

return false; } }

public bool UserAdd(string UserNam , string Pwd ,string AlignK , string Types)

{

SqlDataBase MyDB = new SqlDataBase();

int CheckNum = Convert.ToInt32(MyDB.ReturnSQL(\count(*) from UserList where UserName = '\

if (CheckNum > 0) {

return false; } else {

19

MyDB.NoreturnSql(\into UserList(UserName , PassWord , Controls , GoodsType) values('\\

return true; } }

public DataTable GiveSysC()//返回通知列表 {

SqlDataBase MyDb = new SqlDataBase();

return MyDb.DT(\= 0 order By ID desc\

}

public DataTable GiveSysX(string ID) {

SqlDataBase MyDb = new SqlDataBase();

return MyDb.DT(\ID + \

}

public static DataTable GetBigClass() //返回产品大类 {

SqlDataBase MyDb = new SqlDataBase(); return MyDb.DT(\ }

public static DataTable GetSmaGoods(string ID)//返回大类所属的产品列表

{

SqlDataBase MyDb = new SqlDataBase();

return MyDb.DT(\AllGood where AlignType = '\

20

}

#region //产品入库

public int InsertGoods(int AlignGoods, string GoodCost, int GoodNum, string GoodMake, string GoodsBZ, string InputTime)

{

SqlParameter[] prams = {

IntParam(\ IntParam(\SqlDbType.VarChar, 50, GoodCost), IntParam(\ IntParam(\IntParam(\

IntParam(\ OutParam(\ };

RunInsert(\ return Convert.ToInt32(prams[6].Value); //return Convert.ToInt32(prams[0].Value); }

#endregion

public static void UpdateBigGodNum(int Num,int GodID) //入库产品大类数量更新

{

SqlDataBase MyDb = new SqlDataBase();

MyDb.NoreturnSql(\AllGood set NowNum = NowNum + \+ Num + \

//return \+ \

}

public static void OutPut(int Num, int GodID) //出库产品大

21

类数量更新

{

SqlDataBase MyDb = new SqlDataBase();

MyDb.NoreturnSql(\AllGood set NowNum = NowNum - \+ Num + \

}

public static void InsertGodPaper(int GodsID ,int GodsNum , string GetUser,string InputUser,string InputTime,string PaperType)

{//单据表

SqlDataBase MyDb = new SqlDataBase();

MyDb.NoreturnSql(\Into GoodPapers(GoodsID , GoodsNum , GetUser , InputUser , GetTime , PaperType)Values('\GodsID + \+ GodsNum + \+ GetUser + \+ InputUser + \+ InputTime + \

}

public static void InsertRecordList(string InputUser, int GodsID, int GodsNum, string PaperType, string InputTime)

{//操作日志表

SqlDataBase MyDb = new SqlDataBase();

MyDb.NoreturnSql(\Into RecordList(UserName , GoodID , GoodNum , TypesID , RecordTime ) Values('\+ InputUser + \+ GodsID + \\

}

public static int GetBigGID(int GoodsID)//返回仓库产品所对应的大类产品ID

{

SqlDataBase MyDb = new SqlDataBase();

Return Convert . ToInt32( MyDb . ReturnSQL ( \

22

  • 收藏
  • 违规举报
  • 版权认领
下载文档10.00 元 加入VIP免费下载
推荐下载
本文作者:...

共分享92篇相关文档

文档简介:

{ SqlDataBase MyDB = new SqlDataBase();//调用SqlDataBase类 int CheckNum = Convert.ToInt32(MyDB.ReturnSQL(\count(*) from UserList where UserName = '\+ UserNam + \PassWord = '\ if (CheckNum > 0) { MyDB.NoreturnSql(\NewPwd + \ return true; } else { return false;

× 游客快捷下载通道(下载后可以自由复制和排版)
单篇付费下载
限时特价:10 元/份 原价:20元
VIP包月下载
特价:29 元/月 原价:99元
低至 0.3 元/份 每月下载150
全站内容免费自由复制
VIP包月下载
特价:29 元/月 原价:99元
低至 0.3 元/份 每月下载150
全站内容免费自由复制
注:下载文档有可能“只有目录或者内容不全”等情况,请下载之前注意辨别,如果您已付费且无法下载或内容有问题,请联系我们协助你处理。
微信:fanwen365 QQ:370150219
Copyright © 云题海 All Rights Reserved. 苏ICP备16052595号-3 网站地图 客服QQ:370150219 邮箱:370150219@qq.com