|
|
|
@ -284,8 +284,10 @@ public class ImAgentServiceImpl implements IImAgentService { |
|
|
|
throw new RuntimeException("代理不存在"); |
|
|
|
} |
|
|
|
|
|
|
|
agent.setDefaultKefuId(customerId); |
|
|
|
baseMapper.updateById(agent); |
|
|
|
LambdaUpdateWrapper<ImAgent> wrapper = new LambdaUpdateWrapper<>(); |
|
|
|
wrapper.eq(ImAgent::getId, agent.getId()); |
|
|
|
wrapper.set(ImAgent::getDefaultKefuId, customerId); |
|
|
|
baseMapper.update(new ImAgent(), wrapper); |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|