Exemplo n.º 1
0
        /// <summary>
        /// 根据发票请求流水号查找对应记录信息
        /// </summary>
        /// <param name="p_strAppid_chr">发票请求流水号</param>
        /// <param name="p_objResult"></param>
        /// <returns>返回操作是否成功  [小于等于0:不成功、大于0:成功]</returns>
        public long m_lngGetApplyInvoice(string p_strAppid_chr, out clsT_opr_opinvoiceman_VO p_objResult)
        {
            long lngRes = 0;

            com.digitalwave.iCare.middletier.HIS.clsInvoiceManageSvc objSvc =
                (com.digitalwave.iCare.middletier.HIS.clsInvoiceManageSvc)com.digitalwave.iCare.common.clsObjectGenerator.objCreatorObjectByType(typeof(com.digitalwave.iCare.middletier.HIS.clsInvoiceManageSvc));
            lngRes = objSvc.m_lngGetApplyInvoice(objPrincipal, p_strAppid_chr, out p_objResult);
            objSvc.Dispose();
            return(lngRes);
        }
Exemplo n.º 2
0
        /// <summary>
        /// 查询请领的发票
        /// </summary>
        /// <param name="p_strQueryCondition">查询条件</param>
        /// <param name="p_objResultArr"></param>
        /// <returns>返回操作是否成功  [小于等于0:不成功、大于0:成功]</returns>
        public long m_lngGetApplyInvoice(string p_strQueryCondition, out clsT_opr_opinvoiceman_VO[] p_objResultArr)
        {
            long lngRes = 0;

            //确保Sql语句查询部分合法
            p_strQueryCondition = " 1=1 AND " + p_strQueryCondition;
            com.digitalwave.iCare.middletier.HIS.clsInvoiceManageSvc objSvc =
                (com.digitalwave.iCare.middletier.HIS.clsInvoiceManageSvc)com.digitalwave.iCare.common.clsObjectGenerator.objCreatorObjectByType(typeof(com.digitalwave.iCare.middletier.HIS.clsInvoiceManageSvc));
            lngRes = objSvc.m_lngGetApplyInvoice(objPrincipal, p_strQueryCondition, out p_objResultArr);
            objSvc.Dispose();
            return(lngRes);
        }