Aslee %!s(int64=3) %!d(string=hai) anos
pai
achega
df7c00e7fb
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      src/main/resources/mapper/DoctorMapper.xml

+ 1 - 0
src/main/resources/mapper/DoctorMapper.xml

@@ -91,6 +91,7 @@
         from cm_brand_doctor
         where certificateNo = #{certificateNo}
           and authUserId = #{authUserId}
+        limit 1
     </select>
     <select id="getBannerList" resultType="java.lang.String">
         select banner from cm_brand_doctor_banner where doctorId = #{doctorId}