WELOA.BLL/Equipment/SB_Get.cs

(开头部分) 13KB

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

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

namespace SBBLL
{
    public class SB_Get
    {
        
        private LS_IsPage Allowpages = new LS_IsPage();
        private DateSetInformation dsinfo = new DateSetInformation();
        private ls_exception exlog = new ls_exception();
        private ls_publicclass publicclassDAO = new ls_publicclass();
        private sb_getDAO sb_getDAO = new sb_getDAO();
        private sb_returnDAO sb_returnDAO = new sb_returnDAO();
        private SB_Storage sb_storageBLL = new SB_Storage();
        private sb_systemDAO sb_systemDAO = new sb_systemDAO();
        private sb_storageDAO storageDAO = new sb_storageDAO();
        private Polytechnic trinfo = new Polytechnic();

        
        public Polytechnic clearPreGet()
        {
            this.dsinfo = this.sb_systemDAO.select_sb_System();
            if (this.dsinfo.nException > 0)
            {
                this.trinfo.nException = 1;
                return this.trinfo;
            }
            if (this.dsinfo.ds.Tables[0].Rows.Count > 0)
            {
                int nDays = 0;
                if (this.dsinfo.ds.Tables[0].Rows[0]["predate"].ToString() != "")
                {
                    try
                    {
                        nDays = Convert.ToInt32(this.dsinfo.ds.Tables[0].Rows[0]["predate"].ToString());
                    }
                    catch
                    {
                    }
                }
                try
                {
                    if (Convert.ToDateTime(this.dsinfo.ds.Tables[0].Rows[0]["uppredate"].ToString()).ToString("yyyy-MM-dd") != DateTime.Now.ToString("yyyy-MM-dd"))
                    {
                        this.dsinfo = null;
                        this.dsinfo = this.sb_getDAO.select_Get_PreGet("预领", nDays);
                        if (this.dsinfo.nException > 0)
                        {
                            this.trinfo.nException = 1;
                            return this.trinfo;
                        }
                        if (this.dsinfo.ds.Tables[0].Rows.Count > 0)
后面还有 246 行代码,解锁后查看完整代码

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

AI 解读

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

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