From 2bb88c0c94f3cff13264c34ea848c51afdf7ba35 Mon Sep 17 00:00:00 2001 From: fengxinyhyl Date: Wed, 12 Jun 2024 19:39:42 +0800 Subject: [PATCH] fix bug --- app/common/repositories/store/product/ProductUnitRepository.php | 1 + 1 file changed, 1 insertion(+) diff --git a/app/common/repositories/store/product/ProductUnitRepository.php b/app/common/repositories/store/product/ProductUnitRepository.php index b6d66d5..7ca4704 100755 --- a/app/common/repositories/store/product/ProductUnitRepository.php +++ b/app/common/repositories/store/product/ProductUnitRepository.php @@ -198,6 +198,7 @@ class ProductUnitRepository extends BaseRepository { $where['value'] = $value; $where['mer_id'] = $merId; + $where['is_del'] = 0; $data = $this->dao->getWhere($where); if ($data) { if (!$id) return false;