java110
2023-06-29 b173d31976fc4731b7c247d4038de92134eba317
service-fee/src/main/java/com/java110/fee/cmd/fee/PayBatchFeeCmd.java
@@ -166,7 +166,7 @@
        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);
@@ -175,10 +175,13 @@
                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 {