12345678910111213 |
- package data_manage
- import "eta_gn/eta_task/global"
- func DeleteReportLogByDate(date string) (err error) {
- //sql := `DELETE FROM report_save_log WHERE create_time<? `
- //o := orm.NewOrmUsingDB("rddp")
- //_, err = o.Raw(sql, date).Exec()
- sql := `DELETE FROM report_save_log WHERE create_time<? `
- err = global.DmSQL["rddp"].Exec(sql, date).Error
- return
- }
|