ppt_v2_save_log.go 267 B

12345678910111213
  1. package data_manage
  2. import (
  3. "eta/eta_task/global"
  4. "eta/eta_task/utils"
  5. )
  6. func DeletePPTLogByDate(date string) (err error) {
  7. sql := `DELETE FROM ppt_v2_save_log WHERE create_time<? `
  8. o := global.DbMap[utils.DbNameIndex]
  9. err = o.Exec(sql, date).Error
  10. return
  11. }