|
@@ -165,11 +165,9 @@ public class KuaishouPromoterServiceImpl implements IKuaishouPromoterService {
|
|
|
data.put("result", result);
|
|
|
//跟进记录
|
|
|
JSONObject followUpRecord = kuaishouPromoterMapper.getFollowUpRecordsByUserId(promoter.getPromoterId(), promoter.getUserId());
|
|
|
- if (Check.isNotNull(followUpRecord)) {
|
|
|
- List<JSONObject> followUpRecordList = kuaishouPromoterMapper.getFollowUpRecordListByPromoterId(promoter.getPromoterId(), followUpRecord.getLong("id"));
|
|
|
- data.put("followUpRecord", followUpRecord);
|
|
|
- data.put("historyFollowUpRecord", followUpRecordList);
|
|
|
- }
|
|
|
+ data.put("followUpRecord", followUpRecord);
|
|
|
+ List<JSONObject> followUpRecordList = kuaishouPromoterMapper.getFollowUpRecordListByPromoterId(promoter.getPromoterId(), followUpRecord.getLong("id"));
|
|
|
+ data.put("historyFollowUpRecord", followUpRecordList);
|
|
|
//标签
|
|
|
List<JSONObject> promoterLabelList = kuaishouPromoterMapper.getPromoterLabel(promoter.getPromoterId(), promoter.getUserId());
|
|
|
data.put("promoterLabelList", promoterLabelList);
|