修改组织架构同步排班明细
This commit is contained in:
parent
dfa9fc852b
commit
654e742a5c
@ -765,7 +765,7 @@ namespace APT.FM.WebApi.Controllers.Api.FM
|
|||||||
teamInfo = this.GetEntity<T_FM_TEAM>(t => t.DEPARTMENT_ID == entity.DEPARTMENT_ID);
|
teamInfo = this.GetEntity<T_FM_TEAM>(t => t.DEPARTMENT_ID == entity.DEPARTMENT_ID);
|
||||||
if (teamInfo != null)
|
if (teamInfo != null)
|
||||||
{
|
{
|
||||||
departScheIds = this.GetEntities<T_FM_DEPARTMENT_SCHEDULING>(t => t.DEPARTMENT_ID == entity.DEPARTMENT_ID && t.TEAM_ID == teamInfo.ID && t.DATE_TIME >= DateTime.Now.Date && t.START_TIME >= DateTime.Now, new BaseFilter(entity.ORG_ID)).Select(m => m.ID).ToList();
|
departScheIds = this.GetEntities<T_FM_DEPARTMENT_SCHEDULING>(t => t.TEAM_ID == teamInfo.ID && t.DATE_TIME >= DateTime.Now.Date && t.START_TIME >= DateTime.Now, new BaseFilter(entity.ORG_ID)).Select(m => m.ID).ToList();
|
||||||
if (teamPersonInfo == null)
|
if (teamPersonInfo == null)
|
||||||
{
|
{
|
||||||
T_FM_TEAM_PERSON teamPerson = new T_FM_TEAM_PERSON();
|
T_FM_TEAM_PERSON teamPerson = new T_FM_TEAM_PERSON();
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user