Exemple #1
0
        public Result PatchPaymentFileCommitInterface(Req_KHKF01 req_KHKF01, string counterId = "")
        {
            var clff   = new CrossLineFastPaymentInterface(this.IsSpecialLine);
            var result = clff.PatchPaymentFileCommitInterface(req_KHKF01, counterId);

            return(CommUtils.ToResult(result));
        }
Exemple #2
0
        /// <summary>
        /// 3.1 批量付款文件提交 [KHKF01]
        /// </summary>
        /// <param name="req_KHKF01">请求参数</param>
        /// <param name="counterId">操作员</param>
        /// <returns></returns>
        public DataResult PatchPaymentFileCommitInterface(Req_KHKF01 req_KHKF01, string counterId = "")
        {
            //用于存放生成请求报文的参数
            ExHashTable parmaKeyDict = new ExHashTable();

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

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