Преглед на файлове

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