using System; using System.Collections.Generic; using System.Linq; using System.Threading; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using WebSRM.Utility; namespace WebSRM.layuiAdmin.std_v1._2._1.src.views.SRM { public partial class xmlSRM_Web_PoBarCodeBillList : System.Web.UI.Page { protected void Page_Load(object sender, EventArgs e) { if (!IsPostBack) { try { var HuserName = Request.Params["linterid"];//用户名称 LogService.Write("HuserName:" + HuserName); var linterid = MemoryCacheHelper.GetCache(HuserName); LogService.Write("linterid:" + linterid); SqlXMLReportData.GenOneRecordset(this, "select * from h_v_SRM_BarCodeBillList where HItemID in(" + linterid + ") order by 物料编码,内外箱标识,当前托数"); } catch (ThreadAbortException ex) { LogService.Write("错误:" + ex.Message.ToString()); } catch (Exception ex) { LogService.Write("错误:" + ex.Message.ToString()); } //Page.RegisterStartupScript("ggg",) //SqlXMLReportData.GenOneRecordset(this, "select * from h_v_SRM_BarCodeBillList where HItemID in(" + window.localStorage.getItem('linterid') + ") order by 物料编码,内外箱标识,当前托数"); } } } }