如果是实体中是直接引用别的对象的具体参数字段,直接用原始方式就行 SELECT eer.visit_number as visitNumber, eer.patient_name as patientName, eer.send_time as sendTime, eek.id as id, eek.ward_code as wardCode, eek.ward_name as wardName, ee