|
@@ -41,7 +41,7 @@ public function list()
|
|
|
}
|
|
|
$wsm_code = isset($this->post['wsm_code']) && $this->post['wsm_code'] !== "" ? trim($this->post['wsm_code']) : "";
|
|
|
if ($wsm_code !== "") {
|
|
|
- $where['a.wsm_code'] = $wsm_code;
|
|
|
+ $where['a.wsm_code'] = Db::raw("like '%$wsm_code%'");
|
|
|
}
|
|
|
$apply_name = isset($this->post['apply_name']) && $this->post['apply_name'] !== "" ? trim($this->post['apply_name']) : "";
|
|
|
if ($apply_name !== "") {
|
|
@@ -49,7 +49,7 @@ public function list()
|
|
|
}
|
|
|
$type = isset($this->post['type']) && $this->post['type'] !== "" ? trim($this->post['type']) : "";
|
|
|
if ($type !== "") {
|
|
|
- $where['a.type'] = $apply_name;
|
|
|
+ $where['a.type'] = $type;
|
|
|
}
|
|
|
$apply_id = isset($this->post['apply_id']) && $this->post['apply_id'] !== "" ? intval($this->post['apply_id']) : "";
|
|
|
if ($apply_id!== "") {
|