Skip to content
This repository has been archived by the owner on Feb 16, 2022. It is now read-only.

Query data that just now updated data is different from database #213

Open
tcyfree opened this issue Apr 15, 2020 · 0 comments
Open

Query data that just now updated data is different from database #213

tcyfree opened this issue Apr 15, 2020 · 0 comments

Comments

@tcyfree
Copy link

tcyfree commented Apr 15, 2020

$skuInventoryDetail = $skuInventoryDetailRepository->where('sku_inside_code_uses_id', $skuInsideCodeUses->id)->findFirst();

\Log::info($skuInventoryDetail->stockout_time); // data is null

\Log::info(SkuInventoryDetail::where('sku_inside_code_uses_id', $skuInsideCodeUses->id)->first()); // data is right

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant