Ver Fonte

单证推送发票调整

huxy há 14 horas atrás
pai
commit
f89d508844

+ 1 - 1
jeecg-boot-module-system/src/main/java/org/jeecg/config/InterfaceConnUtils.java

@@ -20,7 +20,7 @@ public class InterfaceConnUtils {
     public static JSONArray doPost(JSONArray json, String url) {
         //定义测试返回JSON
         for (int i=0;i<json.size();i++){
-            JSONObject jsonObject=json.getJSONObject(0);
+            JSONObject jsonObject=json.getJSONObject(i);
             jsonObject.put("ALLOWHANDWORK","1");//取自己设置的单据号
         }
         JSONArray onejb = new JSONArray();