| | |
| | | } |
| | | |
| | | /** |
| | | * 获取保安员证编号 |
| | | * @param json |
| | | */ |
| | | public static void handlerSecurityNumerBit(String json) { |
| | | Map map = JSON.parseObject(json, Map.class); |
| | | //取出 key(uuid) |
| | | String key = map.keySet().toArray()[0].toString(); |
| | | //编号前缀 |
| | | String pre = map.get(key).toString(); |
| | | Integer max = hanlder.userService.getSecurityPaperCount(pre); |
| | | Result result = new Result(200, null, max.toString(),null); |
| | | Map<String, Object> map1 = new HashMap<>(1); |
| | | map1.put(key, result); |
| | | //向外网发送数据 |
| | | FtpUtil.objectFileUploadSecurityNumberCount(map1); |
| | | } |
| | | |
| | | /** |
| | | * 培训报名数据处理 |
| | | * @param json |
| | | */ |