From 32ebe6da0ee64dbfc51c3627c460a4a7a3a7a300 Mon Sep 17 00:00:00 2001 From: bai <1643359946@qq.com> Date: Fri, 23 Jun 2023 14:38:27 +0800 Subject: [PATCH] =?UTF-8?q?2023=E5=B9=B46=E6=9C=8823=E6=97=A5=20=E4=BF=AE?= =?UTF-8?q?=E5=A4=8D=E5=AE=9A=E6=97=B6=E4=BB=BB=E5=8A=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../kc/grab/SynchronizationService/SyncTFwdtBkjxtkpj.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/jeecg-module-main/src/main/java/org/jeecg/modules/kc/grab/SynchronizationService/SyncTFwdtBkjxtkpj.java b/jeecg-module-main/src/main/java/org/jeecg/modules/kc/grab/SynchronizationService/SyncTFwdtBkjxtkpj.java index 2cced6d7..316b5621 100644 --- a/jeecg-module-main/src/main/java/org/jeecg/modules/kc/grab/SynchronizationService/SyncTFwdtBkjxtkpj.java +++ b/jeecg-module-main/src/main/java/org/jeecg/modules/kc/grab/SynchronizationService/SyncTFwdtBkjxtkpj.java @@ -108,7 +108,9 @@ public class SyncTFwdtBkjxtkpj extends BaseSync { QueryWrapper xxhbbkjxtkpjQw = new QueryWrapper<>(); //xxhbbkjxtkpjQw.between("timestamps","str_to_date('"+nowStr+"', '%Y-%m-%d')","str_to_date('"+nowStr+"', '%Y-%m-%d')"); - xxhbbkjxtkpjQw.apply("timestamps between str_to_date('"+nowStr+"', '%Y-%m-%d') and str_to_date('"+nowStr+"', '%Y-%m-%d')"); + if(!isAll) { + xxhbbkjxtkpjQw.apply("timestamps between str_to_date('" + nowStr + "', '%Y-%m-%d') and str_to_date('" + nowStr + "', '%Y-%m-%d')"); + } xxhbbkjxtkpjService.remove(xxhbbkjxtkpjQw); //保存到胃 xxhbbkjxtkpjService.syncList(outDataList,false);