diff --git a/business/model/dao/dao_user.go b/business/model/dao/dao_user.go index 0338e5406..73e10f91f 100644 --- a/business/model/dao/dao_user.go +++ b/business/model/dao/dao_user.go @@ -133,12 +133,14 @@ func GetStoreListByMobile(db *DaoDB, mobile string) (storeList []*model.Store, e LEFT JOIN weixins t3 ON t3.parentid = t2.id WHERE (t2.tel = ? OR t3.tel = ?) ) t1 + WHERE t1.deleted_at = ? ORDER BY t1.name` sqlParams := []interface{}{ mobile, mobile, mobile, mobile, + utils.DefaultTimeValue, } err = GetRows(db, &storeList, sql, sqlParams...) }