Aslee 3 years ago
parent
commit
df7c00e7fb
1 changed files with 1 additions and 0 deletions
  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}