Esempio n. 1
0
        public void CommitBusinessLicense(MerchantProfile profile)
        {
            var agent = new MerchantProfileAgent();
            var sr    = agent.CommitBusinessLicense(profile);

            if (sr)
            {
                new MerchantAccountDAC().UpdateL2VerfiyStatus(profile.MerchantId, (byte)VerifyStatus.UnderApproval);
            }
        }
Esempio n. 2
0
        public void CommitBusinessLicense(MerchantProfile profile)
        {
            var agent    = new MerchantProfileAgent();
            var merchant = new MerchantAccountDAC().GetById(profile.MerchantId);

            if (merchant.L2VerifyStatus != VerifyStatus.Uncertified && merchant.L2VerifyStatus != VerifyStatus.Disapproval)
            {
                throw new CommonException(ReasonCode.FiiiPosReasonCode.COMMITTED_STATUS, "该状态下不能提交审核。");
            }
            var sr = agent.CommitBusinessLicense(profile);

            if (sr)
            {
                new MerchantAccountDAC().UpdateL2VerfiyStatus(profile.MerchantId, (byte)VerifyStatus.UnderApproval);
            }
        }