From ae33d5c080123dce6535fb2b21cf278b0261640b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=8B=8F=E5=B0=B9=E5=B2=9A?= <770236076@qq.com> Date: Mon, 6 Jul 2020 17:32:27 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9E=9C=E5=9B=AD=E6=94=B9=E7=BB=93=E7=AE=97?= =?UTF-8?q?=E8=A7=84=E5=88=99=E5=B0=B1=E7=BB=AA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- business/jxstore/tempop/tempop.go | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/business/jxstore/tempop/tempop.go b/business/jxstore/tempop/tempop.go index 6f8850629..bb1f341db 100644 --- a/business/jxstore/tempop/tempop.go +++ b/business/jxstore/tempop/tempop.go @@ -1660,10 +1660,9 @@ func RefreshJXPriceChange(ctx *jxcontext.Context, storeID int) (hint string, err sql := ` SELECT * FROM store - WHERE deleted_at = ? AND status <> ? - AND id <> 100118 AND id <> 100274 AND id <> 100205 + WHERE deleted_at = ? AND pay_percentage > 50 ` - sqlParams := []interface{}{utils.DefaultTimeValue, model.StoreStatusDisabled} + sqlParams := []interface{}{utils.DefaultTimeValue} if storeID != 0 { sql += " AND id = ?" sqlParams = append(sqlParams, storeID)