zhangchuanxing 1 долоо хоног өмнө
parent
commit
2f317e6039

+ 8 - 2
services/user.go

@@ -835,11 +835,17 @@ func GetUserhasPermissionReportSelection(user *models.WxUserItem) (hasPermission
 			hasPermission = 1
 			hasPermission = 1
 		} else {
 		} else {
 			if applyCount > 0 {
 			if applyCount > 0 {
-				hasPermission = 3
+				hasPermission = 5
 			} else {
 			} else {
-				hasPermission = 4
+				hasPermission = 2
 			}
 			}
 		}
 		}
+	} else {
+		if applyCount > 0 {
+			hasPermission = 5
+		} else {
+			hasPermission = 4
+		}
 	}
 	}
 	return
 	return
 }
 }