dev #9

Merged
mkm merged 16 commits from dev into main 2025-04-10 14:37:03 +08:00
2 changed files with 2 additions and 1 deletions
Showing only changes of commit c26790ebbe - Show all commits

View File

@ -534,7 +534,7 @@ class LocalController extends BaseAdminController
$system_store_id = SystemStore::where('name', $row[1])->value('id');
}
$product = StoreBranchProduct::where('product_id', $row[0])->where('store_id', $system_store_id)->field('id,product_id,stock')->findOrEmpty();
if ($row[10] == $product->stock && $product->stock) {
if ($row[10] == $product->stock && intval($product->stock) > 0) {
$arr = [
'nums' => $row[10],
'product_id' => $product->product_id,

1
public/output.text Normal file

File diff suppressed because one or more lines are too long