|
|
@@ -695,6 +695,8 @@ public class CorpServiceImpl implements CorpService {
|
|
|
//老会话已结束
|
|
|
if (changeType != 1) {
|
|
|
corpKfServicerSessionRecord.setServiceState(changeType == 3 ? 1 : 2);
|
|
|
+ //关闭
|
|
|
+ corpKfServicerSessionRecord.setCloseTime(DateTime.now());
|
|
|
corpKfServicerSessionRecordMapper.updateById(corpKfServicerSessionRecord);
|
|
|
//优先分配等待池中的用户
|
|
|
assignWaitingQueueUser(corpId, openKfId, wxCpKfMsgItem.getServicerUserId(), corpKfAccountSessionConfig);
|