caipin %!s(int64=4) %!d(string=hai) anos
pai
achega
45e76564d7
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      services/tree_service.go

+ 1 - 1
services/tree_service.go

@@ -164,7 +164,7 @@ func (s *treeService) GetAllContract(projectId int, account *models.CmProjectAcc
 	for _, data := range datalist {
 
 		flag := true
-		if data.BidsectionId != 0 {
+		if data.BidsectionId != 0 && account.IsAdmin != 1 {
 			flag = false
 		}