2023-09-13

This commit is contained in:
2023-09-13 15:13:41 +08:00
parent 2b6b7c5d5e
commit b529de4a5a
9 changed files with 162 additions and 3 deletions
@@ -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;