Browse Source

bodycheck

胡轶钦 6 years ago
parent
commit
b9b54988dd
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      service/bodycheck/bodycheck.go

+ 1
- 1
service/bodycheck/bodycheck.go View File

@@ -156,7 +156,7 @@ func (s *BodyCheckServ) PostCheckResult(formVal map[string]interface{}) error {
156 156
 	beego.Error("________________presentation___________")
157 157
 	beego.Error(presentation)
158 158
 	beego.Error("_______________________________________")
159
-	if presentation == nil || presentation.Id != "" {
159
+	if presentation == nil || presentation.Id == "" {
160 160
 		// 新增
161 161
 		var preNew = model.TaPresentation{}
162 162
 		preNew.CheckId = checkinfo.Id