|
@@ -8,6 +8,7 @@ import (
|
|
|
|
|
|
type RsCalendarResearcherQuestion struct {
|
|
|
RsCalendarResearcherQuestionId int `orm:"column(rs_calendar_researcher_question_id);pk"`
|
|
|
+ RsCalendarId int `description:"路演日历id"`
|
|
|
RsCalendarResearcherId int `description:"路演研究员记录ID"`
|
|
|
QuestionContent string `description:"提问内容"`
|
|
|
ReplyContent string `description:"回复内容"`
|
|
@@ -49,6 +50,7 @@ func RoadShowQuestionSave(req *RoadShowQuestionSaveReq) (err error) {
|
|
|
list := make([]*RsCalendarResearcherQuestion, 0)
|
|
|
for _, v := range req.QuestionList {
|
|
|
item := new(RsCalendarResearcherQuestion)
|
|
|
+ item.RsCalendarId = req.RsCalendarId
|
|
|
item.RsCalendarResearcherId = req.RsCalendarResearcherId
|
|
|
item.QuestionContent = v.QuestionContent
|
|
|
item.ReplyContent = v.ReplyContent
|