Browse Source

开单列表BUG修复

anderx 1 year ago
parent
commit
4c6f321e87

+ 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