| | |
| | | var logier = JwtUtils.GetCurrentLogier(); |
| | | var q = repTaskInfoUser.AsQueryable().AsNoTracking() |
| | | .OrderBy(it => it.CreatedTime) |
| | | .Where(it => it.TaskInfoId == request.TaskInfoId); |
| | | .Where(it => it.TaskInfoId == request.TaskInfoId && it.ArrangeStatus == EnumTaskUserArrangeStatus.Complete); |
| | | |
| | | if (logier.Type == EnumUserType.Personal) |
| | | { |
| | |
| | | .FirstOrDefaultAsync(); |
| | | if (wallet == null) throw Oops.Oh(EnumErrorCodeType.s404, "企业钱包"); |
| | | if (wallet.SignStatus != EnumEnterpriseWalletSignStatus.Normal) throw Oops.Oh(EnumErrorCodeType.s404, "企业钱包未签约"); |
| | | if (wallet.AccountBookStatus != EnumEnterpriseWalletAccountBookStatus.Normal) throw Oops.Oh(EnumErrorCodeType.s404, "企业钱包记账本未开通"); |
| | | if (wallet.AccountBookStatus != EnumEnterpriseWalletAccountBookStatus.Normal) throw Oops.Oh(EnumErrorCodeType.s510, "企业钱包记账本未开通"); |
| | | var response = alipayUtils.FundAccountbookQuery(new AlipayFundAccountbookQueryModel |
| | | { |
| | | AccountBookId = wallet.AccountBookId, |
| | |
| | | model.Scene = expandindirectOrder.Scene; |
| | | model.SceneDirections = expandindirectOrder.SceneDirections; |
| | | model.TaskFinishTime = expandindirectOrder.TaskFinishTime; |
| | | model.SitesInfo = expandindirectOrder.Sites.JsonTo<GetEnterpriseWalletExpandindirectOrderQueryResultSites>(); |
| | | model.SitesInfo = expandindirectOrder.Sites?.JsonTo<GetEnterpriseWalletExpandindirectOrderQueryResultSites>(); |
| | | model.Files = expandindirectOrder.Files?.Adapt<List<GetEnterpriseWalletExpandindirectOrderQueryResultFile>>() ?? new List<GetEnterpriseWalletExpandindirectOrderQueryResultFile>(); |
| | | model.ExpandindirectOrderStatus = expandindirectOrder.OrderStatus; |
| | | } |