From 66845c626767ee06b5694b8cf02f295a34967c64 Mon Sep 17 00:00:00 2001 From: bingbo <bingbo1993@126.com> Date: 星期一, 27 十一月 2023 15:30:18 +0800 Subject: [PATCH] 加减钢筋笼库存 带记录 --- hd/pipe/StaffManage/src/main/java/com/thhy/staff/modules/biz/platuser/controller/FaceServer.java | 21 +++++++++++++++++++++ 1 files changed, 21 insertions(+), 0 deletions(-) diff --git a/hd/pipe/StaffManage/src/main/java/com/thhy/staff/modules/biz/platuser/controller/FaceServer.java b/hd/pipe/StaffManage/src/main/java/com/thhy/staff/modules/biz/platuser/controller/FaceServer.java index 1729fca..a2eda24 100644 --- a/hd/pipe/StaffManage/src/main/java/com/thhy/staff/modules/biz/platuser/controller/FaceServer.java +++ b/hd/pipe/StaffManage/src/main/java/com/thhy/staff/modules/biz/platuser/controller/FaceServer.java @@ -3,6 +3,7 @@ import com.alibaba.fastjson.JSON; import com.thhy.general.config.GlobalConfig; import com.thhy.general.utils.SpringContextUtils; +import com.thhy.staff.modules.biz.platuser.entity.AreaAdmin; import com.thhy.staff.modules.biz.platuser.service.PlatUserService; import org.redisson.api.RBucket; import org.redisson.api.RedissonClient; @@ -68,8 +69,28 @@ dataMapList.add(map); Map<String,Object> map1 = userService.groupUserWork(userToken); Map<String,Object> map2 = userService.faceRecord(userToken); + + + List<HashMap<String,Object>> AudioGroupList = userService.queryGroups(); + Map<String, Object> map3 = new HashMap<>(); + map3.put("mod","audioGroup"); + map3.put("groupList",AudioGroupList); + + + List<HashMap<String,Object>> HelmetWarnList = userService.queryHelmetWarn(); + Map<String, Object> map4 = new HashMap<>(); + map4.put("mod","helmetWarn"); + map4.put("helmetWarnList",HelmetWarnList); + + List<AreaAdmin> areaAdminList = userService.areaAdminInfo(); + Map<String, Object> map5 = new HashMap<>(); + map5.put("mod","areaAdmin"); + map5.put("areaAdminList",areaAdminList); dataMapList.add(map1); dataMapList.add(map2); + dataMapList.add(map3); + dataMapList.add(map4); + dataMapList.add(map5); try { session.getBasicRemote().sendText(JSON.toJSONString(dataMapList)); } catch (IOException e) { -- Gitblit v1.9.3