private void setRow3(ElecQueryDianFeiDetail info)
 {
     //custNo3 = info.custNo;
     username3.Dispatcher.Invoke(new setTextBlockTextDelegate(setTextBlockText), username3, yonhumingcheng);
     dfny3.Dispatcher.Invoke(new setTextBlockTextDelegate(setTextBlockText), dfny3, info.dfny);
     bbyjje3.Dispatcher.Invoke(new setTextBlockTextDelegate(setTextBlockText), bbyjje3, info.bbyjje);
     ysztStr = info.yszt;
     if ("01".Equals(ysztStr))
     {
         ysztStr = "欠费";
     }
     if ("02".Equals(ysztStr))
     {
         ysztStr = "部分结清";
     }
     yszt3.Dispatcher.Invoke(new setTextBlockTextDelegate(setTextBlockText), yszt3, ysztStr);
     panel3.Dispatcher.Invoke(new isShowGridDelegate(isShowGrid), panel3, true);
 }
示例#2
0
        /// <summary>
        /// 设置缴费参数
        /// </summary>
        /// <param name="param"></param>
        /// <param name="p"></param>
        private void initParam(Dictionary <string, string> param, PayParam p)
        {
            switch (p.serviceType)
            {
            case "1":
                param.Add("ipAddress", SysConfigHelper.readerNode("payResNewName"));
                break;

            case "2":
                //水务
                param.Add("ipAddress", SysConfigHelper.readerNode("PayName"));
                param.Add("billDate", Payment.waterPayParam.WaterQueryInfo.msgrsp.orderlist[0].billDate);
                break;

            case "3":
                //联通
                param.Add("phoneNo", Payment.unicomPayParam.PhoneOn);     // 手机号 varchar2(20)    否 由LT001接口返回
                param.Add("accountNo", Payment.unicomPayParam.AccountNo); // 账户号 varchar2(20)    否 由LT001接口返回
                param.Add("ipAddress", SysConfigHelper.readerNode("PayName"));
                break;

            case "4":
                //万通卡
                param.Add("ipAddress", SysConfigHelper.readerNode("PayName"));
                param.Add("operator", "162");
                param.Add("deptno", "0108");
                // param.Add("pursedetail", );
                param.Add("wtcardid", Payment.wintopReChargeParam.WtCardNo);
                param.Add("wtuserid", Payment.wintopReChargeParam.WintopQueryResult.USERID);
                param.Add("type", Payment.wintopReChargeParam.WintopQueryResult.TYPE);
                break;

            case "5":
                //物业
                if (SysBLL.payCostType == 10)
                {
                    param.Add("mobile", Payment.PropPayParam.Mobile);
                    param.Add("chargeseids", Payment.PropPayParam.ChargeList.chargeid);
                    param.Add("isOld", "0");
                }

                param.Add("ipAddress", SysConfigHelper.readerNode("PayName"));
                break;

            case "6":
                //电力
                param.Add("ipAddress", SysConfigHelper.readerNode("PayName"));
                if (Payment.elecPayParam.IsArrearage)
                {
                    //预缴费
                    param.Add("pre", "yes");
                    param.Add("dzpc", "0");
                    param.Add("yhbh", Payment.elecPayParam.Account);
                    param.Add("ysje", Payment.elecPayParam.RechageAmount);
                    param.Add("isPrint", "1");
                    param.Add("jfbs", "0");
                }
                else
                {
                    //欠费缴纳
                    param.Add("pre", "no");
                    param.Add("dzpc", Payment.elecPayParam.Param.dzpc);
                    param.Add("yhbh", Payment.elecPayParam.Account);
                    param.Add("ysje", Payment.elecPayParam.RechageAmount);
                    param.Add("isPrint", "1");
                    param.Add("jfbs", Payment.elecPayParam.Param.jfbs);
                    ElecQueryDianFeiDetail list = Payment.elecPayParam.ElecQueryDianFeiDetail;
                    Payment.elecPayParam.Param.jfmx = list.yhbh + "-" + list.ysbz + "-" + Payment.elecPayParam.RechageAmount + "-" + list.dfje + "-" + list.wyjje + "-" + list.sctw + "-" + list.bctw;
                    log.Write("电力缴费明细:" + Payment.elecPayParam.Param.jfmx);
                    param.Add("jfmx", Payment.elecPayParam.Param.jfmx);
                }
                break;

            case "7":
                //广电
                param.Add("ipAddress", SysConfigHelper.readerNode("PayName"));
                break;

            case "8":
                //热力
                param.Add("ipAddress", SysConfigHelper.readerNode("PayName"));
                break;

            case "9":
                //移动
                param.Add("mobile", Payment.mobilePayParam.PhoneOn);
                param.Add("homeRegion", Payment.mobilePayParam.QueryInfo.msgrsp.homeRegion);
                param.Add("homeOffice", Payment.mobilePayParam.QueryInfo.msgrsp.homeOffice);
                param.Add("contractNo", Payment.mobilePayParam.QueryInfo.msgrsp.contractNo);
                param.Add("overdueMoney", Payment.mobilePayParam.QueryInfo.msgrsp.overdueMoney);
                param.Add("prepaidBalance", Payment.mobilePayParam.QueryInfo.msgrsp.prepaidBalance);
                param.Add("changeBalance", Payment.mobilePayParam.QueryInfo.msgrsp.changeBalance);
                param.Add("channelNo", "002");
                param.Add("ipAddress", SysConfigHelper.readerNode("PayName"));
                break;

            case "10":
                break;

            case "5_2":
                //物业2
                param.Add("ipAddress", SysConfigHelper.readerNode("PayName"));
                param.Add("SC10014", Payment.propSecPayParam.PrimaryKey);
                break;
            }
        }