Compare commits
No commits in common. "f2a7c1b8816cf03ce7046f06f663719acf186c03" and "c62a4f09bd554a7a9310c11026171bda8b2c3516" have entirely different histories.
f2a7c1b881
...
c62a4f09bd
@ -279,11 +279,6 @@ namespace APT.FM.WebApi.Controllers.Api.FM
|
||||
|
||||
List<Guid> listDepIDs = new List<Guid>();
|
||||
if (this.Request.Headers.ContainsKey("Datarule"))
|
||||
{
|
||||
string telnetCode = Request.Headers["Tenant"];
|
||||
Guid? ORGID = APT.Infrastructure.Api.AppContext.CurrentSession.OrgId;
|
||||
|
||||
if (ORGID.HasValue && ORGID.Value.ToString().StartsWith(telnetCode))
|
||||
{
|
||||
string strDeps = this.Request.Headers["Datarule"].ToString();
|
||||
if (strDeps.Length > 0)
|
||||
@ -300,14 +295,9 @@ namespace APT.FM.WebApi.Controllers.Api.FM
|
||||
}
|
||||
express = express.And(e => e.DEPARTMENT_ID.HasValue && listDepIDs.Contains(e.DEPARTMENT_ID.Value));
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
var result = this.WitOrderPaged(express, pageFilter);
|
||||
if (result.Data != null && result.Data.Count() > 0)
|
||||
if (result.Data.Count() > 0)
|
||||
{
|
||||
var userIds = result.Data.Select(t => t.ID).ToList();
|
||||
var signs = this.GetEntities<T_FM_USER_SIGN_FILE>(t => userIds.Contains(t.USER_ID), new BaseFilter(pageFilter.OrgId));
|
||||
|
||||
Loading…
Reference in New Issue
Block a user