|
|
@ -40,8 +40,10 @@ class ServiceEvaluateService implements ServiceEvaluateServiceInterface |
|
|
|
|
|
|
|
|
public function getEvaluateList($service_personnel_id) |
|
|
public function getEvaluateList($service_personnel_id) |
|
|
{ |
|
|
{ |
|
|
$res = Db::table('lanzu_service_evaluate') |
|
|
|
|
|
->where(['service_personnel_id' => $service_personnel_id]) |
|
|
|
|
|
|
|
|
$res = Db::table('lanzu_service_evaluate as e') |
|
|
|
|
|
->join('ims_cjdc_user as u','u.id','=','e.user_id') |
|
|
|
|
|
->where(['e.service_personnel_id'=>$service_personnel_id]) |
|
|
|
|
|
->select('e.*','u.name','u.img') |
|
|
->paginate(4); |
|
|
->paginate(4); |
|
|
return $res; |
|
|
return $res; |
|
|
} |
|
|
} |
|
|
|