From cf4e189d6b0ba1a3d4c7926bd68f31d0238882bd Mon Sep 17 00:00:00 2001
From: wanghaomei <86whm@163.com>
Date: Tue, 16 Jul 2024 17:26:53 +0800
Subject: [PATCH] =?UTF-8?q?=E4=B8=AD=E6=96=87=E8=B4=A7=E6=8F=8F?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../Service/BookingOrder/BookingOrderService.cs | 1 +
Myshipping.Core/Const/TenantParamCode.cs | 5 +++++
Myshipping.Core/Myshipping.Core.xml | 5 +++++
Myshipping.Core/Service/Auth/AuthService.cs | 2 +-
4 files changed, 12 insertions(+), 1 deletion(-)
diff --git a/Myshipping.Application/Service/BookingOrder/BookingOrderService.cs b/Myshipping.Application/Service/BookingOrder/BookingOrderService.cs
index 8fb98d84..e8fa611f 100644
--- a/Myshipping.Application/Service/BookingOrder/BookingOrderService.cs
+++ b/Myshipping.Application/Service/BookingOrder/BookingOrderService.cs
@@ -344,6 +344,7 @@ namespace Myshipping.Application
.WhereIF(input.ECLOSEVGMDATE != null, u => u.CLOSEVGMDATE <= input.ECLOSEVGMDATE)
.WhereIF(input.BETA != null, u => u.ETA >= input.BETA)
.WhereIF(input.EETA != null, u => u.ETA < input.EETA.Value.AddDays(1))
+ .WhereIF(!string.IsNullOrWhiteSpace(input.ErpCode), u => u.ErpCode.Contains(input.ErpCode))
.WhereIF(!string.IsNullOrWhiteSpace(input.PLACERECEIPT), u => u.PLACERECEIPT.Contains(input.PLACERECEIPT))
.WhereIF(!string.IsNullOrWhiteSpace(input.PORTLOAD), u => u.PORTLOAD.Contains(input.PORTLOAD))
.WhereIF(!string.IsNullOrWhiteSpace(input.PORTLOADID), u => u.PORTLOADID == input.PORTLOADID)
diff --git a/Myshipping.Core/Const/TenantParamCode.cs b/Myshipping.Core/Const/TenantParamCode.cs
index 66bd75ad..64267dc5 100644
--- a/Myshipping.Core/Const/TenantParamCode.cs
+++ b/Myshipping.Core/Const/TenantParamCode.cs
@@ -50,5 +50,10 @@
/// 订舱分公司信息
///
public const string BOOKING_SUB_TENANT = "BOOKING_SUB_TENANT";
+
+ ///
+ /// 货描允许中文
+ ///
+ public const string DESCRIP_CAN_CHINESE = "DESCRIP_CAN_CHINESE";
}
}
diff --git a/Myshipping.Core/Myshipping.Core.xml b/Myshipping.Core/Myshipping.Core.xml
index 2f91e4aa..5c532e09 100644
--- a/Myshipping.Core/Myshipping.Core.xml
+++ b/Myshipping.Core/Myshipping.Core.xml
@@ -923,6 +923,11 @@
订舱分公司信息
+
+
+ 货描允许中文
+
+
代码
diff --git a/Myshipping.Core/Service/Auth/AuthService.cs b/Myshipping.Core/Service/Auth/AuthService.cs
index b2adf52c..c33c8cd4 100644
--- a/Myshipping.Core/Service/Auth/AuthService.cs
+++ b/Myshipping.Core/Service/Auth/AuthService.cs
@@ -262,7 +262,7 @@ public class AuthService : IAuthService, IDynamicApiController, ITransient
// 返回前端需要使用的租户参数
var paraCodeArr = new string[] { TenantParamCode.ENABLE_SLOT_ABILITY, TenantParamCode.ENABLE_FEE_ABILITY, TenantParamCode.VESSEL_FROM_CONFIG_ONLY,
- TenantParamCode.BOOKING_CHANNEL_SELECT_SHOW, TenantParamCode.BC_TASK_CREATE_ORDER,TenantParamCode.BOOKING_SUB_TENANT };
+ TenantParamCode.BOOKING_CHANNEL_SELECT_SHOW, TenantParamCode.BC_TASK_CREATE_ORDER,TenantParamCode.BOOKING_SUB_TENANT,TenantParamCode.DESCRIP_CAN_CHINESE };
loginOutput.TenantParams = await _djyTenantParamService.GetParaCodeWithValue(paraCodeArr);
//多账号关联