WELOA.BLL/Equipment/SB_Storage.cs

(开头部分) 7KB

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

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

namespace SBBLL
{
    public class SB_Storage
    {
        
        private LS_IsPage Allowpages = new LS_IsPage();
        private DateSetInformation dsinfo = new DateSetInformation();
        private ls_publicclass publicclassDAO = new ls_publicclass();
        private sb_storageDAO storageDAO = new sb_storageDAO();
        private sb_testingDAO testingDAO = new sb_testingDAO();
        private Polytechnic trinfo = new Polytechnic();

        
        public Polytechnic select_devicenumber_rowsCount(string strCategories)
        {
            this.trinfo = this.storageDAO.select_devicenumber_rowsCount(strCategories);
            return this.trinfo;
        }

        public DateSetInformation select_storage(string strCategories, string strDevicenumber, string strDevicename, string strSn, string strTyper, string strConfiguration, string strLocation, int nActualinventory_Star, int nActualinventory_End, int nPage)
        {
            string strConditions = this.storageDAO.strConditions(strCategories, strDevicenumber, strDevicename, strSn, strTyper, strConfiguration, strLocation, nActualinventory_Star, nActualinventory_End);
            this.trinfo = this.publicclassDAO.rowscount(strConditions, "sb_storage");
            if (this.trinfo.nException > 0)
            {
                this.dsinfo.nException = 1;
                return this.dsinfo;
            }
            IsPage IsPage = this.Allowpages.Allowpage(this.trinfo.rowscount, 20, nPage);
            if (IsPage.nException > 0)
            {
                this.dsinfo.nException = 1;
                return this.dsinfo;
            }
            this.dsinfo = this.storageDAO.select_storage(IsPage.nPageStart, 20, strConditions);
            if (this.trinfo.rowscount > 20)
            {
                this.dsinfo.strstaffnum = this.strPage_Conditions(strCategories, strDevicenumber, strDevicename, strSn, strTyper, strConfiguration, strLocation, nActualinventory_Star, nActualinventory_End);
            }
            this.dsinfo.dsrowscount = this.trinfo.rowscount;
            return this.dsinfo;
        }

        public DateSetInformation select_storage_all(string strCategories, string strDevicenumber, string strDevicename, string strSn, string strTyper, string strConfiguration, string strLocation, int nActualinventory_Star, int nActualinventory_End, int nPage)
        {
            string strConditions = this.storageDAO.strConditions(strCategories, strDevicenumber, strDevicename, strSn, strTyper, strConfiguration, strLocation, nActualinventory_Star, nActualinventory_End);
            this.dsinfo = this.storageDAO.select_storage(strConditions);
            return this.dsinfo;
        }

后面还有 111 行代码,解锁后查看完整代码

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

AI 解读

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

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