From 0fc7d854669ab244114dae97e4a7bbaabab1f10a Mon Sep 17 00:00:00 2001
From: zhangqian <zhangqian@123.com>
Date: 星期五, 25 八月 2023 14:01:54 +0800
Subject: [PATCH] Merge branch 'master' of ssh://192.168.5.5:29418/aps/crm

---
 model/salesLeads.go |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/model/salesLeads.go b/model/salesLeads.go
index d11db66..75ff864 100644
--- a/model/salesLeads.go
+++ b/model/salesLeads.go
@@ -109,6 +109,7 @@
 
 func (slf *SalesLeadsSearch) Delete() error {
 	var db = slf.build()
+	db.Update("is_deleted", 1)
 	return db.Delete(&SalesLeads{}).Error
 }
 

--
Gitblit v1.8.0