Browse Source

修改活动删除

longyu 3 years ago
parent
commit
62aa45dd72
1 changed files with 0 additions and 8 deletions
  1. 0 8
      models/roadshow/calendar.go

+ 0 - 8
models/roadshow/calendar.go

@@ -501,14 +501,6 @@ func DeleteCalendar(rsCalendarId, rsCalendarResearcherId int) (err error) {
 	return err
 }
 
-// 删除
-func DeleteRsCalendarResearcher(rsCalendarId int) (err error) {
-	o := orm.NewOrm()
-	sql := ` DELETE FROM rs_calendar_researcher WHERE rs_calendar_id=? `
-	_, err = o.Raw(sql, rsCalendarId).Exec()
-	return err
-}
-
 type ActivityTypeList struct {
 	ActivityTypeId   int                 `description:"活动类型ID"`
 	ActivityTypeName string              `description:"活动类型名称"`