using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using HNWD.Pregrant.WebService; using HNWD.Pregrant.Model; using System.Text; using HNWD.Pregrant.DataAccess; using HNWD.Pregrant.Common; using HNWD.Pregrant.BusinessLogic; namespace HNWD.Pregrant.WebService.MgrCSharp { public partial class GetWD_PatientInfo : PageBase { protected void Page_Load(object sender, EventArgs e) { string ID = this.GetValueByKey("ID"); if(string.IsNullOrEmpty(ID)) { this.ResponseDefaultError(); return; } if (!this.InitializeDataAccess()) { this.ResponseDefaultError(); return; } WD_PatientInfo wd_PatientInfo = this.wd_PatientInfoDataAccess.ext.messageDataList.Find(f=>f.ID == ID); if(wd_PatientInfo == null) { this.ResponseDefaultError(PromptingMessage.Error_PatientInfo); return; } this.Response.Write(JsonHelper.SerializeWithSuffix(wd_PatientInfo)); WD_SysLogInfo wd_SysLogInfo = new WD_SysLogInfo(); wd_SysLogInfo.LOG_TYPE = "3"; wd_SysLogInfo.LOG_SOURCE ="MGR"; wd_SysLogInfo.LOG_CONTENT ="下载了病人数据"; this.DataBaseLog(wd_SysLogInfo); } } }