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

正文內容

基于bs模式的圖書借閱管理系統(tǒng)的設計和實現(xiàn)畢業(yè)設計論文-資料下載頁

2025-06-18 15:32本頁面
  

【正文】 IdentityNum + 39。 and isReturn=39。039。 。if ((updateSql)) //判斷更新是否成功 { ((), , Scriptalert(39。續(xù)借成功!39。)/Script)。 //創(chuàng)建SQL語句在圖書借閱表中查詢符合讀者條形碼條件和圖書條形碼條件的未歸還圖書的記錄 string BookRenewalSuccessSql = select * from Lib_bookBorrow as a inner join Lib_BookIsbnInfo as b on = inner join Lib_BookBase as c on = where =39。 + bookIdentityNum + 39。 and IsReturn=39。039。 。 bindBookRenewal(BookRenewalSuccessSql)。 //重新綁定顯示已借閱未歸還圖書信息 } else ((), , Scriptalert(39。續(xù)借失??!39。)/Script)。 } else ((), , Scriptalert(39。超過最大續(xù)借次數(shù)!39。)/Script)。 } else ((), , Scriptalert(39。不到續(xù)借時間39。)/Script)。 } else ((), , Scriptalert(39。讀者已經(jīng)掛失!39。)/Script)。 } else ((), , Scriptalert(39。超期,不得續(xù)借!39。)/Script)。 } else ((), , Scriptalert(39。該圖書已被預約,不得續(xù)借!39。)/Script)。 } }} 圖書歸還模塊。關鍵代碼如下:(點擊“歸還”時系統(tǒng)執(zhí)行的操作) protected void gvBookReturn_SelectedIndexChanging(object sender, GridViewSelectEventArgs e) { //獲取當前選擇圖書條形碼 string bookIdentityNum = [].()。 //創(chuàng)建SQL語句更新圖書借閱表中是否歸還字段 DateTime realReturnTime = 。 string _isChaoqi = select * from Lib_BookBorrow where BookIdentityNum=39。 + bookIdentityNum + 39。 and 39。 + realReturnTime + 39。 ShouldReturnTime and IsReturn=39。039。 SQLiteDataReader isChaoqi = (_isChaoqi)。 Double shouldPayMoney1。 ()。 DateTime shouldReturnTime1 = (isChaoqi[ShouldReturnTime])。 ReaderNumber = isChaoqi[ReaderNumber].ToString().Trim()。 DateTime today = 。 TimeSpan overdueDay = 。 string bookBorrowId = isChaoqi[ID].ToString().Trim()。 string bookRequestNum = isChaoqi[BookRequestNum].ToString().Trim()。 ()。 string _rate = select BookPunishRate from Lib_BookLocation as a inner join Lib_BookBase as b on = where = + bookIdentityNum。 SQLiteDataReader ratesdr = (_rate)。 ()。 Double rate = (ratesdr[BookPunishRate])。 shouldPayMoney1 = * rate。 ()。 string bookRequestnumSql = select BookRequestNum from Lib_BookBorrow where BookIdentityNum = 39。 + bookIdentityNum + 39。 SQLiteDataReader bookRequestNumSdr = (bookRequestnumSql)。 ()。 string bookRequestNum2 = bookRequestNumSdr[BookRequestNum].ToString().Trim()。 ()。 string updateSql = update Lib_BookBorrow set IsReturn=39。139。,RealReturnTime=39。 + (yyyyMMdd HH:mm:ss) + 39。 where BookIdentityNum=39。 + bookIdentityNum + 39。 and IsReturn=39。039。 string IsReserveSql = select * from Lib_BookReserve where BookRequestNum = 39。 + bookRequestNum2 + 39。 and IsReserveActive = 1 and IsBookCome = 0 。 int IsReserve = (IsReserveSql)。 if ((updateSql)) //判斷是否歸還成功 { if (shouldPayMoney1 0) { string insertPunish = insert into [Lib_BookPunishPay] values (null,39。 + bookBorrowId + 39。,39。 + bookRequestNum + 39。,39。 + ReaderNumber + 39。,39。 + bookIdentityNum + 39。,39。 + shouldPayMoney + 39。,39。 + (yyyyMMdd HH:mm:ss) + 39。,39。 + Session[userName].ToString() + 39。,39。039。,39。039。)。 (insertPunish)。 string _readerOwedMoney = select OwedMoney from [Lib_Reader] where ReaderNumber=39。 + ReaderNumber + 39。 SQLiteDataReader readerOwedMoneysdr = (_readerOwedMoney)。 ()。 Double readerOwedMoney = (readerOwedMoneysdr[OwedMoney])。 readerOwedMoney = readerOwedMoney + shouldPayMoney1。 ()。 string updateReaderOwedMoney = update [Lib_Reader] set OwedMoney=39。 + readerOwedMoney + 39。 where ReaderNumber=39。 + ReaderNumber + 39。 (updateReaderOwedMoney)。 if (IsReserve 0) { string bookBaseLocationSql = select BookBaseLocation from Lib_BookBase where BookIdentityNum = 39。 + bookIdentityNum + 39。 SQLiteDataReader bookBaseLocationSdr = (bookBaseLocationSql)。 ()。 string bookBaseLocation = bookBaseLocationSdr[BookRequestNum].ToString().Trim()。 ()。 string reserveIDSql = select ID from Lib_BookReserve where BookRequestNum = 39。 + bookRequestNum2 + 39。 and IsReserveActive = 1 and IsBookCome = 0 order by id asc limit 0,1。 int reserveID = (reserveIDSql)。 string updateReserveSql = update Lib_BookReserve set BorrowBackDate = 39。 + (yyyyMMdd HH:mm:ss) + 39。,IsBookCome = 39。139。,BookIdentityNum=39。 + bookIdentityNum + 39。,BookBaseLocation=39。 + bookBaseLocation + 39。 where ID =39。 + reserveID + 39。 。 if ((updateReserveSql)) { ((), , Scriptalert(39。添加罰款記錄成功,圖書歸還成功,添加預約記錄成功,注意!該圖書已被預約!39。)/Script)。 } else { ((), , Scriptalert(39。添加罰款記錄成功,圖書歸還成功!添加預約記錄失??!)/Script)。 } } else { ((), , Scriptalert(39。添加罰款記錄成功,圖書歸還成功!39。)/Script)。 } } else
點擊復制文檔內容
研究報告相關推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號-1