From 4f526b034a6e13a521ad71dcbdbea97043d6ea19 Mon Sep 17 00:00:00 2001
From: zhangqian <zhangqian@123.com>
Date: 星期三, 20 三月 2024 19:21:20 +0800
Subject: [PATCH] 发货信息字段完善

---
 model/system_set.go |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/model/system_set.go b/model/system_set.go
index f44370a..d623e96 100644
--- a/model/system_set.go
+++ b/model/system_set.go
@@ -66,7 +66,7 @@
 
 func (slf *SystemSetSearch) DeleteAll() (err error) {
 	var db = slf.build()
-	err = db.Delete(&SystemSet{}).Error
+	err = db.Where("1=1").Delete(&SystemSet{}).Error
 	return err
 }
 

--
Gitblit v1.8.0