修改注释

usertest
嵇文龙 5 months ago
parent c7de0ae2cf
commit 062270e1fe

@ -124,9 +124,11 @@ namespace DS.WMS.Core.Fee.Method
/// <returns></returns> /// <returns></returns>
public async Task<DataResult<FeeBiz>> GetFeeBizAsync(long id, BusinessType businessType, long customerId) public async Task<DataResult<FeeBiz>> GetFeeBizAsync(long id, BusinessType businessType, long customerId)
{ {
FeeBiz model = new FeeBiz(); FeeBiz model = new()
model.ReceivableTotal = (await TenantDb.Queryable<FeeRecord>().Where(x => x.CustomerId == customerId {
&& x.FeeType == FeeType.Receivable && x.FeeStatus == FeeStatus.AuditPassed).SumAsync(x => x.Amount)).GetValueOrDefault(); ReceivableTotal = (await TenantDb.Queryable<FeeRecord>().Where(x => x.CustomerId == customerId
&& x.FeeType == FeeType.Receivable && x.FeeStatus == FeeStatus.AuditPassed).SumAsync(x => x.Amount)).GetValueOrDefault()
};
var fees = await TenantDb.Queryable<FeeRecord>().Where(x => var fees = await TenantDb.Queryable<FeeRecord>().Where(x =>
x.BusinessId == id && x.BusinessType == businessType && x.FeeStatus == FeeStatus.AuditPassed) x.BusinessId == id && x.BusinessType == businessType && x.FeeStatus == FeeStatus.AuditPassed)

@ -119,7 +119,6 @@ public class ClientFlowInstanceController : ApiController
/// </summary> /// </summary>
/// <param name="businessId">业务ID</param> /// <param name="businessId">业务ID</param>
/// <param name="businessType">业务类型(可空)</param> /// <param name="businessType">业务类型(可空)</param>
/// <param name="type">流程类型</param>
/// <returns></returns> /// <returns></returns>
[HttpGet, Route("GetFlowContent")] [HttpGet, Route("GetFlowContent")]
public DataResult<List<FlowInstanceRes>> GetFlowContent([FromQuery] long businessId, [FromQuery] BusinessType? businessType) public DataResult<List<FlowInstanceRes>> GetFlowContent([FromQuery] long businessId, [FromQuery] BusinessType? businessType)

Loading…
Cancel
Save