소스 검색

Merge branch 'test2' of jishutao/kede-server into prod

anderx 1 년 전
부모
커밋
2cea6c7850
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 2 1
      src/main/java/com/goafanti/common/mapper/OrganizationContactBookMapper.xml

+ 2 - 1
src/main/java/com/goafanti/common/mapper/OrganizationContactBookMapper.xml

@@ -492,10 +492,11 @@
   select 
     <include refid="Base_Column_List" />
     from organization_contact_book
-    where uid = #{uid}  and major =1 limit 1
+    where uid = #{uid}  and major =1
     <if test="aid != null">
         and aid= #{aid}
     </if>
+    limit 1
   </select>
     <select id="selectUserByContact" resultMap="BaseResultMap">
       select