Esempio n. 1
0
        private void ModifyAlipayStatus(WithholdingView alipayWithholding)
        {
            ProtocolDTO protocolDTO = new ProtocolDTO()
            {
                ChannelId = 1, AccountNo = alipayWithholding.AccountNo
            };
            bool isProtocol = AccountFillService.QueryProtocolStaus(protocolDTO);

            if (isProtocol)
            {
                setWithholding(alipayWithholding.AccountNo, WithholdingProtocolStatus.Success);
                hfdIsProtocol.Value = "false";
            }
        }
Esempio n. 2
0
        protected void btnGetWithholdingStatus_Click(object sender, EventArgs e)
        {
            string alipayAccountNo = txtAliPayNo.Text.Trim();

            if (!validationAlipay(alipayAccountNo))
            {
                return;
            }
            ProtocolDTO protocolDTO = new ProtocolDTO()
            {
                ChannelId = 1, AccountNo = alipayAccountNo
            };

            if (AccountFillService.QueryProtocolStaus(protocolDTO))
            {
                setWithholding(alipayAccountNo, WithholdingProtocolStatus.Success);
                ShowMessage("签约成功");
            }
            else
            {
                ShowMessage("签约失败");
            }
        }