注塑喷涂
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

52 lines
1.3 KiB

using MESClassLibrary;
using MESClassLibrary.BLL.Injection;
using MESClassLibrary.BLL.Log;
using MESClassLibrary.Model;
using System;
using System.Reflection;
using System.Web.Services;
namespace MESWebSite.Manage
{
public partial class QualifiedDay : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
}
[WebMethod]
public static string GetDate(string StartTime)
{
try
{
InjectionRecordBLL bll = new InjectionRecordBLL();
return bll.SearchQualifiedDay(StartTime);
}
catch (Exception ex)
{
LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod());
return "";
}
}
[WebMethod]
public static string GetBarDate(string StartTime)
{
try
{
InjectionRecordBLL bll = new InjectionRecordBLL();
EcharBarModel md = bll.SearchQualifiedDayBar(StartTime);
return JSONTools.ScriptSerialize(md);
}
catch (Exception ex)
{
LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod());
return "";
}
}
}
}