|
|
|
@ -800,10 +800,11 @@ namespace Myshipping.Application
|
|
|
|
|
var mlist = await _rep.AsQueryable().Filter(null, true).Where(x => x.Id == input.Id).FirstAsync();
|
|
|
|
|
var rightlist = await _right.GetDataScopeList(MenuConst.MenuBookingOrder, true);
|
|
|
|
|
if (!(
|
|
|
|
|
mlist.OPID == UserManager.UserId.ToString() ||
|
|
|
|
|
mlist.DOCID == UserManager.UserId.ToString() ||
|
|
|
|
|
mlist.CUSTSERVICEID == UserManager.UserId.ToString() ||
|
|
|
|
|
mlist.ROUTEID == UserManager.UserId.ToString() || UserManager.UserId == 400234750476357 ||
|
|
|
|
|
mlist.OPID == UserManager.UserId.ToString() || mlist.OP == UserManager.Name.ToString()||
|
|
|
|
|
mlist.DOCID == UserManager.UserId.ToString() || mlist.DOC == UserManager.Name.ToString() ||
|
|
|
|
|
mlist.CUSTSERVICEID == UserManager.UserId.ToString() || mlist.CUSTSERVICE == UserManager.Name.ToString() ||
|
|
|
|
|
mlist.ROUTEID == UserManager.UserId.ToString() || mlist.ROUTE == UserManager.Name.ToString() ||
|
|
|
|
|
UserManager.UserId == 400234750476357 ||
|
|
|
|
|
mlist.CreatedUserId.ToString() == UserManager.UserId.ToString() ||
|
|
|
|
|
rightlist.Contains((long)mlist.CreatedUserId)
|
|
|
|
|
))
|
|
|
|
|