WELOA.BLL/Equipment/SB_Loss.cs

(开头部分) 13KB

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

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

namespace SBBLL
{
    public class SB_Loss
    {
        
        private LS_IsPage Allowpages = new LS_IsPage();
        private DateSetInformation dsinfo = new DateSetInformation();
        private sb_lossDAO lossDAO = new sb_lossDAO();
        private ls_publicclass publicclassDAO = new ls_publicclass();
        private Polytechnic trinfo = new Polytechnic();

        
        public Polytechnic del_Loss(int nId)
        {
            this.trinfo = this.lossDAO.del_Loss(nId);
            return this.trinfo;
        }

        public Polytechnic ins_Loss(string strDevicenumber, string strDevicename, string strCategories, string strType, string strConfiguration, string strUnit, int nLossnumber, string strLosscause, string strLossnote, string strApplicantkinds, string strLossapplicantid, string strLossapplicant, string strManager, string strManagerdecided, string strManagernote, string strOriginaldatatable, int nOriginaldataid, bool blFinal)
        {
            if (blFinal)
            {
                this.trinfo = this.lossDAO.ins_Loss_Managerfinalcheck(strDevicenumber, strDevicename, strCategories, strType, strConfiguration, strUnit, nLossnumber, strLosscause, strLossnote, strApplicantkinds, strLossapplicantid, strLossapplicant, strManager, strManagerdecided, strManagernote, strOriginaldatatable, nOriginaldataid);
            }
            else
            {
                this.trinfo = this.lossDAO.ins_Loss_Manager(strDevicenumber, strDevicename, strCategories, strType, strConfiguration, strUnit, nLossnumber, strLosscause, strLossnote, strApplicantkinds, strLossapplicantid, strLossapplicant, strManager, strManagerdecided, strManagernote, strOriginaldatatable, nOriginaldataid);
            }
            return this.trinfo;
        }

        public DateSetInformation select_Loss(string strFinalcheckdecided, int nPage)
        {
            string strConditions = "finalcheckdecided='" + strFinalcheckdecided + "'";
            this.trinfo = this.publicclassDAO.rowscount(strConditions, "sb_loss");
            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.lossDAO.select_Loss_Conditions(IsPage.nPageStart, 20, strConditions);
            if (this.trinfo.rowscount > 20)
            {
                this.dsinfo.strstaffnum = "applicantkinds=" + strFinalcheckdecided + "&";
            }
后面还有 227 行代码,解锁后查看完整代码

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

AI 解读

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

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