Aslee 3 年之前
父节点
当前提交
df7c00e7fb
共有 1 个文件被更改,包括 1 次插入0 次删除
  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}