|
@@ -5,10 +5,6 @@ import (
|
|
|
)
|
|
|
|
|
|
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
|