|
|
@@ -386,12 +386,12 @@
|
|
|
</select>
|
|
|
|
|
|
<select id="findCustomerContacts" parameterType="java.lang.String" resultType="com.goafanti.common.model.OrganizationContactBook">
|
|
|
- select id as ocbId,name,mobile from organization_contact_book
|
|
|
+ select id,name,mobile from organization_contact_book
|
|
|
where uid = #{uid,jdbcType=VARCHAR} and aid = #{aid,jdbcType=VARCHAR}
|
|
|
</select>
|
|
|
|
|
|
<select id="findAllContacts" parameterType="java.lang.String" resultType="com.goafanti.common.model.OrganizationContactBook">
|
|
|
- select id as ocbId,name,mobile from organization_contact_book
|
|
|
+ select id,name,mobile from organization_contact_book
|
|
|
where uid = #{uid,jdbcType=VARCHAR}
|
|
|
group by name
|
|
|
</select>
|