Esempio n. 1
0
        public long m_lngDeleteApplication(string applicationId)
        {
            long lngRes = 0;
            clsApplicationSvc objServ = new clsApplicationSvc();

            lngRes = objServ.m_lngDeleteApp(applicationId, "");
            return(lngRes);
        }
Esempio n. 2
0
        /// <summary>
        ///新增检验申请单
        /// </summary>
        /// <param name="objApplMainVO"></param>
        /// <returns></returns>
        public long m_lngAddNewApplication(clsLisApplMainVO objApplMainVO)
        {
            clsLisApplMainVO objOutVO = null;
            long             lngRes   = 0;

            clsApplicationSvc objAppSvc =
                (clsApplicationSvc)com.digitalwave.iCare.common.clsObjectGenerator.objCreatorObjectByType(typeof(clsApplicationSvc));

            try
            {
                lngRes = objAppSvc.m_lngAddNewAppl(objPrincipal, objApplMainVO, out objOutVO);
                if (lngRes > 0 && objOutVO != null)
                {
                    objOutVO.m_mthCopyTo(objApplMainVO);
                }
            }
            catch
            {
                lngRes = 0;
            }
            return(lngRes);
        }