DROP EVENT IF EXISTS `job_stat_issue_daily`;
delimiter ;;
CREATE EVENT `job_stat_issue_daily`
ON SCHEDULE
EVERY '1' DAY STARTS '2023-02-01 01:00:00'
DO CALL pro_stat_issue('issue_daily', DATE_SUB(CURDATE(), INTERVAL 1 DAY), DATE_SUB(CURDATE(), INTERVAL 1 DAY))
;;
delimiter ;