|
|
@ -40,13 +40,11 @@ public class AdminFmsFollowupQueueServiceImpl implements AdminFmsFollowupQueueSe |
|
|
|
private FmsFollowupQueueMapper fmsFollowupQueueMapper; |
|
|
|
|
|
|
|
@Override |
|
|
|
// @DataSource(DataSourceType.MASTER)
|
|
|
|
public List<FmsFollowupVo.FollowupQueueVO> queryCommonQueue(String name, Long tenantId) { |
|
|
|
return fmsFollowupDao.queryAll(name, tenantId); |
|
|
|
} |
|
|
|
|
|
|
|
@Override |
|
|
|
@DataSource(DataSourceType.MASTER) |
|
|
|
public int addQueue(FmsFollowupDto.Add dto) { |
|
|
|
FmsFollowupQueue fmsFollowupQueue = BeanUtil.copyProperties(dto, FmsFollowupQueue.class); |
|
|
|
fmsFollowupQueue.setId(IdUtil.getSnowflakeNextId()); |
|
|
@ -57,7 +55,6 @@ public class AdminFmsFollowupQueueServiceImpl implements AdminFmsFollowupQueueSe |
|
|
|
} |
|
|
|
|
|
|
|
@Override |
|
|
|
@DataSource(DataSourceType.MASTER) |
|
|
|
public int updQueue(FmsFollowupDto.Upd dto) { |
|
|
|
FmsFollowupQueue fmsFollowupQueue = BeanUtil.copyProperties(dto, FmsFollowupQueue.class); |
|
|
|
fmsFollowupQueue.setUpdateBy(SecurityUtils.getUsername()); |
|
|
@ -66,7 +63,6 @@ public class AdminFmsFollowupQueueServiceImpl implements AdminFmsFollowupQueueSe |
|
|
|
} |
|
|
|
|
|
|
|
@Override |
|
|
|
@DataSource(DataSourceType.MASTER) |
|
|
|
public int delQueue(FmsFollowupDto.Del dto) { |
|
|
|
FmsFollowupQueueExample fmsFollowupQueueExample = new FmsFollowupQueueExample(); |
|
|
|
fmsFollowupQueueExample.createCriteria().andIdIn(dto.getIdList()); |
|
|
|