|
@@ -24,7 +24,7 @@ class OpenObtainOrder extends Command
|
|
|
protected function execute(Input $input, Output $output)
|
|
protected function execute(Input $input, Output $output)
|
|
|
{
|
|
{
|
|
|
try {
|
|
try {
|
|
|
- $infoWorkerIds = MasterWorkerInfo::where(['audit_state'=>1])->column('worker_id');
|
|
|
|
|
|
|
+ $infoWorkerIds = MasterWorkerInfo::where(['audit_state'=>1,'is_disable'=>0])->column('worker_id');
|
|
|
$bankWorkerIds = BankAccount::where(['audit_state'=>1])->column('worker_id');
|
|
$bankWorkerIds = BankAccount::where(['audit_state'=>1])->column('worker_id');
|
|
|
$ids = array_intersect($infoWorkerIds,$bankWorkerIds);
|
|
$ids = array_intersect($infoWorkerIds,$bankWorkerIds);
|
|
|
$workerIds = MasterWorker::where([
|
|
$workerIds = MasterWorker::where([
|