From 6d96e758eaf01bbbf554488fa68abd89cc1c19a2 Mon Sep 17 00:00:00 2001 From: "15989082884@163.com" <15989082884@163.com> Date: Wed, 11 Oct 2023 10:30:41 +0800 Subject: [PATCH] =?UTF-8?q?=E9=95=BF=E5=BA=A6=E6=8B=A6=E6=88=AA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/com/demo/cost/SyncVerificationMain.java | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/main/java/com/demo/cost/SyncVerificationMain.java b/src/main/java/com/demo/cost/SyncVerificationMain.java index db76ecb..14577c7 100644 --- a/src/main/java/com/demo/cost/SyncVerificationMain.java +++ b/src/main/java/com/demo/cost/SyncVerificationMain.java @@ -411,6 +411,14 @@ public class SyncVerificationMain { budgetLog.setTenantId("001"); // jslDbContext.table(tbs_budget_log).setEntity(budgetLog).insert(); + if(budgetLog.getActivityTheme().length()>=150){ + budgetLog.setActivityTheme(budgetLog.getActivityTheme().substring(0,149)); + } + if(budgetLog.getCostApplyTheme().length()>=150){ + budgetLog.setCostApplyTheme(budgetLog.getCostApplyTheme().substring(0,149)); + } + + batchBudgetLogList.add(budgetLog); }