• 大小: 23.38MB
    文件类型: .rar
    金币: 2
    下载: 2 次
    发布日期: 2023-06-13
  • 语言: 其他
  • 标签: 书店  

资源简介

网上书店,购物车到订单管理功能完善,网站采用三层架构搭建,附:数据库

资源截图

代码片段和文件信息

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\titleKeyword.aspx

     文件       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个文件信息

评论

共有 条评论