From c306a749aa477b30fc5187f72e89aec3c9a6060a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BE=90=E6=B6=9B?= Date: Thu, 22 Sep 2022 16:12:28 +0800 Subject: [PATCH] =?UTF-8?q?fix(enduser):=E6=94=B9=E6=AD=A3=E4=B8=80?= =?UTF-8?q?=E4=B8=AA=E6=9F=A5=E8=AF=A2=E8=AF=AD=E5=8F=A5=E4=B8=AD=E7=9A=84?= =?UTF-8?q?=E5=A4=A7=E5=B0=8F=E5=86=99=E9=97=AE=E9=A2=98=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- service/end_user.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/service/end_user.go b/service/end_user.go index b18fc0d..68cb26a 100644 --- a/service/end_user.go +++ b/service/end_user.go @@ -373,7 +373,7 @@ func (es _EndUserService) StatEndUserRecordInPeriod(requestUser, requestPark, st }) ) if len(requestUser) > 0 { - cond = cond.Where("Park.user_id = ?", requestUser) + cond = cond.Where("park.user_id = ?", requestUser) conditions = append(conditions, requestUser) } else { conditions = append(conditions, "_")