Commit 9aa93546eaeda8b8ab1efbf0d0d6845332fe87b4
1 parent
dba26af7
跟进池新增电话号码
Showing
3 changed files
with
5 additions
and
0 deletions
fw-valhalla-dao/src/main/resources/mapper/FollowTaskMapper.xml
... | ... | @@ -9,6 +9,7 @@ |
9 | 9 | SELECT t1.id, |
10 | 10 | if(t1.type=3 , t4.plate_no, t3.plate_no)plate_no, |
11 | 11 | if(t1.type=3 , t4.frame_no, t3.frame_no)frame_no, |
12 | + if(t1.type=3 , t4.mobile, t5.mobile) mobile, | |
12 | 13 | t3.cus_level cus_level, |
13 | 14 | t2.expires loan_expires, |
14 | 15 | t1.type type, |
... | ... | @@ -33,6 +34,7 @@ |
33 | 34 | t1.group_id group_id |
34 | 35 | FROM follow_task t1 |
35 | 36 | left join customer t3 on t1.customer_id = t3.id |
37 | + left join customer_base_info t5 on t3.base_id = t5.id | |
36 | 38 | left join accident_pool t4 on t1.customer_id = t4.id |
37 | 39 | left join customer_loan_info t2 on t3.frame_no = t2.frame_no and t3.group_id = t2.group_id |
38 | 40 | <where> | ... | ... |
fw-valhalla-domain/src/main/java/cn/fw/valhalla/domain/dto/FollowPoolDTO.java
... | ... | @@ -16,6 +16,7 @@ public class FollowPoolDTO { |
16 | 16 | * 车牌号 |
17 | 17 | */ |
18 | 18 | private String plateNo; |
19 | + private String mobile; | |
19 | 20 | /** |
20 | 21 | * 客户星级 |
21 | 22 | */ |
... | ... | @@ -98,6 +99,7 @@ public class FollowPoolDTO { |
98 | 99 | private Date closeTime; |
99 | 100 | /** |
100 | 101 | * 战败类型 |
102 | + * | |
101 | 103 | * @see cn.fw.valhalla.domain.enums.TaskDefeatTypeEnum |
102 | 104 | */ |
103 | 105 | private Integer initiative; | ... | ... |