예제 #1
0
        /// <summary>
        /// 根据图书条码更新图书总量
        /// </summary>
        /// <param name="barCode"></param>
        /// <param name="bookCount"></param>
        /// <returns></returns>
        public bool AddBookCount(string barCode, int bookCount)
        {
            int resutl = bookDao.AddBookCount(barCode, bookCount);

            if (resutl == 1)
            {
                return(true);
            }
            else
            {
                return(false);
            }
        }