| | |
| | | user.setId(user0.getId()); |
| | | //远程调用接口 |
| | | String body = InvestigateUtil.httpGetOne(user0.getCardid()); |
| | | System.out.println("user0 = " + user0.getCardid()); |
| | | JSONObject jsonObject = new JSONObject(body); |
| | | Object data = jsonObject.get("data"); |
| | | JSONObject jsonData = new JSONObject(data.toString()); |
| | |
| | | String s1 = "update blade_user set examination_type = " + user.getExaminationType() + |
| | | ",update_time = " + "'" + new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(user.getUpdateTime()) + "'" + |
| | | " where id = " + "'" + user.getId() + "'"; |
| | | FTP1(s1); |
| | | FTP(s1); |
| | | } |
| | | |
| | | } |