@ -41,6 +41,8 @@ public class AppointmentRecordResultDTO implements Serializable {
private String remark;
private String recordId;
private String centerName;
private String address;
/**
* 预约时间
@ -57,9 +57,12 @@
cm.MATTER_NAME,
ar.ID AS recordId,
ar.APPOINTMENT_DATE,
ar.MATTER_ID as matterId
ar.MATTER_ID as matterId,
c.CENTER_NAME,
c.ADDRESS
FROM ic_matter_appointment_record ar
LEFT JOIN ic_party_service_center_matter cm ON (cm.ID = ar.MATTER_ID AND cm.DEL_FLAG = 0)
LEFT JOIN ic_party_service_center c ON (c.ID = cm.PARTY_SERVICE_CENTER_ID AND c.DEL_FLAG = 0)
WHERE ar.DEL_FLAG = 0
AND ar.ORG_ID = #{orgId}
AND ar.CREATED_BY = #{userId}