浏览代码

bodycheck

胡轶钦 6 年前
父节点
当前提交
b9b54988dd
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1
    1
      service/bodycheck/bodycheck.go

+ 1
- 1
service/bodycheck/bodycheck.go 查看文件

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