step 2 : concat doctor name in list

This commit is contained in:
sindhu
2024-05-29 14:42:58 +07:00
parent 6703e321be
commit 12004eb3bb

View File

@@ -681,7 +681,17 @@ func (su *ServicesMdDoctor) GetListMdDoctor(search string, currentPage int, rowP
ifnull(d.M_DoctorCode,'') as M_DoctorCode,
ifnull(d.M_DoctorPrefix,'') as M_DoctorPrefix,
ifnull(d.M_DoctorPrefix2,'') as M_DoctorPrefix2,
ifnull(d.M_DoctorName,'') as M_DoctorName,
CONCAT(
IFNULL(d.M_DoctorPrefix, ''),
' ',
IFNULL(d.M_DoctorPrefix2, ''),
' ',
IFNULL(d.M_DoctorName, ''),
' ',
IFNULL(d.M_DoctorSuffix, ''),
' ',
IFNULL(d.M_DoctorSuffix2, '')
) as M_DoctorName,
ifnull(d.M_DoctorSuffix,'') as M_DoctorSuffix,
ifnull(d.M_DoctorSuffix2,'') as M_DoctorSuffix2,
d.M_DoctorGender,