CreateBookCheck (
string bookCheckId = "",
string bookCheckBookId = "",
string bookCheckEmployeeId = "",
string bookCheckEnd = "",
string bookCheckOption = "",
string bookCheckType = "",
global::System.DateTime? bookCheckCreateDate = null ) 根据图书核查ID、图书ID、核查人员ID、核查结果、核查意见、核查类型、核查日期创建图书核查信息
FindBookChecks (
string bookCheckBookId = "",
string bookCheckType = "",
int? maximumRows = null,
int? startRowIndex = null ) 根据核查图书ID、核查类型查询核查信息(可分页)
FindBookChecksCount (
string bookCheckBookId = "",
string bookCheckType = "" ) 根据核查图书ID、核查类型查询符合条件的核查信息条数
FindBookCheckById (
string bookCheckId = "" ) 根据核查ID查询核查信息
FindBooksHad (
string bookCode = "",
string bookName = "",
string bookType = "",
string bookAuthor = "",
string bookPublish = "",
string bookStatus = "",
int? maximumRows = null,
int? startRowIndex = null ) 根据条形码、书名、类型、作者、出版社、图书状态查询现有图书信息(可分页)
FindBooksHadCount (
string bookCode = "",
string bookPublish = "",
string bookStatus = "" ) 根据条形码、书名、类型、作者、出版社、图书状态查询符合条件的现有图书信息条数
FindBookById (string bookId = "" ) 根据图书ID查询图书信息
DeleteBookChecksByBookId (
string bookId = "" ) 根据图书ID删除图书审核信息
FindBookHadById (string bookId = "" ) 根据图书ID查询现有图书信息
CreateBookHad (
string bookId = "",
int? bookAmount = null,
int? bookNumber = null ) 根据图书ID、库存数量、总量创建图书现有信息
UpdateBookHad (
string bookId = "",
int? bookAmount = null,
int? bookNumber = null ) 根据图书ID、库存数量、总量更新图书现有信息
DeleteBookHad (string bookId = "" ) 根据图书ID删除现有图书信息
UpdateBookNumber (
string bookId = "",
int? bookNumber = null ) 根据图书ID、库存数量更新现有图书信息
FindCountGroupType () 根据类型分组查询现有图书信息
5.2.2 业务逻辑层设计
该模块对图书信息进行操作的业务层方法如表5.2所示。
表 5.2 BYSJ.Books.BookProvider
方法名(参数) 作用
FindBookPurchaseById(
string purchaseId) 根据购买ID加载图书购买信息
SaveBookPurchase(
string purchaseId,
string bookId,
string bookCode,
string bookName,
string bookType,
string bookAuthor,
string bookPublish,
DateTime bookPublishDate,
int purchaseNumber,
string bookStatus,
string employeeId) 根据购买ID、图书ID、条形码、书名、类型、作者、出版社、出版日期、购买数量、图书状态、操作员工ID保存图书购买信息
SubmitPurchaseBook(
string purchaseId,
string employeeId) 根据购买ID、操作人员ID提交图书购买信息
DeletePurchaseBook(
string purchaseId,
string employeeId) 根据购买ID、操作员工ID删除图书购买信息 基于ASP.NET的图书管理系统+流程图+ER图(20):http://www.youerw.com/jisuanji/lunwen_580.html