|
|
|
@ -207,12 +207,12 @@ public partial class SeaExportService : ISeaExportService
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="request"></param>
|
|
|
|
|
/// <returns></returns>
|
|
|
|
|
public DataResult<List<SeaExportRes>> GetListByPage(PageRequest request)
|
|
|
|
|
public async Task<DataResult<List<SeaExportRes>>> GetListByPage(PageRequest request)
|
|
|
|
|
{
|
|
|
|
|
var tenantDb = saasService.GetBizDbScopeById(user.TenantId);
|
|
|
|
|
//序列化查询条件
|
|
|
|
|
var whereList = db.ConfigQuery.Context.Utilities.JsonToConditionalModels(request.QueryCondition);
|
|
|
|
|
var data = tenantDb.Queryable<SeaExport>()
|
|
|
|
|
var data = await tenantDb.Queryable<SeaExport>()
|
|
|
|
|
.Where(whereList)
|
|
|
|
|
.Select<SeaExportRes>()
|
|
|
|
|
.Mapper(it =>
|
|
|
|
@ -229,7 +229,7 @@ public partial class SeaExportService : ISeaExportService
|
|
|
|
|
it.BillFeeStatus = feeStatus.IsNull() ? 0 : feeStatus.BillAuditStatus;
|
|
|
|
|
it.BillFeeStatusTime = feeStatus.IsNull() ? null : feeStatus.BillFeeStatusTime;
|
|
|
|
|
}
|
|
|
|
|
).ToQueryPage(request.PageCondition);
|
|
|
|
|
).ToQueryPageAsync(request.PageCondition);
|
|
|
|
|
return data;
|
|
|
|
|
}
|
|
|
|
|
/// <summary>
|
|
|
|
|