public override void Execute(EciContext context) { this.ServiceId = MESService.MesBdGdzcTqyjlSearch; SearchResult result = MesBdGdzcTqyjlBLL.Instance.Search(context.BLLContext, context.Request.Paging, context.Request.Entity); SearchHelper.ConvertToContext(context, result); }
public override void Execute(EciContext context) { this.ServiceId = MESService.MesBdZyGetLower; string id = context.Request["ID"]; DataTable data = MesBdZyBLL.Instance.GetLower(context.BLLContext, id); context.Response.DataTable = data; }
public override void Execute(EciContext context) { this.ServiceId = MESService.MesBdGysGywlDelete; List <string> listKey = context.Request.ListKey; MesBdGysGywlBLL.Instance.Delete(context.BLLContext, context.Request.ListKey); context.Response.Message = "删除成功"; }
public override void Execute(EciContext context) { this.ServiceId = MESService.MesBdGdzcSave; EntityBase saveEntity = context.Request.Entity; bool isAdd = context.Request.IsAdd; context.Response.Entity = MesBdGdzcBLL.Instance.Save(context.BLLContext, saveEntity, isAdd); context.Response.Message = isAdd? "新增成功":"修改成功"; }
public override void Execute(EciContext context) { this.ServiceId = MESService.ImportSearch; string bizType = context.Request["BIZ_TYPE"].ToString(); string bizNo = context.Request["BIZ_NO"].ToString(); SearchResult result = ImportBLL.Instance.ImportSearch(context.BLLContext, context.Request.Paging, context.Request.Entity, bizType, bizNo); SearchHelper.ConvertToContext(context, result); }
public override void Execute(EciContext context) { this.ServiceId = MESService.MesBdZyImport; EntityBase saveEntity = context.Request.Entity; bool isAdd = context.Request.IsAdd; MesBdZyBLL.Instance.MesBdZyImport(context.BLLContext, saveEntity, context.Request.DataSet); context.Response.Message = "导入成功"; }
public override void Execute(EciContext context) { this.ServiceId = MESService.MesBdDeptLoad; context.Response.DataTable = MesBdDeptBLL.Instance.Load(context.BLLContext, context.Request.Key); }