1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
| package com.flightfeather.uav.common.api2word.utils;
|
| /**
| * @author : cuixiuyin
| * @date : 2019/8/31
| */
| public class MenuUtils {
|
| public static Integer count = 0;
| public static String menuStr = "null";
|
| public static boolean isMenu(String tags) {
| if (menuStr.equals(tags)) {
| count++;
| } else {
| menuStr = tags;
| count = 0;
| }
| if (count == 0) {
| return true;
| } else {
| return false;
| }
| }
| }
|
|