From 6c1c25ecc449a4059e48eab4ed1a9df335ac9161 Mon Sep 17 00:00:00 2001 From: huangjiajun <582604932@qq.com> Date: Tue, 18 Jun 2024 15:52:27 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/implement/happy_orchard_task_db.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/implement/happy_orchard_task_db.go b/src/implement/happy_orchard_task_db.go index 2dc75eb..03d8ee3 100644 --- a/src/implement/happy_orchard_task_db.go +++ b/src/implement/happy_orchard_task_db.go @@ -16,7 +16,7 @@ func NewHappyOrchardTaskDb(engine *xorm.Engine) dao.HappyOrchardTaskDao { } func (h HappyOrchardTaskDb) GetHappyOrchardTaskByPid(types string, pid int) (mm *[]models.HappyOrchardTask, err error) { var m []models.HappyOrchardTask - if err := h.Db.Where("type=? and is_use=? and pid =?", types, 1, pid).Find(&m); err != nil { + if err := h.Db.Where("type=? and pid =?", types, pid).Find(&m); err != nil { return nil, zhios_order_relate_logx.Error(err) } return &m, nil