Finish Hotfix-1

This commit is contained in:
mzl
2025-10-21 15:11:45 +08:00
+1 -1
View File
@@ -225,7 +225,7 @@ class StockOrdersService
*/
public function queryAppro($bizId)
{
$instances = ApprovalInstances::where('biz_id', $bizId)->where('biz_type', 'stock_orders')->first();
$instances = ApprovalInstances::where('biz_id', $bizId)->where('biz_type', 'stock_orders')->where('status', 'approved')->first();
if (!$instances) {
return [];
}