diff --git a/ds-wms-service/DS.WMS.Core/Fee/Method/FeeApplicationAuditService.cs b/ds-wms-service/DS.WMS.Core/Fee/Method/FeeApplicationAuditService.cs index 92e8a9d4..03944206 100644 --- a/ds-wms-service/DS.WMS.Core/Fee/Method/FeeApplicationAuditService.cs +++ b/ds-wms-service/DS.WMS.Core/Fee/Method/FeeApplicationAuditService.cs @@ -124,9 +124,11 @@ namespace DS.WMS.Core.Fee.Method /// public async Task> GetFeeBizAsync(long id, BusinessType businessType, long customerId) { - FeeBiz model = new FeeBiz(); - model.ReceivableTotal = (await TenantDb.Queryable().Where(x => x.CustomerId == customerId - && x.FeeType == FeeType.Receivable && x.FeeStatus == FeeStatus.AuditPassed).SumAsync(x => x.Amount)).GetValueOrDefault(); + FeeBiz model = new() + { + ReceivableTotal = (await TenantDb.Queryable().Where(x => x.CustomerId == customerId + && x.FeeType == FeeType.Receivable && x.FeeStatus == FeeStatus.AuditPassed).SumAsync(x => x.Amount)).GetValueOrDefault() + }; var fees = await TenantDb.Queryable().Where(x => x.BusinessId == id && x.BusinessType == businessType && x.FeeStatus == FeeStatus.AuditPassed) diff --git a/ds-wms-service/DS.WMS.MainApi/Controllers/ClientFlowInstanceController.cs b/ds-wms-service/DS.WMS.MainApi/Controllers/ClientFlowInstanceController.cs index 2b3a11b2..a8a2b91f 100644 --- a/ds-wms-service/DS.WMS.MainApi/Controllers/ClientFlowInstanceController.cs +++ b/ds-wms-service/DS.WMS.MainApi/Controllers/ClientFlowInstanceController.cs @@ -119,7 +119,6 @@ public class ClientFlowInstanceController : ApiController /// /// 业务ID /// 业务类型(可空) - /// 流程类型 /// [HttpGet, Route("GetFlowContent")] public DataResult> GetFlowContent([FromQuery] long businessId, [FromQuery] BusinessType? businessType)