我試圖讓登錄工作在調度程序上,但得到了module.exports.report.logon is not a function錯誤。這是代碼: const cron = require('node-cron');
const cms = require("g4js-cognos").Cms;
module.exports.report = new cms(url, namespace, us
我有一個MySQL表,我拉一些信息,包括日期[Appt_Date]。如果數據顯示在查詢中,我想創建日期桶,所以我可以總共有多少個在0-7天,8-14天,15-21天,22-28天或29+天之間。 我的日期桶表達式是對於5桶如下: case
when [Appt_Date] between (current_date) and _add_days (current_date,-7) then 1