Beispiel #1
0
 /// <summary>
 /// 根据id值查找医嘱出院申请AggDO数据
 /// </summary>
 /// <param name="id"></param>
 /// <returns></returns>
 public OrdApOutDO findById(String id)
 {
     #region "缓存处理"
     if (ch.IsCached("findById"))
     {
         return(ch.findById(id));
     }
     #endregion
     List <object> param = new List <object>();
     param.Add(id);
     si.url = url_r;
     OrdApOutDO rtn = si.invoke <OrdApOutDO>("findById", param.ToArray());
     return(rtn);
 }
        public void SetApOut(EmsUIDTO emsHeadDO, CiorderAggDO agg)
        {
            OrdApOutDO apout = new OrdApOutDO();

            //if (agg != null && agg.getOrdApConsDO() != null)
            //{
            //    OrdApOutDO sr = agg.getOrdApOutDO().FirstOrDefault(p => p.Id_orout == emsHeadDO.Emsapout.Id_emsapout);
            //    if (sr != null)
            //    {
            //        apout = sr;
            //        apout.Status = DOStatus.UPDATED;
            //    }
            //}

            //agg.setOrdApOutDO(new OrdApOutDO[] { orDataBing.SaveApOutDataBing(emsHeadDO, apout) });
        }