|
@@ -237,8 +237,8 @@ class Reciveremote extends Base
|
|
|
foreach ($param as $k => $v) {
|
|
|
switch ($k) {
|
|
|
case 'patient_num':
|
|
|
- $queryWhere.= " and `e`.`patient_num` like %?%";
|
|
|
- $options[] = $v;
|
|
|
+ $queryWhere.= " and `e`.`patient_num` like ?";
|
|
|
+ $options[] = '%'.$v.'%';
|
|
|
break;
|
|
|
case 'exam_class' :
|
|
|
if(empty($v)){
|
|
@@ -248,8 +248,8 @@ class Reciveremote extends Base
|
|
|
$options[] = $v;
|
|
|
break;
|
|
|
case 'name':
|
|
|
- $queryWhere.= " and `pi`.`name` like %?%";
|
|
|
- $options[] = $v;
|
|
|
+ $queryWhere.= " and `pi`.`name` like ?";
|
|
|
+ $options[] = '%'.$v.'%';
|
|
|
break;
|
|
|
case 'applicationtime':
|
|
|
if(empty($v)){
|