校对状态数量统计
This commit is contained in:
@@ -324,7 +324,7 @@ class Proofread extends Base
|
|||||||
}
|
}
|
||||||
Db::commit();
|
Db::commit();
|
||||||
//查询未执行的数量
|
//查询未执行的数量
|
||||||
$aCount = json_decode($this->getCountByState(['article_id' => $iArticleId,'state' => 2,'am_id' => $iAmId]),true);
|
$aCount = json_decode($this->getCountByState(['article_id' => $iArticleId,'am_id' => $iAmId]),true);
|
||||||
$aCount = empty($aCount['data']) ? [] : $aCount['data'];
|
$aCount = empty($aCount['data']) ? [] : $aCount['data'];
|
||||||
|
|
||||||
//返回结果
|
//返回结果
|
||||||
@@ -502,7 +502,7 @@ class Proofread extends Base
|
|||||||
return json_encode(['status' => 1,'msg' => "Update successful"]);
|
return json_encode(['status' => 1,'msg' => "Update successful"]);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @title 根据状态统计数量
|
* @title 根据状态统计数量
|
||||||
* @param article_id 文章ID
|
* @param article_id 文章ID
|
||||||
|
|||||||
Reference in New Issue
Block a user