Updata:更新sql
This commit is contained in:
parent
14609d29ca
commit
a21668b585
@ -40,8 +40,9 @@ func SendQuestionnaireSurvey(req *bundle.SendQuestionnaireSurveyRequest) (resp *
|
|||||||
if err != nil {
|
if err != nil {
|
||||||
if errors.Is(err, gorm.ErrRecordNotFound) {
|
if errors.Is(err, gorm.ErrRecordNotFound) {
|
||||||
resp.Status = 0
|
resp.Status = 0
|
||||||
|
} else {
|
||||||
|
return resp, err
|
||||||
}
|
}
|
||||||
return resp, err
|
|
||||||
}
|
}
|
||||||
if questionnaireInfo.UserId != 0 {
|
if questionnaireInfo.UserId != 0 {
|
||||||
resp.Status = 2
|
resp.Status = 2
|
||||||
|
|||||||
@ -2437,7 +2437,8 @@ message CreateQuestionnaireSurveyAnswerRequest{
|
|||||||
string surveyUrl = 4;
|
string surveyUrl = 4;
|
||||||
string submitTime = 5;
|
string submitTime = 5;
|
||||||
string submitBy = 6;
|
string submitBy = 6;
|
||||||
string submitAddress = 7;
|
string longitude = 7;
|
||||||
|
string latitude = 8;
|
||||||
}
|
}
|
||||||
|
|
||||||
message CreateQuestionnaireSurveyAnswerResponse{
|
message CreateQuestionnaireSurveyAnswerResponse{
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user