This commit is contained in:
xman 2025-04-22 13:53:26 +08:00
parent d4966ebb75
commit c004a039b4

View File

@ -43,7 +43,7 @@ class CheckOrdeRecordCommand extends Command
]);
}
}
OrderDispatchRecord::whereIn('id',$ids)->update(['status'=>1]);
OrderDispatchRecord::whereIn('id',$ids)->where('status',0)->update(['status'=>1]);
OrderDispatch::whereIn('id',$dispatchIds)->where('follow',1)->update(['follow'=>0]);
});