工作票审批流
This commit is contained in:
parent
1e41bf3585
commit
62b8ea8da7
@ -968,14 +968,17 @@ namespace APT.FO.WebApi.Controllers
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
var dep = GetEntity<T_FM_DEPARTMENT>(user.DEPARTMENT_ID.Value);
|
if (user.Nav_Department != null && user.Nav_Department.DEPARTMENT_TYPE == 0)
|
||||||
if (dep != null)
|
|
||||||
{
|
{
|
||||||
if (dep.USER_ID.HasValue)
|
var dep = GetEntity<T_FM_DEPARTMENT>(user.DEPARTMENT_ID.Value);
|
||||||
{ approveId = dep.USER_ID.Value; }
|
if (dep != null)
|
||||||
else if (dep.CHARGEUSER_ID.HasValue)
|
{
|
||||||
{ approveId = dep.CHARGEUSER_ID.Value; }
|
if (dep.USER_ID.HasValue)
|
||||||
break;
|
{ approveId = dep.USER_ID.Value; }
|
||||||
|
else if (dep.CHARGEUSER_ID.HasValue)
|
||||||
|
{ approveId = dep.CHARGEUSER_ID.Value; }
|
||||||
|
break;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -456,14 +456,17 @@ namespace APT.FO.WebApi.Controllers
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
var dep = GetEntity<T_FM_DEPARTMENT>(user.DEPARTMENT_ID.Value);
|
if (user.Nav_Department != null && user.Nav_Department.DEPARTMENT_TYPE == 0)
|
||||||
if (dep != null)
|
|
||||||
{
|
{
|
||||||
if (dep.USER_ID.HasValue)
|
var dep = GetEntity<T_FM_DEPARTMENT>(user.DEPARTMENT_ID.Value);
|
||||||
{ approveId = dep.USER_ID.Value; }
|
if (dep != null)
|
||||||
else if (dep.CHARGEUSER_ID.HasValue)
|
{
|
||||||
{ approveId = dep.CHARGEUSER_ID.Value; }
|
if (dep.USER_ID.HasValue)
|
||||||
break;
|
{ approveId = dep.USER_ID.Value; }
|
||||||
|
else if (dep.CHARGEUSER_ID.HasValue)
|
||||||
|
{ approveId = dep.CHARGEUSER_ID.Value; }
|
||||||
|
break;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user