2023-09-13
This commit is contained in:
@@ -74,6 +74,14 @@ namespace BLL
|
||||
|
||||
}).ToList();
|
||||
bool isPower = Person_PersonsService.IsGeneralUnitByPersonId(personId, projectId);
|
||||
if (!isPower)
|
||||
{
|
||||
var roleList= Person_PersonsService.GetRoleListByProjectIdPersonId(projectId, personId);
|
||||
if (roleList.Contains(Const.CQEngineer))
|
||||
{
|
||||
isPower=true;
|
||||
}
|
||||
}
|
||||
packagingManageItem.packagingManageDetailItem = q;
|
||||
packagingManageItem.packagingPrepipeItems = packagingPrepipeItem;
|
||||
packagingManageItem.isPower = isPower;
|
||||
|
||||
Reference in New Issue
Block a user