From 45e4ef2ecf62e32c243d72529f430c9b4f151b6b Mon Sep 17 00:00:00 2001 From: zc <zc> Date: 星期二, 05 十一月 2024 09:55:17 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/xgmFlasrs2' into xgmFlasrs2 --- src/main/java/com/zy/third/erp/task/ERPOutHedTBScheduler.java | 6 ++++-- 1 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/zy/third/erp/task/ERPOutHedTBScheduler.java b/src/main/java/com/zy/third/erp/task/ERPOutHedTBScheduler.java index 1ec0a0f..84fdaa0 100644 --- a/src/main/java/com/zy/third/erp/task/ERPOutHedTBScheduler.java +++ b/src/main/java/com/zy/third/erp/task/ERPOutHedTBScheduler.java @@ -35,7 +35,7 @@ private ErpSqlServer erpSqlServer; - @Transactional(rollbackFor = Throwable.class) + //@Transactional(rollbackFor = Throwable.class) @Scheduled(cron = "${erp.refreshtime}") @Async("orderThreadPool") public void OutHedTBScheduler() { @@ -59,9 +59,11 @@ log.info("鍑哄簱鍗曟嵁鎴愬姛,{}", inHed); move(hedAndDet); } catch (Exception e) { - e.printStackTrace(); + log.info(e.getMessage()); +// e.printStackTrace(); String sql = "UPDATE erp_OutHedTB SET Temp3 = 'fault' WHERE BillNo = '" + inHed.getBillNo() + "'"; erpSqlServer.update(sql); +// } } } -- Gitblit v1.9.1