소스 검색

新增线索客户

anderx 1 년 전
부모
커밋
df6568a921
2개의 변경된 파일13개의 추가작업 그리고 0개의 파일을 삭제
  1. 8 0
      src/main/java/com/goafanti/common/mapper/UserMapper.xml
  2. 5 0
      src/main/java/com/goafanti/customer/bo/OutUserClueBo.java

+ 8 - 0
src/main/java/com/goafanti/common/mapper/UserMapper.xml

@@ -1876,5 +1876,13 @@
           and datediff(now(),if(u.transfer_time  < um.last_follow_time,um.last_follow_time,u.transfer_time))>30
     </select>
 
+    <select id="selectUserClueList" resultType="com.goafanti.customer.bo.OutUserClueBo">
+        select a.id,a.nickname ,b.contacts ,b.contact_mobile,c.name adminName,
+               a.clue_process clueProcess,a.clue_time clueTime
+        from `user` a left join organization_identity b on a.id =b.uid
+                      left join admin c on a.aid=c.id
+        where clue_status =1 and clue_process in (0,2)
+    </select>
+
 </mapper>
 

+ 5 - 0
src/main/java/com/goafanti/customer/bo/OutUserClueBo.java

@@ -0,0 +1,5 @@
+package com.goafanti.customer.bo;
+
+public class OutUserClueBo {
+
+}