校对状态数量统计

This commit is contained in:
chengxl
2025-10-15 09:21:04 +08:00
parent 0d676ccd43
commit dc8660d4e0

View File

@@ -324,7 +324,7 @@ class Proofread extends Base
}
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'];
//返回结果
@@ -502,7 +502,7 @@ class Proofread extends Base
return json_encode(['status' => 1,'msg' => "Update successful"]);
}
/**
* @title 根据状态统计数量
* @param article_id 文章ID