Compare commits

..

2 Commits

Author SHA1 Message Date
gaowdong 965c082f59 Merge remote-tracking branch 'origin/master' 2025-06-23 17:54:45 +08:00
gaowdong 6dc82e7a89 智慧厨房 2025-06-23 17:54:14 +08:00
1 changed files with 2 additions and 2 deletions

View File

@ -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)
<![CDATA[ >= ]]> 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)
<![CDATA[ < ]]> now()
and kst.health_cert_expire > now()
)