public void SetGroupPersonalAccountPlanReceiptOrder(PlanReceiptOrderDto entity, PersonalAccountDto personalAccount) { var planReceiptOrder = RepositoryFactory.Create <PlanReceiptOrder>().Get(entity.Rn); if (planReceiptOrder.PlanCertificates.Any(x => x.PlanReceiptOrderPersonalAccounts.Any(v => v.State == PlanReceiptOrderPersonalAccountState.Confirm))) { throw new CheckingSetStatePlanReceiptOrderInvalidException(Resource.PCO_17); } if (planReceiptOrder.PlanCertificates.Any(x => x.PlanReceiptOrderPersonalAccounts.Any(v => v.State == PlanReceiptOrderPersonalAccountState.Close))) { throw new CheckingSetStatePlanReceiptOrderInvalidException(Resource.PCO_18); } ExecuteStoreProcedure <PlanCertificate>( new PlanReceiptOrderSetGroupState( entity.MapTo <PlanReceiptOrder>(), personalAccount.MapTo <PersonalAccount>())); }
public void SetGroupStatusPlanCertificate(PlanCertificateDto planCertificate, PersonalAccountDto personalAccount) { }
public void SetGroupStatusPlanReceiptOrder(PlanReceiptOrderDto planReceiptOrderDto, PersonalAccountDto personalAccount) { }
public void SetGroupPersonalAccountPlanReceiptOrder(PlanReceiptOrderDto entity, PersonalAccountDto personalAccount) { throw new NotImplementedException(); }