|
|
@@ -819,6 +819,41 @@ public class LoginController implements LoginControllerAPI {
|
|
|
menuBarVos.add(menuBarVo7);
|
|
|
}
|
|
|
|
|
|
+// 黑名单管理
|
|
|
+ String blacklistManagement = one.getBlacklistManagement();
|
|
|
+ if (ObjectUtils.isNotEmpty(blacklistManagement)) {
|
|
|
+
|
|
|
+ MenuBarVo menuBarVo14 = new MenuBarVo();
|
|
|
+ menuBarVo14.setName("黑名单管理");
|
|
|
+ ArrayList<FunctionPointVo> vos14 = new ArrayList<>();
|
|
|
+ if (contains(blacklistManagement, "0")) {
|
|
|
+ FunctionPointVo functionPointVo1 = new FunctionPointVo();
|
|
|
+ functionPointVo1.setFunctionPoint("移除");
|
|
|
+ functionPointVo1.setStatus(1);
|
|
|
+ vos14.add(functionPointVo1);
|
|
|
+
|
|
|
+ FunctionPointVo functionPointVo2 = new FunctionPointVo();
|
|
|
+ functionPointVo2.setFunctionPoint("查看界面");
|
|
|
+ functionPointVo2.setStatus(1);
|
|
|
+ vos14.add(functionPointVo2);
|
|
|
+
|
|
|
+
|
|
|
+ } else {
|
|
|
+ FunctionPointVo functionPointVo1 = ifContains(blacklistManagement, "1");
|
|
|
+ functionPointVo1.setFunctionPoint("移除");
|
|
|
+ vos14.add(functionPointVo1);
|
|
|
+
|
|
|
+ FunctionPointVo functionPointVo2 = ifContains(blacklistManagement, "2");
|
|
|
+ functionPointVo2.setFunctionPoint("查看界面");
|
|
|
+ vos14.add(functionPointVo2);
|
|
|
+
|
|
|
+
|
|
|
+ }
|
|
|
+ menuBarVo14.setFunctionPoints(vos14);
|
|
|
+ menuBarVos.add(menuBarVo14);
|
|
|
+ }
|
|
|
+
|
|
|
+
|
|
|
// 门锁管理
|
|
|
String doorLockManagement = one.getDoorLockManagement();
|
|
|
if (ObjectUtils.isNotEmpty(doorLockManagement)) {
|