from('{{%ims_ybwm_instore_order}}') ->where(['state'=>1,'payAt'=>0]) ->andWhere(['<=','createdAt',time()-60]) ->orderBy('id asc')->limit(20)->all(); print_r($data);exit; } }