| | |
| | | } |
| | | //仓库数据 |
| | | EntityWrapper<LocDetl> locDetlEntityWrapper = new EntityWrapper<>(); |
| | | locDetlEntityWrapper.setSqlSelect("matnr,COUNT(*) as matnrCount").groupBy("matnr"); |
| | | locDetlEntityWrapper.setSqlSelect("TOP 5 matnr,SUM(anfme) as matnrCount").groupBy("matnr").orderBy("matnrCount",false); |
| | | List<Map<String, Object>> selectMap = locDetlService.selectMaps(locDetlEntityWrapper); |
| | | |
| | | Date now = new Date(); |
| | |
| | | if (null != ledThread) { |
| | | map.put("to",slave.getStaArr().get(0).toString()); |
| | | map.put("message",Cools.add("type", "task").add("taskList",ledThread.getCommandList())); |
| | | webSocketServer.onMessage(JSONObject.toJSONString(map),null,slave.getStaArr().get(0).toString()); |
| | | } |
| | | |
| | | } |