@ -2731,7 +2731,7 @@ namespace Myshipping.Application
bc.InYard,
bc.InYardContact,
bc.InYardContractTel,
bc.NeedArriveTime,
//bc.NeedArriveTime,
bc.ClosingTime,
bc.PickUpTime,
bc.IsGuaJi,
@ -904,8 +904,9 @@
</member>
<member name="F:Myshipping.Core.Const.TenantParamCode.IS_ENABLE_CUSTOMER_AUTHORITY">
<summary>
是否启用委托单位权限显示控制
</summary>
<remarks>开启此参数后,在部分接口查询数据时会根据当前登陆人的权限范围来决定返回哪些委托单位,如委托单位管理台账查询接口、委托单位下拉查询接口、舱位管理台账查询接口、舱位管理详情查询接口等</remarks>
<member name="P:Myshipping.Core.Entity.CodeCarrier.Code">
@ -120,7 +120,8 @@ namespace Myshipping.Core.Service
var datainfo = _rep.Where(u => u.CreatedUserId == UserManager.UserId && u.Type == type).First();
if (datainfo == null)
{
data.Add(_rep.Where(u =>u.Type ==(type+"_default")).First());
string typestr = type + "_default";
data.Add(_rep.AsQueryable().Filter(null, true).Where(u =>u.Type == typestr).First());
}
else