예제 #1
0
        public Result SinglePaymentResultQueryInterface(Req_KHKF04 req_KHKF04, string counterId = "")
        {
            var clff   = new CrossLineFastPaymentInterface(this.IsSpecialLine);
            var result = clff.SinglePaymentResultQueryInterface(req_KHKF04, counterId);

            return(CommUtils.ToResult(result));
        }
예제 #2
0
        /// <summary>
        /// 3.4 单笔付款结果查询[KHKF04]
        /// </summary>
        /// <param name="req_KHKF04">请求参数</param>
        /// <param name="counterId">操作员</param>
        /// <returns></returns>
        public DataResult SinglePaymentResultQueryInterface(Req_KHKF04 req_KHKF04, string counterId = "")
        {
            //用于存放生成请求报文的参数
            ExHashTable parmaKeyDict = new ExHashTable();

            //请求流水号
            //string serialNumber = AssistantHelper.GetOrderId(6, "yyyyMMddHHmmss", "");
            //交易码
            parmaKeyDict.Add("TranFunc", "KHKF04");
            //请求流水号
            parmaKeyDict.Add("ThirdLogNo", req_KHKF04.OrderNumber);
            //操作员号
            parmaKeyDict.Add("CounterId", counterId);
            //传递对象
            parmaKeyDict.Add("Model", req_KHKF04);
            //获取结果
            var retKeyDict = GetResult(parmaKeyDict);

            if (retKeyDict.RspCode.Equals("000000"))
            {
                retKeyDict.Model = retKeyDict.ToModel <DynamicXml>().To_KHKF04();
            }
            return(retKeyDict);
        }