From f928e9561f4af86bdb13b8b1e5c5f5ac6b3f735c Mon Sep 17 00:00:00 2001 From: DengBiao <2319963317@qq.com> Date: Wed, 30 Aug 2023 10:40:51 +0800 Subject: [PATCH] update --- app/db/db_central_kitchen_for_school_package_for_system.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/db/db_central_kitchen_for_school_package_for_system.go b/app/db/db_central_kitchen_for_school_package_for_system.go index 3f1ce70..4c60255 100644 --- a/app/db/db_central_kitchen_for_school_package_for_system.go +++ b/app/db/db_central_kitchen_for_school_package_for_system.go @@ -30,7 +30,7 @@ func (centralKitchenForSchoolPackageForSystemDb *CentralKitchenForSchoolPackageF func (centralKitchenForSchoolPackageForSystemDb *CentralKitchenForSchoolPackageForSystemDb) GetCentralKitchenForSchoolPackageForSystemByMonth(year, month string) (m *model.CentralKitchenForSchoolPackageForSystem, err error) { m = new(model.CentralKitchenForSchoolPackageForSystem) - has, err := centralKitchenForSchoolPackageForSystemDb.Db.Where("year =? and month =? and is_delete = 0", year, month).Get(m) + has, err := centralKitchenForSchoolPackageForSystemDb.Db.Where("year =? and month =?", year, month).Get(m) if err != nil { return nil, logx.Error(err) }