Compare commits
No commits in common. "965c082f59278cf41eb64e9bd132cb354e0c6bfc" and "cc18c9f36e154de99d8235d5a1b5291421227d4e" have entirely different histories.
965c082f59
...
cc18c9f36e
|
|
@ -56,7 +56,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||||
when #{healthCertStatus} = 1 then
|
when #{healthCertStatus} = 1 then
|
||||||
(
|
(
|
||||||
DATE_SUB(kst.health_cert_expire,
|
DATE_SUB(kst.health_cert_expire,
|
||||||
INTERVAL (select bs.item_value from kitchen_setting bs where bs.item_name = 'staff_health_cert_left_day_reminder') DAY)
|
INTERVAL (select bs.item_value from basic_setting bs where bs.item_name = 'staff_health_cert_left_day_reminder') DAY)
|
||||||
<![CDATA[ >= ]]> now()
|
<![CDATA[ >= ]]> now()
|
||||||
)
|
)
|
||||||
when #{healthCertStatus} = 2 then
|
when #{healthCertStatus} = 2 then
|
||||||
|
|
@ -70,7 +70,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||||
when #{healthCertStatus} = 4 then
|
when #{healthCertStatus} = 4 then
|
||||||
(
|
(
|
||||||
DATE_SUB(kst.health_cert_expire,
|
DATE_SUB(kst.health_cert_expire,
|
||||||
INTERVAL (select bs.item_value from kitchen_setting bs where bs.item_name = 'staff_health_cert_left_day_reminder') DAY)
|
INTERVAL (select bs.item_value from basic_setting bs where bs.item_name = 'staff_health_cert_left_day_reminder') DAY)
|
||||||
<![CDATA[ < ]]> now()
|
<![CDATA[ < ]]> now()
|
||||||
and kst.health_cert_expire > now()
|
and kst.health_cert_expire > now()
|
||||||
)
|
)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue