完善任务动态列接口

master
douhandong 6 months ago
parent bf57a578cd
commit e1f77d4675

@ -2731,7 +2731,7 @@ namespace Myshipping.Application
bc.InYard,
bc.InYardContact,
bc.InYardContractTel,
bc.NeedArriveTime,
//bc.NeedArriveTime,
bc.ClosingTime,
bc.PickUpTime,
bc.IsGuaJi,

@ -906,6 +906,7 @@
<summary>
是否启用委托单位权限显示控制
</summary>
<remarks>开启此参数后,在部分接口查询数据时会根据当前登陆人的权限范围来决定返回哪些委托单位,如委托单位管理台账查询接口、委托单位下拉查询接口、舱位管理台账查询接口、舱位管理详情查询接口等</remarks>
</member>
<member name="P:Myshipping.Core.Entity.CodeCarrier.Code">
<summary>

@ -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
{

Loading…
Cancel
Save