using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using HNWD.Pregrant.Common; using HNWD.Pregrant.WebService; using HNWD.Pregrant.Model; namespace HNWD.DoctorHost.WebService.WDYS_I { public partial class callingMainDoctor_getcolleague : PageBase { protected void Page_Load(object sender, EventArgs e) { string staffid = this.GetValueByKey("staffid"); if (string.IsNullOrEmpty(staffid)) { this.ResponseDefaultError("传入参数无效或错误:{[1]-----[staffid]-----员工ID}"); return; } if (!this.InitializeDataAccess()) { this.ResponseDefaultError(PromptingMessage.Error_Data_Initialized); return; } Response.Write(JsonHelper.SerializeWithSuffix(this.wd_StaffInfoDataAccess.ext.messageDataList.Find(f => f.ID == staffid))); } } }