public Result_1342 QueryTradeResultByOrderIdInterface(string serialNumber, Req_1342 req_1342, string counterId = "") { SpotTranInterface client = new SpotTranInterface(); var result = client.QueryTradeResultByOrderIdInterface(serialNumber, req_1342, counterId); return(new Result_1342() { Data = result.Model, RspCode = result.RspCode, RspMsg = result.RspMsg }); }
/// <summary> /// 根据订单号查询会员交易流水结果【1342】(郑大专用) /// </summary> /// <param name="serialNumber">请求流水号</param> /// <param name="req_1342">请求参数</param> /// <param name="counterId">操作员号 5位</param> /// <returns></returns> public DataResult QueryTradeResultByOrderIdInterface(string serialNumber, Req_1342 req_1342, string counterId = "") { //用于存放生成请求报文的参数 ExHashTable parmaKeyDict = new ExHashTable(); //请求流水号 //string serialNumber = AssistantHelper.GetOrderId(6, "yyyyMMddHHmmss", ""); //交易码 parmaKeyDict.Add("TranFunc", "1342"); //请求流水号 parmaKeyDict.Add("ThirdLogNo", serialNumber); //操作员号 parmaKeyDict.Add("CounterId", counterId); //传递对象 parmaKeyDict.Add("Model", req_1342); //获取结果 var retKeyDict = GetResult(parmaKeyDict); if (retKeyDict.RspCode.Equals("000000")) { retKeyDict.Model = retKeyDict.ToModel <Res_1342>(); } return(retKeyDict); }