| | |
| | | |
| | | JSONArray fees = reqJson.getJSONArray("fees"); |
| | | JSONObject paramInObj = null; |
| | | JSONArray datas = new JSONArray(); |
| | | JSONArray details = new JSONArray(); |
| | | for (int feeIndex = 0; feeIndex < fees.size(); feeIndex++) { |
| | | try { |
| | | paramInObj = fees.getJSONObject(feeIndex); |
| | |
| | | logger.error("处理异常", e); |
| | | throw new CmdException(e.getMessage()); |
| | | } |
| | | datas.add(paramInObj.getString("detailId")); |
| | | details.add(paramInObj.getString("detailId")); |
| | | } |
| | | |
| | | cmdDataFlowContext.setResponseEntity(ResultVo.createResponseEntity(datas)); |
| | | JSONObject data = new JSONObject(); |
| | | data.put("details",details); |
| | | |
| | | cmdDataFlowContext.setResponseEntity(ResultVo.createResponseEntity(data)); |
| | | } |
| | | |
| | | private void doDeal(JSONObject paramObj, String communityId, ICmdDataFlowContext cmdDataFlowContext, UserDto userDto) throws Exception { |