From e82c6a7bc2c059bf7d8b1d609cb80137306ea6c9 Mon Sep 17 00:00:00 2001 From: zhangherong <571457620@qq.com> Date: 星期四, 31 七月 2025 18:12:16 +0800 Subject: [PATCH] art:删除无用代码 --- /dev/null | 53 ----------------------------------------------------- 1 files changed, 0 insertions(+), 53 deletions(-) diff --git a/src/main/java/org/jeecg/modules/sap/service/SAPService.java b/src/main/java/org/jeecg/modules/sap/service/SAPService.java deleted file mode 100644 index 84b6899..0000000 --- a/src/main/java/org/jeecg/modules/sap/service/SAPService.java +++ /dev/null @@ -1,5 +0,0 @@ -//package org.jeecg.modules.sap.service; -// -//public interface SAPService { -// String test(); -//} diff --git a/src/main/java/org/jeecg/modules/sap/service/impl/SAPServiceImpl.java b/src/main/java/org/jeecg/modules/sap/service/impl/SAPServiceImpl.java deleted file mode 100644 index 0d14e0e..0000000 --- a/src/main/java/org/jeecg/modules/sap/service/impl/SAPServiceImpl.java +++ /dev/null @@ -1,53 +0,0 @@ -//package org.jeecg.modules.sap.service.impl; -// -//import com.sap.conn.jco.*; -//import lombok.SneakyThrows; -//import lombok.extern.slf4j.Slf4j; -//import org.jeecg.config.sap.SapRfcConnectionManager; -//import org.jeecg.modules.sap.service.SAPService; -//import org.springframework.beans.factory.annotation.Autowired; -//import org.springframework.stereotype.Service; -// -//import java.util.Arrays; -//import java.util.Collections; -// -//@Service -//@Slf4j -//public class SAPServiceImpl implements SAPService { -// @Autowired -// private SapRfcConnectionManager connectionManager; -// -// @Override -// public String test() { -// JCoDestination destination = connectionManager.getDestination(); -// try { -// JCoRepository repository = destination.getRepository(); -// JCoFunction function = repository.getFunction("ZPPF_022"); -// -// if (function == null) { -// throw new RuntimeException("RFC 鍑芥暟妯″潡 ZPPF_022 鏈壘鍒帮紒"); -// } -// -// // 璁剧疆杈撳叆鍙傛暟 -// JCoTable inputTable = function.getTableParameterList().getTable("ZTAB_WERKS"); -// inputTable.appendRow(); -// inputTable.setValue("WERKS", "2301"); //鍙傛暟鍚嶉渶涓� SAP 鍑芥暟瀹氫箟涓�鑷� -// -// // 鎵ц璋冪敤 -// function.execute(destination); -// -// // 鑾峰彇杈撳嚭鍙傛暟 -// JCoTable outputTable = function.getTableParameterList().getTable("ZTAB_AUFNR"); -// int numRows = outputTable.getNumRows(); -// for (int i = 0; i < numRows; i++) { -// outputTable.setRow(i); -// log.info("Row {} : {}", i, outputTable.getString("AUFNR")); -// } -// -// return String.valueOf(numRows); -// } catch (JCoException e) { -// log.error(e.getMessage(), e); -// } -// return null; -// } -//} -- Gitblit v1.9.3