Browse Source

Merge branch 'han' of uskycloud/usky-modules into server-165

hanzhengyi 1 year ago
parent
commit
6f9d13f305

+ 5 - 5
service-iot/service-iot-biz/src/main/java/com/usky/iot/service/impl/MceSettingServiceImpl.java

@@ -57,11 +57,11 @@ public class MceSettingServiceImpl extends AbstractCrudService<MceSettingMapper,
         List<MceSetting> list1 = this.list(lambdaQuery);
         Map<String, Object> map = new HashMap<>();
         if (CollectionUtils.isEmpty(list1)) {
-            Map<String, Integer> map1 = new HashMap<>();
-            map1.put("meetingNotice", 1);
-            map1.put("noticeBulletin", 1);
-            map1.put("inspectionSystem", 1);
-            map1.put("deviceAlarm", 1);
+            Map<String, Object> map1 = new HashMap<>();
+            map1.put("1", true);
+            map1.put("2", true);
+            map1.put("3", true);
+            map1.put("4", true);
             map.put("appMode",map1);
             map.put("pcMode",map1);
             map.put("wcMode",map1);