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;