/// <summary>
 /// 插入手术代码
 /// </summary>
 /// <param name="checkPatientModel"></param>
 /// <returns></returns>
 public int InsertOperationInfo(OperationInfo operationInfo)
 {
     SqlMapper.Insert("InsertOperationInfo", operationInfo);
     return 1;
 }
Example #2
0
 static void Main(string[] args)
 {
     OperationInfo orgnization = new OperationInfo();
     var lstOrgnization = OperationDao.Instance.GetOperationInfos(orgnization);
 }
 /// <summary>
 /// 获取手术代码
 /// </summary>
 /// <param name="criteria"></param>
 /// <returns></returns>
 public IList<OperationInfo> GetOperationInfos(OperationInfo operationInfo)
 {
     var reValue = NurDocSqlMapper.QueryForList<OperationInfo>("GetOperationInfos", operationInfo);
     logger.Debug("GetOperationInfos:" + (reValue == null ? 0 : reValue.Count));
     return reValue;
 }
 public void GetOperationInfosTest()
 {
     OperationInfo orgnization = new OperationInfo();
     var lstOrgnization = OperationDao.Instance.GetOperationInfos(orgnization);
 }