|
|
|
@ -790,10 +790,10 @@ public partial class SeaExportService : ISeaExportService
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="id"></param>
|
|
|
|
|
/// <returns></returns>
|
|
|
|
|
public async Task<DataResult<SeaExportRes>> GetSeaExportInfo(string id)
|
|
|
|
|
public DataResult<SeaExportRes> GetSeaExportInfo(string id)
|
|
|
|
|
{
|
|
|
|
|
var tenantDb = saasService.GetBizDbScopeById(user.TenantId);
|
|
|
|
|
var data = await tenantDb.Queryable<SeaExport>()
|
|
|
|
|
var data = tenantDb.Queryable<SeaExport>()
|
|
|
|
|
.ClearFilter(typeof(IOrgId))
|
|
|
|
|
.Where(a => a.Id == long.Parse(id))
|
|
|
|
|
.Select<SeaExportRes>()
|
|
|
|
@ -807,8 +807,8 @@ public partial class SeaExportService : ISeaExportService
|
|
|
|
|
it.CtnInfo = await tenantDb.Queryable<OpCtn>().ClearFilter(typeof(IOrgId)).Where(x => x.BSNO == it.Id.ToString()).Select<OpCtnRes>().ToListAsync();
|
|
|
|
|
it.CtnPriceInfo = await tenantDb.Queryable<BusinessCtnPrice>().Where(x => x.BusinessId == it.Id).Select<BusinessCtnPriceRes>().ToListAsync();
|
|
|
|
|
})
|
|
|
|
|
.FirstAsync();
|
|
|
|
|
return await Task.FromResult(DataResult<SeaExportRes>.Success(data, MultiLanguageConst.DataQuerySuccess));
|
|
|
|
|
.First();
|
|
|
|
|
return DataResult<SeaExportRes>.Success(data, MultiLanguageConst.DataQuerySuccess);
|
|
|
|
|
}
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 批量更新
|
|
|
|
|