hejianhao
2026-08-19 da724e25fc88b74ffb44954d32bc4b7a904d0646
tcm-training-admin-backend/src/main/resources/mapper/ClinicQueryMapper.xml
@@ -121,7 +121,7 @@
    </select>
    <select id="selectClinicDetail" resultType="com.tcm.training.admin.member.row.ClinicDetailRow">
        SELECT c.id, c.name, c.contact_phone AS contactPhone, c.address,
        SELECT c.id, c.name, c.contact_phone AS contactPhone, c.address, c.province_code AS provinceCode, c.city_code AS cityCode, c.district_code AS districtCode,
               c.business_license_url AS businessLicenseUrl,
               c.bank_name AS bankName, c.account_holder AS accountHolder,
               c.account_number AS accountNumber, c.branch_name AS branchName,
@@ -131,7 +131,7 @@
        FROM tcm_clinic c
        LEFT JOIN tcm_app_user u ON u.clinic_id = c.id AND u.deleted = 0 and u.type = 1
        WHERE c.deleted = 0 AND c.id = #{id}
        GROUP BY c.id, c.name, c.contact_phone, c.address, c.business_license_url,c.status,
        GROUP BY c.id, c.name, c.contact_phone, c.address, c.province_code, c.city_code, c.district_code, c.business_license_url,c.status,
                 c.bank_name, c.account_holder, c.account_number, c.branch_name, u.avatar, u.phone
    </select>