From f14d9737da8bbe94e82427f2d0e727fd15c88f2e Mon Sep 17 00:00:00 2001 From: eight <641137800@qq.com> Date: 星期一, 23 九月 2024 11:44:35 +0800 Subject: [PATCH] update --- jh-module-ecg/jh-module-ecg-biz/src/main/java/cn/lihu/jh/module/ecg/dal/mysql/call/CallMapper.java | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/jh-module-ecg/jh-module-ecg-biz/src/main/java/cn/lihu/jh/module/ecg/dal/mysql/call/CallMapper.java b/jh-module-ecg/jh-module-ecg-biz/src/main/java/cn/lihu/jh/module/ecg/dal/mysql/call/CallMapper.java index 2fe939d..c253f62 100644 --- a/jh-module-ecg/jh-module-ecg-biz/src/main/java/cn/lihu/jh/module/ecg/dal/mysql/call/CallMapper.java +++ b/jh-module-ecg/jh-module-ecg-biz/src/main/java/cn/lihu/jh/module/ecg/dal/mysql/call/CallMapper.java @@ -40,6 +40,7 @@ @Select("select * from lihu.call_patient where called = 0 order by id limit 1") CallDO getNextCall(); - @Update("TRUNCATE TABLE lihu.call_patient") + //@Update("TRUNCATE TABLE lihu.call_patient") + @Delete("delete from lihu.call_patient where TO_DAYS(book_date) != TO_DAYS(NOW())") void clearCall(); } -- Gitblit v1.9.3