public void CommitIdentityImage(MerchantProfile profile) { var agent = new MerchantProfileAgent(); var sr = agent.CommitIdentityImage(profile); if (sr) { new MerchantAccountDAC().UpdateL1VerfiyStatus(profile.MerchantId, (byte)VerifyStatus.UnderApproval); } }
public void CommitIdentityImage(MerchantProfile profile) { var agent = new MerchantProfileAgent(); var merchant = new MerchantAccountDAC().GetById(profile.MerchantId); if (merchant.L1VerifyStatus != VerifyStatus.Uncertified && merchant.L1VerifyStatus != VerifyStatus.Disapproval) { throw new CommonException(ReasonCode.FiiiPosReasonCode.COMMITTED_STATUS, "该状态下不能提交审核。"); } var sr = agent.CommitIdentityImage(profile); if (sr) { new MerchantAccountDAC().UpdateL1VerfiyStatus(profile.MerchantId, (byte)VerifyStatus.UnderApproval); } }