WELOA.BLL/Equipment/SB_warehousing.cs
(开头部分) 25KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using LSBLL;
using LSDAL_SQL;
using SBDAL_SQL;
using WELOA.Model;
using System.Text.RegularExpressions;
using System.Data;
namespace SBBLL
{
public class SB_warehousing
{
private LS_IsPage Allowpages = new LS_IsPage();
private DateSetInformation dsinfo = new DateSetInformation();
private ls_publicclass publicclassDAO = new ls_publicclass();
private sb_categoriesDAO sb_categoriesDAO = new sb_categoriesDAO();
private sb_systemDAO sb_systemDAO = new sb_systemDAO();
private sb_storageDAO storageDAO = new sb_storageDAO();
private sb_testingDAO testingDAO = new sb_testingDAO();
private Polytechnic trinfo = new Polytechnic();
private sb_warehousingDAO warehousingDAO = new sb_warehousingDAO();
public Polytechnic delWarehousing(string strId)
{
this.trinfo = this.warehousingDAO.delWarehousing(strId);
return this.trinfo;
}
private Polytechnic devicenumber(string strCategories)
{
string strDevicenumber = "";
if (strCategories != "")
{
string str3;
int num2;
StringBuilder builder = new StringBuilder();
this.dsinfo = this.sb_systemDAO.select_sb_System();
if (this.dsinfo.nException > 0)
{
this.trinfo.nException = 1;
return this.trinfo;
}
int num = Convert.ToInt32(this.dsinfo.ds.Tables[0].Rows[0]["devicecharnumber"].ToString());
this.dsinfo = this.select_Warehousing(strCategories);
if (this.dsinfo.nException > 0)
{
this.trinfo.nException = 1;
return this.trinfo;
}
if (this.dsinfo.ds.Tables[0].Rows.Count > 0)
{
string str2 = this.dsinfo.ds.Tables[0].Rows[0]["devicenumber"].ToString();
if (str2.Length > num)
{
if (Regex.IsMatch(str2.Substring(str2.Length - num), @"^\d{1,}$"))
后面还有 467 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明
AI 解读
登录后可用,每次 10 积分,解读结果公开显示在下面。
还没有人解读过这个文件。
