@ -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;