新火炬后端单体项目初始化代码
zhangherong
2025-06-18 97e880ff9fac827e42374ab00d5002f89fe0462f
art: SAP测试代码修改
已修改1个文件
4 ■■■ 文件已修改
src/main/java/org/jeecg/modules/sap/service/impl/SAPServiceImpl.java 4 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/org/jeecg/modules/sap/service/impl/SAPServiceImpl.java
@@ -29,10 +29,9 @@
            }
            // 设置输入参数
            JCoParameterList input = function.getImportParameterList();
            JCoTable inputTable = function.getTableParameterList().getTable("ZTAB_WERKS");
            inputTable.appendRow();
            inputTable.setValue("ZTAB_WERKS", "2301"); //参数名需与 SAP 函数定义一致
            inputTable.setValue("WERKS", "2301"); //参数名需与 SAP 函数定义一致
            // 执行调用
            function.execute(destination);
@@ -44,7 +43,6 @@
                outputTable.setRow(i);
                log.info("Row {} : {}", i, outputTable.getString("AUFNR"));
            }
//        String materialName = output.getString("MATERIAL_NAME"); // 参数名需与 SAP 函数定义一致
            return String.valueOf(numRows);
        } catch (JCoException e) {