WELOA.BLL/Equipment/SB_Install.cs

(开头部分) 13KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using WELOA.Model;
using SBDAL_SQL;
using LSDAL_SQL;
using WELOA.Common;

namespace SBBLL
{
    public class SB_Install
    {
        
        private sb_install installDAO = new sb_install();
        private ls_install LS_installDAO = new ls_install();
        private Polytechnic trinfo = new Polytechnic();

        
        public Polytechnic createTable_categories()
        {
            this.trinfo = new Polytechnic();
            string strTableName = "sb_categories";
            this.trinfo.nException = -1;
            this.trinfo = this.LS_installDAO.selectTable(strTableName);
            if (this.trinfo.nException <= 0)
            {
                if (this.trinfo.rowsnum > 0)
                {
                    this.trinfo = null;
                    this.trinfo = this.LS_installDAO.delTable(strTableName);
                    if (this.trinfo.nException > 0)
                    {
                        return this.trinfo;
                    }
                }
                this.trinfo = null;
                this.trinfo = this.installDAO.createTable_categories();
            }
            return this.trinfo;
        }

        public Polytechnic createTable_checkergrade()
        {
            this.trinfo = new Polytechnic();
            string strTableName = "sb_checkergrade";
            this.trinfo.nException = -1;
            this.trinfo = this.LS_installDAO.selectTable(strTableName);
            if (this.trinfo.nException <= 0)
            {
                if (this.trinfo.rowsnum > 0)
                {
                    this.trinfo = null;
                    this.trinfo = this.LS_installDAO.delTable(strTableName);
                    if (this.trinfo.nException > 0)
                    {
                        return this.trinfo;
                    }
                }
                this.trinfo = null;
后面还有 325 行代码,解锁后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明

AI 解读

登录后可用,每次 10 积分,解读结果公开显示在下面。

还没有人解读过这个文件。