From 6dc82e7a891a1b464a093050e854c00b5993d6d0 Mon Sep 17 00:00:00 2001 From: gaowdong Date: Mon, 23 Jun 2025 17:54:14 +0800 Subject: [PATCH] =?UTF-8?q?=E6=99=BA=E6=85=A7=E5=8E=A8=E6=88=BF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/resources/mapper/kitchen/KitchenStaffInfoMapper.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bonus-modules/bonus-smart-canteen/src/main/resources/mapper/kitchen/KitchenStaffInfoMapper.xml b/bonus-modules/bonus-smart-canteen/src/main/resources/mapper/kitchen/KitchenStaffInfoMapper.xml index d71df68..75570b5 100644 --- a/bonus-modules/bonus-smart-canteen/src/main/resources/mapper/kitchen/KitchenStaffInfoMapper.xml +++ b/bonus-modules/bonus-smart-canteen/src/main/resources/mapper/kitchen/KitchenStaffInfoMapper.xml @@ -56,7 +56,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" when #{healthCertStatus} = 1 then ( DATE_SUB(kst.health_cert_expire, - INTERVAL (select bs.item_value from basic_setting bs where bs.item_name = 'staff_health_cert_left_day_reminder') DAY) + INTERVAL (select bs.item_value from kitchen_setting bs where bs.item_name = 'staff_health_cert_left_day_reminder') DAY) = ]]> now() ) when #{healthCertStatus} = 2 then @@ -70,7 +70,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" when #{healthCertStatus} = 4 then ( DATE_SUB(kst.health_cert_expire, - INTERVAL (select bs.item_value from basic_setting bs where bs.item_name = 'staff_health_cert_left_day_reminder') DAY) + INTERVAL (select bs.item_value from kitchen_setting bs where bs.item_name = 'staff_health_cert_left_day_reminder') DAY) now() and kst.health_cert_expire > now() )