Ejemplo n.º 1
0
        /// <summary>
        /// 插入新记录


        /// </summary>
        /// <param name="ybDefPayTypeVO"></param>
        /// <returns></returns>
        public long m_lngInsert(clsYBDefPayTypeVO ybDefPayTypeVO)
        {
            long lngRes = 0;

            try
            {
                com.digitalwave.iCare.middletier.HIS.clsYBDefPayTypeSvc kk =
                    (com.digitalwave.iCare.middletier.HIS.clsYBDefPayTypeSvc)com.digitalwave.iCare.common.clsObjectGenerator.objCreatorObjectByType(typeof(com.digitalwave.iCare.middletier.HIS.clsYBDefPayTypeSvc));
                lngRes = kk.m_lngInsert(ybDefPayTypeVO);
            }
            catch (Exception objEx)
            {
                lngRes = 0;
                new clsLogText().LogError(objEx);
            }
            return(lngRes);
        }
Ejemplo n.º 2
0
        public long m_lngDelete(clsYBDefPayTypeVO objGroup)
        {
            long lngRes = 0;

            try
            {
                com.digitalwave.iCare.middletier.HIS.clsYBDefPayTypeSvc kk =
                    (com.digitalwave.iCare.middletier.HIS.clsYBDefPayTypeSvc)com.digitalwave.iCare.common.clsObjectGenerator.objCreatorObjectByType(typeof(com.digitalwave.iCare.middletier.HIS.clsYBDefPayTypeSvc));
                lngRes = kk.m_lngDelete(objGroup);
            }
            catch
            {
                lngRes = 0;
            }

            return(lngRes);
        }
Ejemplo n.º 3
0
        public long m_lngFind(string payTypeId, out clsYBDefPayTypeVO ybDefPayType)
        {
            long lngRes = 0;

            ybDefPayType = null;

            try
            {
                com.digitalwave.iCare.middletier.HIS.clsYBDefPayTypeSvc kk =
                    (com.digitalwave.iCare.middletier.HIS.clsYBDefPayTypeSvc)com.digitalwave.iCare.common.clsObjectGenerator.objCreatorObjectByType(typeof(com.digitalwave.iCare.middletier.HIS.clsYBDefPayTypeSvc));
                lngRes = kk.m_lngFind(payTypeId, out ybDefPayType);
            }
            catch (Exception objEx)
            {
                lngRes = 0;
                new clsLogText().LogError(objEx);
            }
            return(lngRes);
        }