|
|
@ -71,7 +71,9 @@ public class OrganizeServiceImpl implements OrganizeService {
|
|
|
|
organize.setCreateBy(SecurityUtils.getCurrentUserId());
|
|
|
|
organize.setCreateBy(SecurityUtils.getCurrentUserId());
|
|
|
|
Organize saveOrganize = organizeRepository.save(organize);
|
|
|
|
Organize saveOrganize = organizeRepository.save(organize);
|
|
|
|
//添加分机号
|
|
|
|
//添加分机号
|
|
|
|
|
|
|
|
if (organize.getCallMode() == 1){
|
|
|
|
extensionNumberService.assignExtensionNum(saveOrganize.getId(), organize.getUserId());
|
|
|
|
extensionNumberService.assignExtensionNum(saveOrganize.getId(), organize.getUserId());
|
|
|
|
|
|
|
|
}
|
|
|
|
// 添加小组成员信息
|
|
|
|
// 添加小组成员信息
|
|
|
|
OrganizeUser organizeUser = new OrganizeUser();
|
|
|
|
OrganizeUser organizeUser = new OrganizeUser();
|
|
|
|
organizeUser.setOrganizeId(saveOrganize.getId());
|
|
|
|
organizeUser.setOrganizeId(saveOrganize.getId());
|
|
|
@ -257,6 +259,7 @@ public class OrganizeServiceImpl implements OrganizeService {
|
|
|
|
task.setBaseLabel(labelName);
|
|
|
|
task.setBaseLabel(labelName);
|
|
|
|
task.setIsDistribution(1);
|
|
|
|
task.setIsDistribution(1);
|
|
|
|
task.setUpdateTime(new Date());
|
|
|
|
task.setUpdateTime(new Date());
|
|
|
|
|
|
|
|
task.setTaskName(organizeSaveDTO.getOrganizeTaskName());
|
|
|
|
taskRepository.save(task);
|
|
|
|
taskRepository.save(task);
|
|
|
|
// 分配任务引擎
|
|
|
|
// 分配任务引擎
|
|
|
|
DistributeDTO distributeDTO = new DistributeDTO();
|
|
|
|
DistributeDTO distributeDTO = new DistributeDTO();
|
|
|
|