CY_ZZJY.Web/ScanQRCode.aspx.cs
(开头部分) 4KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using CY_ZZJY.Model.Bus;
using CY_ZZJY.Service.Bus;
using System.Data;
namespace CY_ZZJY.Web
{
public partial class ScanQRCode : System.Web.UI.Page
{
public string StrWord = string.Empty;
public string PACKAGE_BH = string.Empty;//小包编号
public Mdl_T_PACKAGES _Mdl_T_PACKAGES = new Mdl_T_PACKAGES();
public Mdl_T_CHECKRESULT _Mdl_T_CHECKRESULT = new Mdl_T_CHECKRESULT();
public Mdl_T_CHECKRESULT_DATA _Mdl_T_CHECKRESULT_DATA = new Mdl_T_CHECKRESULT_DATA();
public Mdl_T_COMPANY _Mdl_T_COMPANY = new Mdl_T_COMPANY();
public Mdl_T_CHECKER _Mdl_T_CHECKER = new Mdl_T_CHECKER();
private T_CHECKER_Service _T_CHECKER_Service = new T_CHECKER_Service();
private T_CHECKRESULT_DATA_Service _T_CHECKRESULT_DATA_Service = new T_CHECKRESULT_DATA_Service();
private T_CHECKRESULT_Service _T_CHECKRESULT_Service = new T_CHECKRESULT_Service();
private T_COMPANY_Service _T_COMPANY_Service = new T_COMPANY_Service();
private T_PACKAGES_Service _T_PACKAGES_Service = new T_PACKAGES_Service();
protected void Page_Load(object sender, EventArgs e)
{
if (!IsPostBack)
{
this.Title = "新疆畜牧业综合管理信息平台-畜牧管理系统";
if (Request["PACKAGE_BH"] != null && !string.IsNullOrEmpty(Request.QueryString["PACKAGE_BH"].ToString()))
this.PACKAGE_BH = Request.QueryString["PACKAGE_BH"].ToString().Trim();
this.InitControl();
}
}
/// <summary>
/// 初始化窗体控件
/// </summary>
private void InitControl()
{
#region 初始化小包信息
this._Mdl_T_PACKAGES = this._T_PACKAGES_Service.GetEntityByBH(this.PACKAGE_BH);
#endregion
if (this._Mdl_T_PACKAGES != null && !string.IsNullOrEmpty(this._Mdl_T_PACKAGES.RESULT_BH))
{
if (System.DateTime.Now.Year - Convert.ToDateTime(this._Mdl_T_PACKAGES.ADDDATE).Year > this._Mdl_T_PACKAGES.USEFUL_TIME)
{
this.panel_Error.Visible = false;
this.panel_NO.Visible = true;
this.panel_OK.Visible = false;
}
else
{
this.panel_Error.Visible = false;
this.panel_NO.Visible = false;
this.panel_OK.Visible = true;
#region 初始化检验结果信息
this._Mdl_T_CHECKRESULT = this._T_CHECKRESULT_Service.GetEntityByResultBH(this._Mdl_T_PACKAGES.RESULT_BH);
#endregion
后面还有 33 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。