|
|
@ -1233,7 +1233,7 @@ class Monitor extends BeanModel {
|
|
|
|
|
|
|
|
|
|
|
|
if (notificationList.length > 0) {
|
|
|
|
if (notificationList.length > 0) {
|
|
|
|
|
|
|
|
|
|
|
|
let row = await R.getRow("SELECT * FROM notification_sent_history WHERE type = ? AND monitor_id = ? AND days = ?", [
|
|
|
|
let row = await R.getRow("SELECT * FROM notification_sent_history WHERE type = ? AND monitor_id = ? AND days <= ?", [
|
|
|
|
"certificate",
|
|
|
|
"certificate",
|
|
|
|
this.id,
|
|
|
|
this.id,
|
|
|
|
targetDays,
|
|
|
|
targetDays,
|
|
|
|