Hl.WebMain/AdmPage/PartsInfoPurchase/BizServicePartOrderPurchase-Return-Detail.aspx.cs

(开头部分) 6KB

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

using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data;
using Hl.Code;
using Hl.WebMain.Common;

namespace Hl.WebMain.AdmPage.PartsInfoPurchase
{
    public partial class BizServicePartOrderPurchase_Return_Detail : System.Web.UI.Page
    {
        #region "全局变量及属性"

        public DataModel.BizServicePartOrderPurchase       OpurInfo = null;
        public DataModel.BizServicePartOrderPurchaseReturn RetnInfo = null;

        #endregion

        #region "页面初始及加载"

        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
                BindInfo();
                VermPerm();
                FormTest();
                BindData();
            }
        }

        #endregion

        #region "绑定数据及验证"

        protected void GetModel()
        {
            OpurInfo = DataBll.BizServicePartOrderPurchase.Select(DataConvert.ToInt(Request.QueryString["orderPurchaseId"], 0));
            if (OpurInfo == null)
            {
                Message.MessageShows("", "参数错误!");
            }
            RetnInfo = DataBll.BizServicePartOrderPurchaseReturn.Select(DataConvert.ToInt(Request.QueryString["orderId"], 0));
        }

        protected bool FormTest(int testStyle = 0)
        {
            bool isValidate = true;
            #region "开始处理"
            TestTool testTool = new TestTool(new List<TestItem>(){
                    new TestItem("", htmlPartNo.Value,new List<TestRole>(){ new TestRole(TestType.为空) },htmlPartNo,tipsPartNo),
                    new TestItem("", htmlPartCount.Value,new List<TestRole>(){ new TestRole(TestType.为空),new TestRole(TestType.浮点),new TestRole(TestType.大小最小值,"0.01") },htmlPartCount,tipsPartCount),
            }, testStyle);
            isValidate = testTool.TestReult;
            #endregion
            return isValidate;
        }
后面还有 106 行代码,购买后查看完整代码

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

AI 解读 AI

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

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