|
|
@@ -213,7 +213,6 @@ class CfItem extends Backend |
|
|
|
public function getList(){ |
|
|
|
$name=$this->request->post('name'); |
|
|
|
$keyValue=$this->request->post('keyValue'); |
|
|
|
$this->model->field('id,item_name as name,item_unit,item_type,item_memo'); |
|
|
|
$where = ["del_flag"=>0]; |
|
|
|
if($keyValue){ |
|
|
|
$where = ['id'=>$keyValue,"del_flag"=>0]; |
|
|
|