胡轶钦 hace 6 años
padre
commit
b9b54988dd
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1
    1
      service/bodycheck/bodycheck.go

+ 1
- 1
service/bodycheck/bodycheck.go Ver fichero

@@ -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