public object Register(System.Collections.Hashtable hashtable) { try { datasource.OperationId = _Register_OperationId; datasource.PutParamByName = CxNhBaseData.Put_01201Dic(hashtable); if (datasource.Execute()) { string flag = datasource.GetDataReslut("Flag"); if (flag == "0") { string Id = datasource.GetDataReslut("Id"); datasource.Complete(ref _message); return(Id); } else { datasource.Complete(ref _message); throw new Exception("入院登记失败!" + datasource.GetDataReslut("Message")); } } return(null); } catch (Exception err) { datasource.Complete(ref _message); throw new Exception(err.Message); } }
//11011 public string JudgeSingleContentMatch(System.Collections.Hashtable hashtable) { datasource.OperationId = _JudgeSingleContentMatch_OperationId; datasource.PutParamByName = CxNhBaseData.Put_11011Dic(hashtable); if (datasource.Execute()) { string flag = datasource.GetDataReslut("Flag"); if (flag == "0") { string Serial_match = datasource.GetDataReslut("Serial_match"); datasource.Complete(); return(Serial_match); } else { datasource.Complete(); return("-1"); //throw new Exception("上传匹配数据失败:" + datasource.GetErrorMessage()); } } return(null); }