- package data_manage
- import (
- "eta/eta_task/global"
- "eta/eta_task/utils"
- )
- func DeleteReportLogByDate(date string) (err error) {
- sql := `DELETE FROM report_save_log WHERE create_time<? `
- o := global.DbMap[utils.DbNameIndex]
- err = o.Exec(sql, date).Error
- return
- }
|