main
fengxinyhyl 6 months ago
parent 6bcef2c5c5
commit 2bb88c0c94
  1. 1
      app/common/repositories/store/product/ProductUnitRepository.php

@ -198,6 +198,7 @@ class ProductUnitRepository extends BaseRepository
{ {
$where['value'] = $value; $where['value'] = $value;
$where['mer_id'] = $merId; $where['mer_id'] = $merId;
$where['is_del'] = 0;
$data = $this->dao->getWhere($where); $data = $this->dao->getWhere($where);
if ($data) { if ($data) {
if (!$id) return false; if (!$id) return false;

Loading…
Cancel
Save