| | |
| | | public R addCommunity(@Validated(AddGroup.class) @RequestBody ComActVO comActVO) { |
| | | comActVO.setAppId(getAppId()); |
| | | R r = communityService.addCommunity(comActVO); |
| | | System.out.print("参数1"+JSONObject.toJSONString(r.getData())); |
| | | ComActVO comActVO2 = JSONObject.parseObject(JSONObject.toJSONString(r.getData()), ComActVO.class); |
| | | System.out.print("参数2"+comActVO2.getCommunityId()); |
| | | // System.out.print("参数1"+JSONObject.toJSONString(r.getData())); |
| | | // ComActVO comActVO2 = JSONObject.parseObject(JSONObject.toJSONString(r.getData()), ComActVO.class); |
| | | // System.out.print("参数2"+comActVO2.getCommunityId()); |
| | | if (R.isOk(r)) { |
| | | |
| | | System.out.print("参数3"+JSONObject.toJSONString(r.getData())); |
| | | // System.out.print("参数3"+JSONObject.toJSONString(r.getData())); |
| | | |
| | | ComActVO comActVO1 = JSONObject.parseObject(JSONObject.toJSONString(r.getData()), ComActVO.class); |
| | | Long communityId = comActVO1.getCommunityId(); |
| | | AdministratorsUserVO administratorsUserVO = new AdministratorsUserVO(); |
| | | administratorsUserVO.setAccount(comActVO1.getAccount()); |
| | | administratorsUserVO.setAccount(comActVO.getAccount()); |
| | | administratorsUserVO.setPassword(comActVO.getPassword()); |
| | | administratorsUserVO.setName(comActVO1.getContacts()); |
| | | administratorsUserVO.setStatus(comActVO1.getState() + 1); |
| | | administratorsUserVO.setName(comActVO.getContacts()); |
| | | administratorsUserVO.setStatus(comActVO.getState() + 1); |
| | | |
| | | |
| | | // Long communityId = 1676409638368608257L; |