소스 검색

客户管理

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>