25 lines
390 B
PHP
25 lines
390 B
PHP
<?php
|
|
|
|
|
|
|
|
namespace app\common\dao\store\parameter;
|
|
|
|
use app\common\dao\BaseDao;
|
|
use app\common\model\store\parameter\ParameterValue;
|
|
|
|
class ParameterValueDao extends BaseDao
|
|
{
|
|
|
|
protected function getModel(): string
|
|
{
|
|
return ParameterValue::class;
|
|
}
|
|
|
|
public function clear($id,$field)
|
|
{
|
|
$this->getModel()::getDB()->where($field, $id)->delete();
|
|
}
|
|
|
|
|
|
}
|