Commit 89bd2e6ce20d7fe5eb5cc8f126dfb5fea9337239
1 parent
953745ee
feature(*): 新增区域站岗线索池
- 新增区域站岗线索池
Showing
10 changed files
with
23 additions
and
3 deletions
doc/v2.0/update.sql
fw-valhalla-dao/src/main/resources/mapper/ClueTaskMapper.xml
... | ... | @@ -28,6 +28,7 @@ |
28 | 28 | t1.state state, |
29 | 29 | t1.close_time close_time, |
30 | 30 | t1.reason initiative, |
31 | + t1.version version, | |
31 | 32 | t1.group_id group_id |
32 | 33 | FROM clue_task t1 |
33 | 34 | left join follow_clue t6 on t1.clue_id=t6.id |
... | ... | @@ -37,7 +38,7 @@ |
37 | 38 | left join customer_loan_info t2 on t6.vin = t2.frame_no and t6.group_id = t2.group_id |
38 | 39 | <where> |
39 | 40 | t1.group_id = #{condition.groupId} |
40 | - and t1.tye != 10 | |
41 | + and t1.type != 10 | |
41 | 42 | <if test="condition.userId !=null"> |
42 | 43 | and t1.follow_user = #{condition.userId} |
43 | 44 | </if> |
... | ... | @@ -118,7 +119,7 @@ |
118 | 119 | left join customer_loan_info t2 on t6.vin = t2.frame_no and t6.group_id = t2.group_id |
119 | 120 | <where> |
120 | 121 | t1.group_id = #{condition.groupId} |
121 | - and t1.tye != 10 | |
122 | + and t1.type != 10 | |
122 | 123 | <if test="condition.userId !=null"> |
123 | 124 | and t1.follow_user = #{condition.userId} |
124 | 125 | </if> | ... | ... |
fw-valhalla-dao/src/main/resources/mapper/PubCluePoolMapper.xml
fw-valhalla-domain/src/main/java/cn/fw/valhalla/domain/db/follow/ClueTask.java
fw-valhalla-domain/src/main/java/cn/fw/valhalla/domain/dto/FollowPoolDTO.java
fw-valhalla-domain/src/main/java/cn/fw/valhalla/domain/vo/pool/FollowPoolListVO.java
... | ... | @@ -101,6 +101,10 @@ public class FollowPoolListVO { |
101 | 101 | */ |
102 | 102 | private Long groupId; |
103 | 103 | private Integer sourceType; |
104 | + /** | |
105 | + * 版本 | |
106 | + */ | |
107 | + private Integer version; | |
104 | 108 | |
105 | 109 | public String getRemaining() { |
106 | 110 | if (Objects.isNull(remaining) || state != 1) { | ... | ... |
fw-valhalla-server/src/main/resources/application-local.yml
fw-valhalla-service/src/main/java/cn/fw/valhalla/service/bus/follow/strategy/AbstractFollowStrategy.java
fw-valhalla-service/src/main/java/cn/fw/valhalla/service/bus/follow/strategy/impl/IRFollowStrategy.java
fw-valhalla-service/src/main/java/cn/fw/valhalla/service/bus/follow/strategy/impl/PubFollowStrategy.java
... | ... | @@ -124,6 +124,7 @@ public class PubFollowStrategy implements FollowStrategy { |
124 | 124 | clueTask.setFollowShop(pubClue.getShopId()); |
125 | 125 | clueTask.setFollowUser(pubClue.getAdviserId()); |
126 | 126 | clueTask.setFollowUserName(pubClue.getAdviserName()); |
127 | + clueTask.setVersion(2); | |
127 | 128 | clueTaskService.save(clueTask); |
128 | 129 | final FollowInitDTO followInitDTO = creteFollowInitDTO(pubClue, clueTask); |
129 | 130 | shirasawaRpcService.createFollowData(followInitDTO); | ... | ... |