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

正文內(nèi)容

基于bs模式的圖書借閱管理系統(tǒng)的設(shè)計(jì)和實(shí)現(xiàn)畢業(yè)設(shè)計(jì)論文-閱讀頁

2025-07-03 15:32本頁面
  

【正文】 dReturnTime = (borrowDay)。 //獲取讀者姓名 int isReturn = (0)。 DateTime realReturnTime = borrowTime。 + bookIdentityNum + 39。 if ((isback) = 0) { string addSql = insert into [Lib_BookBorrow] values(null,39。,39。,39。,39。,39。,39。,39。,39。,39。,39。,39。)。 + bookIdentityNum + 39。bindReaderInfo()。 //將數(shù)據(jù)源設(shè)置為空()。 //((), , Scriptalert(39。)/Script)。 + ReaderNumber + 39。039。 bindBookBorrowSuccess(gvBookBorrowSuccessSql)。借閱失??!39。 } else ((), , Scriptalert(39。)/Script)。借閱數(shù)量已滿!不可以再借閱!39。 } else ((), , Scriptalert(39。)/Script)。該圖書只能閱覽!39。 } else ((), , Scriptalert(39。)/Script)。該圖書已被預(yù)約!39。 } 圖書續(xù)借模塊。 //獲取可借圖書天數(shù) string sql1 = select * from Lib_BookBorrow as a inner join Lib_BookIsbnInfo as b on = inner join Lib_BookType as c on = where = 39。 and IsReturn=39。 SQLiteDataReader sdr = (sql1)。//讀取一條記錄 borrowDay = (sdr[BorrowDay])。 //獲取可借圖書天數(shù) int typeRenewTimes = (sdr[TypeRenewTimes])。 string readerSql = select ReaderCardActive from Lib_Reader where ReaderNumber=39。 int ReaderCardActive = (readerSql)。 + bookIdentityNum + 39。039。 SQLiteDataReader sdr3 = (sql3)。 string _bookRenewTimes = sdr3[BookRenewTimes].ToString()。 shouldReturnTime = (sdr3[ShouldReturnTime])。 bookRenewTimes = (_bookRenewTimes)。 string renewDatesql = select RenewDate from Lib_SystemSet。 string bookRequestnumSql = select BookRequestNum from Lib_BookBorrow where BookIdentityNum = 39。 SQLiteDataReader bookRequestNumSdr = (bookRequestnumSql)。 string bookRequestNum2 = bookRequestNumSdr[BookRequestNum].ToString().Trim()。 DateTime today = 。 int isCouldReturn = 。 + bookRequestNum2 + 39。 int IsReserve = (IsReserveSql)。 //獲取應(yīng)還日期 int newbookRenewTimes = (bookRenewTimes + 1)。 + (yyyyMMdd HH:mm:ss) + 39。 + newbookRenewTimes + 39。 + bookIdentityNum + 39。039。if ((updateSql)) //判斷更新是否成功 { ((), , Scriptalert(39。)/Script)。 + bookIdentityNum + 39。039。 bindBookRenewal(BookRenewalSuccessSql)。續(xù)借失??!39。 } else ((), , Scriptalert(39。)/Script)。不到續(xù)借時(shí)間39。 } else ((), , Scriptalert(39。)/Script)。超期,不得續(xù)借!39。 } else ((), , Scriptalert(39。)/Script)。關(guān)鍵代碼如下:(點(diǎn)擊“歸還”時(shí)系統(tǒng)執(zhí)行的操作) protected void gvBookReturn_SelectedIndexChanging(object sender, GridViewSelectEventArgs e) { //獲取當(dāng)前選擇圖書條形碼 string bookIdentityNum = [].()。 string _isChaoqi = select * from Lib_BookBorrow where BookIdentityNum=39。 and 39。 ShouldReturnTime and IsReturn=39。 SQLiteDataReader isChaoqi = (_isChaoqi)。 ()。 ReaderNumber = isChaoqi[ReaderNumber].ToString().Trim()。 TimeSpan overdueDay = 。 string bookRequestNum = isChaoqi[BookRequestNum].ToString().Trim()。 string _rate = select BookPunishRate from Lib_BookLocation as a inner join Lib_BookBase as b on = where = + bookIdentityNum。 ()。 shouldPayMoney1 = * rate。 string bookRequestnumSql = select BookRequestNum from Lib_BookBorrow where BookIdentityNum = 39。 SQLiteDataReader bookRequestNumSdr = (bookRequestnumSql)。 string bookRequestNum2 = bookRequestNumSdr[BookRequestNum].ToString().Trim()。 string updateSql = update Lib_BookBorrow set IsReturn=39。,RealReturnTime=39。 where BookIdentityNum=39。 and IsReturn=39。 string IsReserveSql = select * from Lib_BookReserve where BookRequestNum = 39。 and IsReserveActive = 1 and IsBookCome = 0 。 if ((updateSql)) //判斷是否歸還成功 { if (shouldPayMoney1 0) { string insertPunish = insert into [Lib_BookPunishPay] values (null,39。,39。,39。,39。,39。,39。,39。,39。,39。)。 string _readerOwedMoney = select OwedMoney from [Lib_Reader] where ReaderNumber=39。 SQLiteDataReader readerOwedMoneysdr = (_readerOwedMoney)。 Double readerOwedMoney = (readerOwedMoneysdr[OwedMoney])。 ()。 + readerOwedMoney + 39。 + ReaderNumber + 39。 if (IsReserve 0) { string bookBaseLocationSql = select BookBaseLocation from Lib_BookBase where BookIdentityNum = 39。 SQLiteDataReader bookBaseLocationSdr = (bookBaseLocationSql)。 string bookBaseLocation = bookBaseLocationSdr[BookRequestNum].ToString().Trim()。 string reserveIDSql = select ID from Lib_BookReserve where BookRequestNum = 39。 and IsReserveActive = 1 and IsBookCome = 0 order by id asc limit 0,1。 string updateReserveSql = update Lib_BookReserve set BorrowBackDate = 39。,IsBookCome = 39。,BookIdentityNum=39。,BookBaseLocation=39。 where ID =39。 。添加罰款記錄成功,圖書歸還成功,添加預(yù)約記錄成功,注意!該圖書已被預(yù)約!39。 } else { ((), , Scriptalert(39。 } } else { ((), , Scriptalert(39。)/Script
點(diǎn)擊復(fù)制文檔內(nèi)容
研究報(bào)告相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號-1