|
|
@@ -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
|