Esempio n. 1
0
        public Result isDelete()
        {
            string bookNum = Request["bookNum"];
            Result row     = Result.记录不存在;

            if (bookbll.IsDelete("t_salemonomer", "bookNum", bookNum) == Result.关联引用)
            {
                row = Result.关联引用;
            }
            if (bookbll.IsDelete("t_stock", "bookNum", bookNum) == Result.关联引用)
            {
                row = Result.关联引用;
            }
            if (bookbll.IsDelete("t_replenishmentmonomer", "bookNum", bookNum) == Result.关联引用)
            {
                row = Result.关联引用;
            }
            if (bookbll.IsDelete("t_selloffmonomer", "bookNum", bookNum) == Result.关联引用)
            {
                row = Result.关联引用;
            }
            if (bookbll.IsDelete("t_retailmonomer", "bookNum", bookNum) == Result.关联引用)
            {
                row = Result.关联引用;
            }
            if (bookbll.IsDelete("t_monomers", "bookNum", bookNum) == Result.关联引用)
            {
                row = Result.关联引用;
            }
            return(row);
        }