diff --git a/ds-wms-service/DS.WMS.Core/Op/Dtos/BLIssueManage/BLIssueManageBaseDto.cs b/ds-wms-service/DS.WMS.Core/Op/Dtos/BLIssueManage/BLIssueManageBaseDto.cs
index 4b1237b4..f6354384 100644
--- a/ds-wms-service/DS.WMS.Core/Op/Dtos/BLIssueManage/BLIssueManageBaseDto.cs
+++ b/ds-wms-service/DS.WMS.Core/Op/Dtos/BLIssueManage/BLIssueManageBaseDto.cs
@@ -396,5 +396,15 @@ namespace DS.WMS.Core.Op.Dtos
/// 是否换签(背书)
///
public bool IsChangeEndorse { get; set; }
+
+ ///
+ /// Desc:单证
+ ///
+ public long Doc { get; set; }
+
+ ///
+ /// 单证人员
+ ///
+ public string DocName { get; set; }
}
}
diff --git a/ds-wms-service/DS.WMS.Core/Op/Dtos/BLIssueManage/BLIssueMangeQueryExtDto.cs b/ds-wms-service/DS.WMS.Core/Op/Dtos/BLIssueManage/BLIssueMangeQueryExtDto.cs
index 0d32c61a..f8f6943b 100644
--- a/ds-wms-service/DS.WMS.Core/Op/Dtos/BLIssueManage/BLIssueMangeQueryExtDto.cs
+++ b/ds-wms-service/DS.WMS.Core/Op/Dtos/BLIssueManage/BLIssueMangeQueryExtDto.cs
@@ -4,7 +4,7 @@ using System.Linq;
using System.Text;
using System.Threading.Tasks;
-namespace DS.WMS.Core.Op.Dtos.BLIssueManage
+namespace DS.WMS.Core.Op.Dtos
{
///
///
@@ -15,5 +15,15 @@ namespace DS.WMS.Core.Op.Dtos.BLIssueManage
/// 台账状态标签代码
///
public string QueryTabCode { get; set; }
+
+ ///
+ /// 主分单(M-主单,H-分单)
+ ///
+ public string MHouseFlag { get; set; }
+
+ ///
+ /// 收费状态(ALL-全部,NORECV-仅未收,RECV-仅已收)
+ ///
+ public string ChargeFeeStaus { get; set; }
}
}
diff --git a/ds-wms-service/DS.WMS.Core/Op/Dtos/Enum/BLQueryStatusEnum.cs b/ds-wms-service/DS.WMS.Core/Op/Dtos/Enum/BLQueryStatusEnum.cs
index 6db42eba..7206bbca 100644
--- a/ds-wms-service/DS.WMS.Core/Op/Dtos/Enum/BLQueryStatusEnum.cs
+++ b/ds-wms-service/DS.WMS.Core/Op/Dtos/Enum/BLQueryStatusEnum.cs
@@ -13,9 +13,9 @@ namespace DS.WMS.Core.Op.Dtos
public enum BLQueryStatusEnum
{
///
- /// 未签入
+ /// 提单查询
///
- [Description("未签入")]
+ [Description("提单查询")]
BLQuery,
///
/// 可签入
@@ -28,6 +28,11 @@ namespace DS.WMS.Core.Op.Dtos
[Description("可签出")]
CheckOutQuery,
///
+ /// 已签出
+ ///
+ [Description("已签出")]
+ HasCheckOutQuery,
+ ///
/// 改签
///
[Description("改签")]
diff --git a/ds-wms-service/DS.WMS.Core/Op/Interface/BLIssueManage/IBLIssueManageService.cs b/ds-wms-service/DS.WMS.Core/Op/Interface/BLIssueManage/IBLIssueManageService.cs
index 5eab2066..f98a1f05 100644
--- a/ds-wms-service/DS.WMS.Core/Op/Interface/BLIssueManage/IBLIssueManageService.cs
+++ b/ds-wms-service/DS.WMS.Core/Op/Interface/BLIssueManage/IBLIssueManageService.cs
@@ -18,14 +18,14 @@ namespace DS.WMS.Core.Op.Interface
///
/// 查询条件
/// 返回回执
- Task>> GetPageAsync(PageRequest querySearch);
+ Task>> GetPageAsync(PageRequest querySearch);
///
/// 获取导出数据列表
///
/// 查询条件
/// 返回回执
- Task>> GetExportList(PageRequest querySearch);
+ Task>> GetExportList(PageRequest querySearch);
///
/// 打印
diff --git a/ds-wms-service/DS.WMS.Core/Op/Method/BLIssueManage/BLIssueManageService.cs b/ds-wms-service/DS.WMS.Core/Op/Method/BLIssueManage/BLIssueManageService.cs
index effa8e5e..01b002fc 100644
--- a/ds-wms-service/DS.WMS.Core/Op/Method/BLIssueManage/BLIssueManageService.cs
+++ b/ds-wms-service/DS.WMS.Core/Op/Method/BLIssueManage/BLIssueManageService.cs
@@ -101,7 +101,7 @@ namespace DS.WMS.Core.Op.Method
///
/// 查询条件
/// 返回回执
- public async Task>> GetPageAsync(PageRequest querySearch)
+ public async Task>> GetPageAsync(PageRequest querySearch)
{
/*
1、海运出口的订单数据跟提单管理表的数据关联,有提单记录的以提单记录为准。
@@ -110,8 +110,14 @@ namespace DS.WMS.Core.Op.Method
var query = tenantDb.Queryable().ClearFilter(typeof(IOrgId))
.LeftJoin((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 });
+ BLIssueMangeQueryExtDto otherQuery = null;
+
if (!querySearch.QueryCondition.IsNullOrEmpty())
{
var whereList = querySearch.GetConditionalModels(db);
@@ -176,6 +182,8 @@ namespace DS.WMS.Core.Op.Method
BusiTypeName = BLIssueBusiTypeEnum.SeaExport.GetDescription(),
BLType = BLTypeEnum.BL.ToString(),
BLTypeName = BLTypeEnum.BL.GetDescription(),
+ StlDate = data.order.StlDate,
+
});
start++;
@@ -192,7 +200,7 @@ namespace DS.WMS.Core.Op.Method
///
/// 查询条件
/// 返回回执
- public async Task>> GetExportList(PageRequest querySearch)
+ public async Task>> GetExportList(PageRequest querySearch)
{
var tenantDb = saasService.GetBizDbScopeById(user.TenantId);
diff --git a/ds-wms-service/DS.WMS.OpApi/Controllers/BLIssueManageController.cs b/ds-wms-service/DS.WMS.OpApi/Controllers/BLIssueManageController.cs
index 2db1b731..f96ae57c 100644
--- a/ds-wms-service/DS.WMS.OpApi/Controllers/BLIssueManageController.cs
+++ b/ds-wms-service/DS.WMS.OpApi/Controllers/BLIssueManageController.cs
@@ -34,7 +34,7 @@ namespace DS.WMS.OpApi.Controllers
/// 返回回执
[HttpPost]
[Route("GetPage")]
- public async Task>> GetPageAsync([FromBody] PageRequest querySearch)
+ public async Task>> GetPageAsync([FromBody] PageRequest querySearch)
{
return await _BLIssueManageService.GetPageAsync(querySearch);
}
@@ -48,7 +48,7 @@ namespace DS.WMS.OpApi.Controllers
/// 返回回执
[HttpPost]
[Route("GetExportList")]
- public async Task>> GetExportList(PageRequest querySearch)
+ public async Task>> GetExportList(PageRequest querySearch)
{
return await _BLIssueManageService.GetExportList(querySearch);
}