caipin 4 년 전
부모
커밋
45e76564d7
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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
 		}