|
|
@ -101,7 +101,7 @@ namespace DS.WMS.Core.Op.Method
|
|
|
|
/// </summary>
|
|
|
|
/// </summary>
|
|
|
|
/// <param name="querySearch">查询条件</param>
|
|
|
|
/// <param name="querySearch">查询条件</param>
|
|
|
|
/// <returns>返回回执</returns>
|
|
|
|
/// <returns>返回回执</returns>
|
|
|
|
public async Task<DataResult<List<BLIssueManageBaseDto>>> GetPageAsync(PageRequest querySearch)
|
|
|
|
public async Task<DataResult<List<BLIssueManageBaseDto>>> GetPageAsync(PageRequest<BLIssueMangeQueryExtDto> querySearch)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
/*
|
|
|
|
/*
|
|
|
|
1、海运出口的订单数据跟提单管理表的数据关联,有提单记录的以提单记录为准。
|
|
|
|
1、海运出口的订单数据跟提单管理表的数据关联,有提单记录的以提单记录为准。
|
|
|
@ -110,8 +110,14 @@ namespace DS.WMS.Core.Op.Method
|
|
|
|
|
|
|
|
|
|
|
|
var query = tenantDb.Queryable<SeaExport>().ClearFilter(typeof(IOrgId))
|
|
|
|
var query = tenantDb.Queryable<SeaExport>().ClearFilter(typeof(IOrgId))
|
|
|
|
.LeftJoin<BLIssueManageBase>((l, r) => l.Id == r.BookingId)
|
|
|
|
.LeftJoin<BLIssueManageBase>((l, r) => l.Id == r.BookingId)
|
|
|
|
|
|
|
|
.WhereIF(querySearch.OtherQueryCondition != null && !string.IsNullOrWhiteSpace(querySearch.OtherQueryCondition.QueryTabCode)
|
|
|
|
|
|
|
|
&& querySearch.OtherQueryCondition.QueryTabCode.Equals("CheckInQuery",StringComparison.OrdinalIgnoreCase),(l,r)=> r.IsCheckIn == false)
|
|
|
|
|
|
|
|
.WhereIF(querySearch.OtherQueryCondition != null && !string.IsNullOrWhiteSpace(querySearch.OtherQueryCondition.QueryTabCode)
|
|
|
|
|
|
|
|
&& querySearch.OtherQueryCondition.QueryTabCode.Equals("CheckOutQuery", StringComparison.OrdinalIgnoreCase), (l, r) => r.IsCheckIn == true)
|
|
|
|
.Select((l, r) => new { order = l, bl = r });
|
|
|
|
.Select((l, r) => new { order = l, bl = r });
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
BLIssueMangeQueryExtDto otherQuery = null;
|
|
|
|
|
|
|
|
|
|
|
|
if (!querySearch.QueryCondition.IsNullOrEmpty())
|
|
|
|
if (!querySearch.QueryCondition.IsNullOrEmpty())
|
|
|
|
{
|
|
|
|
{
|
|
|
|
var whereList = querySearch.GetConditionalModels(db);
|
|
|
|
var whereList = querySearch.GetConditionalModels(db);
|
|
|
@ -176,6 +182,8 @@ namespace DS.WMS.Core.Op.Method
|
|
|
|
BusiTypeName = BLIssueBusiTypeEnum.SeaExport.GetDescription(),
|
|
|
|
BusiTypeName = BLIssueBusiTypeEnum.SeaExport.GetDescription(),
|
|
|
|
BLType = BLTypeEnum.BL.ToString(),
|
|
|
|
BLType = BLTypeEnum.BL.ToString(),
|
|
|
|
BLTypeName = BLTypeEnum.BL.GetDescription(),
|
|
|
|
BLTypeName = BLTypeEnum.BL.GetDescription(),
|
|
|
|
|
|
|
|
StlDate = data.order.StlDate,
|
|
|
|
|
|
|
|
|
|
|
|
});
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
start++;
|
|
|
|
start++;
|
|
|
@ -192,7 +200,7 @@ namespace DS.WMS.Core.Op.Method
|
|
|
|
/// </summary>
|
|
|
|
/// </summary>
|
|
|
|
/// <param name="querySearch">查询条件</param>
|
|
|
|
/// <param name="querySearch">查询条件</param>
|
|
|
|
/// <returns>返回回执</returns>
|
|
|
|
/// <returns>返回回执</returns>
|
|
|
|
public async Task<DataResult<List<BLIssueManageBaseDto>>> GetExportList(PageRequest querySearch)
|
|
|
|
public async Task<DataResult<List<BLIssueManageBaseDto>>> GetExportList(PageRequest<BLIssueMangeQueryExtDto> querySearch)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
var tenantDb = saasService.GetBizDbScopeById(user.TenantId);
|
|
|
|
var tenantDb = saasService.GetBizDbScopeById(user.TenantId);
|
|
|
|
|
|
|
|
|
|
|
|