|
|
|
@ -12,7 +12,6 @@ using DS.WMS.Core.Settlement.Dtos;
|
|
|
|
|
using DS.WMS.Core.Settlement.Entity;
|
|
|
|
|
using DS.WMS.Core.Settlement.Interface;
|
|
|
|
|
using DS.WMS.Core.Sys.Entity;
|
|
|
|
|
using Mapster;
|
|
|
|
|
using SqlSugar;
|
|
|
|
|
|
|
|
|
|
namespace DS.WMS.Core.Settlement.Method
|
|
|
|
@ -239,7 +238,7 @@ namespace DS.WMS.Core.Settlement.Method
|
|
|
|
|
.Select(x => x.OrgName).FirstAsync();
|
|
|
|
|
|
|
|
|
|
if (model.OrgBankId.HasValue)
|
|
|
|
|
model.OrgBankName = await TenantDb.Queryable<SysBank>().Where(x => x.Id == model.OrgBankId.Value)
|
|
|
|
|
model.OrgBankName = await Db.Queryable<SysBank>().Where(x => x.Id == model.OrgBankId.Value)
|
|
|
|
|
.Select(x => x.BankName + " " + x.BankAccountNo).FirstAsync();
|
|
|
|
|
|
|
|
|
|
model.SettlementDetails = await CreateApplicationDetailQuery((d, f, s) => d.ApplicationId == id)
|
|
|
|
|