|
@@ -73,7 +73,10 @@ class Apidsyskxcx extends Start_Controller
|
|
|
|
|
|
private function _doRenwu()
|
|
|
{
|
|
|
- $list = $this->zzjobs->find_all("status = 0 and quque = 'ysgjcx'", "*",null, 0, 1);
|
|
|
+ $list = $this->zzjobs->find_all("status = 0 and quque = 'ysgjcx'", "*",null, 0, 25);
|
|
|
+ if(empty($list)){
|
|
|
+ exit("There is no executable data available");
|
|
|
+ }
|
|
|
$ids = array_column($list, 'id');
|
|
|
$this->db->query("update crowd_zzjobs set status = 10 where id in (" . implode(",", $ids) . ")");
|
|
|
foreach ($list as $v) {
|