瀏覽代碼

客户管理

wanghui 8 年之前
父節點
當前提交
c842a5f0ea
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      src/main/java/com/goafanti/common/mapper/UserMapperExt.xml

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

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