From b6ac6354c4231d3e553e1ea7f3c3568e15de35a1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E6=80=9D=E8=B1=AA?= <1437200870@qq.com> Date: Mon, 9 Sep 2024 01:54:04 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B5=8B=E8=AF=95=E7=BA=BF=E7=A8=8B=E6=B1=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/java/com/muyu/service/impl/TaskServiceImpl.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cloud-task-server/src/main/java/com/muyu/service/impl/TaskServiceImpl.java b/cloud-task-server/src/main/java/com/muyu/service/impl/TaskServiceImpl.java index bcab2d9..101d701 100644 --- a/cloud-task-server/src/main/java/com/muyu/service/impl/TaskServiceImpl.java +++ b/cloud-task-server/src/main/java/com/muyu/service/impl/TaskServiceImpl.java @@ -129,7 +129,7 @@ public class TaskServiceImpl extends ServiceImpl implement newAndOldMap.put(fieldAsNameMap.get(outPutFileName[o]), newFileName[o]); if(tableAsFieldList[j].equals(outPutFileName[o])){ sql += ","+taskInputList.get(i).getTableAsName() + "." + tableFieldList[j] +" " + - tableAsFieldList[j] + " "; + tableAsFieldList[j] ; } } @@ -238,6 +238,7 @@ public class TaskServiceImpl extends ServiceImpl implement private void selectAndAdd(Long databaseId,Long basicId,String sql,Long tableId, HashMap newAndOldMap,Long finalFirstArray ,Integer two) { log.info("开始查询数据"); + log.info("sql{}",sql); log.info("数组为{},,{}",finalFirstArray ,two); DataValue[][] tableValue = dataValueClient.findTableValueToArray(databaseId, sql, finalFirstArray,two); log.info("远程调用完毕,调用数量{}",tableValue.length);