From 504e4e421bde93344f86df5921199a6c816a45f9 Mon Sep 17 00:00:00 2001
From: dsmzx <dsmzx@123.com>
Date: 星期四, 13 六月 2024 16:41:33 +0800
Subject: [PATCH] 出入库调拨产品明细增加备注字段(同步产品的备注字段)

---
 models/month_stats.go |    9 +++++++++
 1 files changed, 9 insertions(+), 0 deletions(-)

diff --git a/models/month_stats.go b/models/month_stats.go
index a40c003..64e1111 100644
--- a/models/month_stats.go
+++ b/models/month_stats.go
@@ -347,3 +347,12 @@
 	}
 	return m
 }
+
+func (slf *MonthStatsSearch) Count() (int64, error) {
+	var (
+		total int64
+		db    = slf.build()
+	)
+	err := db.Count(&total).Error
+	return total, err
+}

--
Gitblit v1.8.0