资源简介
网上书店,购物车到订单管理功能完善,网站采用三层架构搭建,附:数据库
代码片段和文件信息
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Model;
using DAL;
namespace BLL
{
public class BookService
{
BookDao bDao = new BookDao();
//得到所有的图书信息
public List GetAllBooks()
{
return bDao.GetAllBooks();
}
//根据图书类型编号查询图书信息
public List GetBookByCategoryId(int Id)
{
return bDao.GetBookByCategoryId(Id);
}
//修改图书的图书类型
public int ModifyBookCatagory(int id int CategoryId)
{
return bDao.ModifyBookCatagory(id CategoryId);
}
//根据图书Id信息修改图书状态
public int ModifyBookStateByBookId(int id)
{
return bDao.ModifyBookStateByBookId(id);
}
//根据图书id查询图书信息
public Book GetBookById(int Id)
{
return bDao.GetBookById(Id);
}
//根据图书信息修改图书
public int ModifyBook(Book bk)
{
return bDao.ModifyBook(bk);
}
//添加新图书
public int AddBook(Book bk)
{
return bDao.AddBook(bk);
}
//查询主编推荐的第一条(不含状态为1的)
public List GetBooksEditorCommentfirst()
{
return bDao.GetBooksEditorCommentfirst();
}
//查询主编推荐的第二条到第五条(不含状态为1的)
public List GetBooksEditorCommentsecondly()
{
return bDao.GetBooksEditorCommentsecondly();
}
//查询本月最新(不含状态为1的)
public List GetBooksBymonth()
{
return bDao.GetBooksBymonth();
}
//查询本周最新(不含状态为1的)
public List GetBooksByweek()
{
return bDao.GetBooksByweek();
}
//根据类型和价格得到图书信息(不含状态为1的)
public List GetBooksByUnitPrice(int CategoryId)
{
return bDao.GetBooksByUnitPrice(CategoryId);
}
//根据类型和时间得到图书信息(不含状态为1的)
public List GetBooksByPublishDate(int CategoryId)
{
return bDao.GetBooksByPublishDate(CategoryId);
}
//根据图书的标题模糊查询(不含状态为1的)
public List GetAllBooksbykeyword(string keyword)
{
return bDao.GetAllBooksbykeyword(keyword);
}
}
}
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 1979 2011-11-20 20:36 MyBookShop\MyBookShop\MyBookShop\MyBookShop\MyBookShop\MyBookShop\MyBookShop\Admin\AddType.aspx
文件 9111 2011-11-17 10:54 MyBookShop\MyBookShop\MyBookShop\MyBookShop\MyBookShop\MyBookShop\MyBookShop\Admin\AdminLogin.aspx
文件 4651 2011-10-25 15:35 MyBookShop\MyBookShop\MyBookShop\MyBookShop\MyBookShop\MyBookShop\MyBookShop\BookDetai.aspx
文件 2837 2011-11-24 17:14 MyBookShop\MyBookShop\MyBookShop\MyBookShop\MyBookShop\MyBookShop\MyBookShop\BookList.aspx
文件 12467 2011-11-24 17:42 MyBookShop\MyBookShop\MyBookShop\MyBookShop\MyBookShop\MyBookShop\MyBookShop\Admin\BooksItems.aspx
文件 4518 2011-11-25 20:11 MyBookShop\MyBookShop\MyBookShop\MyBookShop\MyBookShop\MyBookShop\MyBookShop\CartSP.aspx
文件 3636 2011-11-21 10:17 MyBookShop\MyBookShop\MyBookShop\MyBookShop\MyBookShop\MyBookShop\MyBookShop\Admin\ChangeBooksType.aspx
文件 366 2011-11-18 17:13 MyBookShop\MyBookShop\MyBookShop\MyBookShop\MyBookShop\MyBookShop\MyBookShop\Admin\Default.aspx
文件 6771 2011-11-24 18:13 MyBookShop\MyBookShop\MyBookShop\MyBookShop\MyBookShop\MyBookShop\MyBookShop\Default.aspx
文件 323 2011-10-25 13:56 MyBookShop\MyBookShop\MyBookShop\MyBookShop\MyBookShop\MyBookShop\MyBookShop\ErrorPage.aspx
文件 3970 2011-11-27 15:43 MyBookShop\MyBookShop\MyBookShop\MyBookShop\MyBookShop\MyBookShop\MyBookShop\Admin\ManagerOrder.aspx
文件 5084 2011-11-21 13:53 MyBookShop\MyBookShop\MyBookShop\MyBookShop\MyBookShop\MyBookShop\MyBookShop\Admin\ManagerState.aspx
文件 7518 2011-11-21 12:31 MyBookShop\MyBookShop\MyBookShop\MyBookShop\MyBookShop\MyBookShop\MyBookShop\Admin\ManagerUsers.aspx
文件 4153 2011-11-27 15:38 MyBookShop\MyBookShop\MyBookShop\MyBookShop\MyBookShop\MyBookShop\MyBookShop\MyOrder.aspx
文件 2128 2011-10-25 13:28 MyBookShop\MyBookShop\MyBookShop\MyBookShop\MyBookShop\MyBookShop\MyBookShop\ti
文件 5060 2011-11-24 18:02 MyBookShop\MyBookShop\MyBookShop\MyBookShop\MyBookShop\MyBookShop\MyBookShop\UserLogin.aspx
文件 9926 2011-11-24 17:25 MyBookShop\MyBookShop\MyBookShop\MyBookShop\MyBookShop\MyBookShop\MyBookShop\UserRegister.aspx
文件 9348 2011-11-17 10:08 MyBookShop\MyBookShop\MyBookShop\MyBookShop\MyBookShop\MyBookShop\MyBookShop\Admin\welcomeAdmin\WebResource(1).axd
文件 20794 2011-11-17 10:39 MyBookShop\MyBookShop\MyBookShop\MyBookShop\MyBookShop\MyBookShop\MyBookShop\Admin\images\Web\WebResource.axd
文件 20794 2011-11-17 10:08 MyBookShop\MyBookShop\MyBookShop\MyBookShop\MyBookShop\MyBookShop\MyBookShop\Admin\welcomeAdmin\WebResource.axd
文件 10568 2011-11-17 10:39 MyBookShop\MyBookShop\MyBookShop\MyBookShop\MyBookShop\MyBookShop\MyBookShop\Admin\images\skin\statusbar_back.bmp
文件 10568 2011-11-23 08:39 MyBookShop\MyBookShop\MyBookShop\MyBookShop\MyBookShop\MyBookShop\MyBookShop\Images\skin\statusbar_back.bmp
文件 550 2011-11-17 10:39 MyBookShop\MyBookShop\MyBookShop\MyBookShop\MyBookShop\MyBookShop\MyBookShop\Admin\images\skin\未命名.bmp
文件 550 2011-11-23 08:39 MyBookShop\MyBookShop\MyBookShop\MyBookShop\MyBookShop\MyBookShop\MyBookShop\Images\skin\未命名.bmp
文件 4855 2011-11-27 14:51 MyBookShop\MyBookShop\MyBookShop\MyBookShop\MyBookShop\MyBookShop\DAL\obj\Debug\ResolveAssemblyReference.cache
文件 11969 2011-11-27 19:59 MyBookShop\MyBookShop\MyBookShop\MyBookShop\MyBookShop\MyBookShop\BLL\obj\Debug\ResolveAssemblyReference.cache
文件 18846 2011-11-27 19:59 MyBookShop\MyBookShop\MyBookShop\MyBookShop\MyBookShop\MyBookShop\MyBookShop\obj\Debug\ResolveAssemblyReference.cache
文件 7305 2011-11-20 15:39 MyBookShop\MyBookShop\MyBookShop\MyBookShop\MyBookShop\MyBookShop\MyBookShop\Web.config
文件 3407 2011-11-20 20:33 MyBookShop\MyBookShop\MyBookShop\MyBookShop\MyBookShop\MyBookShop\MyBookShop\Admin\AddType.aspx.cs
文件 2936 2011-11-20 16:48 MyBookShop\MyBookShop\MyBookShop\MyBookShop\MyBookShop\MyBookShop\MyBookShop\Admin\AddType.aspx.designer.cs
............此处省略2212个文件信息
- 上一篇:run-jetty-run-1.3.5插件
- 下一篇:discuz 论坛用户手册
相关资源
- 网上书店期末项目,BUG很多
- 思科力助新疆新华书店构建高效网络
- ssh框架的网上书店
- 网上书店设计说明书_(含结构图、流
- 网上书店后台管理系统
- 网上书店系统建模和分析
- .net MVC网上书店源代码完整版
- mvc书店
- 自己写的一个网上书店
- 网上书店的设计
- 软件工程导论答辩ppt基于web的网上书
- 网上书店管理系统源码
- 基于struts2的网上书店系统
- 网上书店系统黑马
- 叮叮书店案列源码
- 网上书店模板有demo设计文档和界面源
- 课程设计 网上书店
- 项目案例之网上书店全套源程序代码
- VC%2B%2B书店管理系统
- 3个完全不同的书店管理系统以及参考
- 数据结构课程设计 书店管理系统
- 网上书店基于dao service sevlet
- 书店信息管理系统
- 数据库网上书店.docx
- 网上书店管理系统
- 基于SSH 三大框架的网上书店
- 网上书店管理系统课程设计+包含文档
- 网上书店素材,静态网页,CSS样式,
- 网上书店静态网页
- 网络书店的设计与实现毕业设计及毕
评论
共有 条评论