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