Updata:解决冲突

This commit is contained in:
jiaji.H 2026-03-11 17:16:09 +08:00
commit 8297b006dc
4 changed files with 694 additions and 671 deletions

View File

@ -132,6 +132,7 @@ func CreateQuestionnaireSurveyAnswer(req *bundle.CreateQuestionnaireSurveyAnswer
"submit_time": timeParse(time.Now().Format("2006-01-02 15:04:05")),
"survey_status": msg.QuestionnaireSubmitted,
"survey_url": req.SurveyUrl,
"submit_by": req.SubmitBy,
}).Error
if err != nil {
return err

View File

@ -24,6 +24,7 @@ type QuestionnaireSurvey struct {
SuggestionsorImprovements string `gorm:"column:suggestionsor_improvements;not null;comment:改进建议" json:"suggestionsor_improvements"`
AdditionalComments string `gorm:"column:additional_comments;not null;comment:补充意见" json:"additional_comments"`
SurveyUrl string `gorm:"column:survey_url;not null;comment:问卷URL" json:"survey_url"`
SubmitBy string `gorm:"column:submit_by;not null;comment:提交人" json:"submit_by"`
}
func (QuestionnaireSurvey) TableName() string {

View File

@ -2446,6 +2446,7 @@ message CreateQuestionnaireSurveyAnswerRequest{
string surveyUrl = 4;
string submitTime = 5;
string submitBy = 6;
string submitAddress = 7;
}
message CreateQuestionnaireSurveyAnswerResponse{

File diff suppressed because it is too large Load Diff