瀏覽代碼

Merge branch 'crm1.0' into debug

Roc 3 年之前
父節點
當前提交
0564965a07
共有 1 個文件被更改,包括 2 次插入1 次删除
  1. 2 1
      models/tables/seal/seal.go

+ 2 - 1
models/tables/seal/seal.go

@@ -63,7 +63,8 @@ func (seal *Seal) Update(cols []string) (err error) {
 func DeleteSeal(sealInfo *Seal) (err error) {
 	sealInfo.IsDelete = 1
 	sealInfo.ModifyTime = time.Now()
-	err = sealInfo.Update([]string{"IsDelete", "ModifyTime"})
+	sealInfo.InvalidTime = time.Now()
+	err = sealInfo.Update([]string{"IsDelete", "ModifyTime", "InvalidTime"})
 	return
 }