|
cursor = db.query('select t1.num,next-prev as diff from google_poi.conv_log t1, (SELECT num,max(id) mid FROM google_poi.conv_log group by num ) t2 where t1.id=t2.mid having diff>0 order by rand()')
|
|
cursor = db.query('select t1.num,next-prev as diff from google_poi.conv_log t1, (SELECT num,max(id) mid FROM google_poi.conv_log group by num ) t2 where t1.id=t2.mid having diff>0 order by rand()')
|
|
job=get_next_job(db,repeat=True,repkw=repkw,repnum=repnum)
|
|
job=get_next_job(db,repeat=True,repkw=repkw,repnum=repnum)
|