|
|
@@ -55,8 +55,6 @@ public class CorpCustomerAcquistionServiceImpl implements CorpCustomerAcquistion
|
|
|
CorpCustomerAcquisitionLinkPopularize corpCustomerAcquisitionLinkPopularize = corpCustomerAcquisitionLinkPopularizeMapper.selectById(linkId);
|
|
|
Long customerAcquistionLinkId = corpCustomerAcquisitionLinkPopularize.getCustomerAcquistionLinkId();
|
|
|
CorpCustomerAcquisitionLink corpCustomerAcquisitionLink = corpCustomerAcquisitionLinkMapper.selectById(customerAcquistionLinkId);
|
|
|
- //更新值班获客链接
|
|
|
- resetAcLinkConfigIfDuty(corpCustomerAcquisitionLink);
|
|
|
return corpCustomerAcquisitionLink.getUrl();
|
|
|
}
|
|
|
|
|
|
@@ -83,7 +81,6 @@ public class CorpCustomerAcquistionServiceImpl implements CorpCustomerAcquistion
|
|
|
@Override
|
|
|
public String getActiveCustomerAcquistionById(Long acLinkId) throws Exception {
|
|
|
CorpCustomerAcquisitionLink corpCustomerAcquisitionLink = corpCustomerAcquisitionLinkMapper.selectById(acLinkId);
|
|
|
- resetAcLinkConfigIfDuty(corpCustomerAcquisitionLink);
|
|
|
return corpCustomerAcquisitionLink.getUrl();
|
|
|
}
|
|
|
|
|
|
@@ -106,10 +103,9 @@ public class CorpCustomerAcquistionServiceImpl implements CorpCustomerAcquistion
|
|
|
if (chooseDutyUsers == null) {
|
|
|
chooseDutyUsers = userList;
|
|
|
}
|
|
|
- List<Integer> chooseUserList = Jsons.parseList(chooseDutyUsers, Integer.class);
|
|
|
|
|
|
Set<Integer> fitUsers = dutyServices.stream().filter(e -> users.contains(e)).collect(Collectors.toSet());
|
|
|
- if (CollUtil.isNotEmpty(fitUsers) && (fitUsers.size() != chooseUserList.size() || !chooseUserList.containsAll(fitUsers))) {
|
|
|
+ if (CollUtil.isNotEmpty(fitUsers)) {
|
|
|
|
|
|
corpCustomerAcquisitionLink.setChooseDutyUsers(Jsons.toJson(fitUsers));
|
|
|
|