|
|
@@ -134,7 +134,7 @@ public class CorpCustomerAcquisitionLinkServiceImpl extends ServiceImpl<CorpCust
|
|
|
}
|
|
|
|
|
|
@Override
|
|
|
- public void syncDutyLinkUrl() {
|
|
|
+ public void syncDutyLinkUrl() throws Exception {
|
|
|
//获取目前可用值班客服
|
|
|
List<SysCorpFollowRelate> sysCorpFollowRelates = sysCorpFollowRelateMapper.selectList(Wrappers.lambdaQuery(SysCorpFollowRelate.class)
|
|
|
.eq(SysCorpFollowRelate::getStatus, 1)
|
|
|
@@ -142,7 +142,7 @@ public class CorpCustomerAcquisitionLinkServiceImpl extends ServiceImpl<CorpCust
|
|
|
List<String> userIds = sysCorpFollowRelates.stream().map((e) -> e.getId().toString()).collect(Collectors.toList());
|
|
|
if (CollUtil.isNotEmpty(userIds)) {
|
|
|
this.update(Wrappers.lambdaUpdate(CorpCustomerAcquisitionLink.class)
|
|
|
- .eq(CorpCustomerAcquisitionLink::getUserList, userIds)
|
|
|
+ .set(CorpCustomerAcquisitionLink::getUserList, Jsons.toJson(userIds))
|
|
|
.eq(CorpCustomerAcquisitionLink::getIsDuty, 1));
|
|
|
}
|
|
|
}
|