2023年6月23日 修复定时任务

This commit is contained in:
bai 2023-06-23 14:38:27 +08:00
parent 29a64bfa85
commit 32ebe6da0e
1 changed files with 3 additions and 1 deletions

View File

@ -108,7 +108,9 @@ public class SyncTFwdtBkjxtkpj extends BaseSync {
QueryWrapper<Xxhbbkjxtkpj> 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);