Commit 20f6fa41 by lzzzzl

更新attr_values mongo处理

parent 9ccb4ad5
Showing with 1 additions and 1 deletions
......@@ -243,5 +243,5 @@ class ParamData(object):
@staticmethod
def get_spu(index, spu_conn):
sql = "SELECT spu_id,attr_values FROM lie_spu_%d WHERE class_id1 != 0 AND class_id2 != 0 \
AND attr_values != '' ORDER BY spu_id LIMIT 100 " % index
AND attr_values != '' ORDER BY spu_id" % index
return DBHandler.read(spu_conn, sql)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment