no commit message
This commit is contained in:
@@ -95,6 +95,7 @@ class Estimate extends Base
|
||||
// }
|
||||
$where[] = ['i.is_simple', '=', 0];
|
||||
$where[] = ['i.estimate_status', '=', $estimate_status];
|
||||
$where[] = ['i.status', 'in', [9, 10, 11, 12]];
|
||||
$start_time && $where[] = ['i.create_time', '>=', $start_time . " 00:00:00"];
|
||||
$end_time && $where[] = ['i.create_time', '<=', $end_time . " 23:59:59"];
|
||||
$is_multiple && $where[] = ['i.is_multiple', '=', $is_multiple];
|
||||
@@ -540,6 +541,10 @@ class Estimate extends Base
|
||||
if (!$in_upd) {
|
||||
return $this->buildFailed('操作失败!');
|
||||
}
|
||||
|
||||
// 推送预估数量更新给所有客户端
|
||||
fetchAndPushEstimatePendingCount();
|
||||
|
||||
return $this->buildSuccess();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user