fix: 修复一些问题
This commit is contained in:
parent
dbf72adab6
commit
fac782d6b5
|
|
@ -208,6 +208,7 @@ public class AppUserController extends ControllerBase {
|
|||
List<Integer> companyIds = appUserService.lambdaQuery()
|
||||
.select(AppUser::getCompanyId)
|
||||
.eq(AppUser::getIsPrimary, true)
|
||||
.eq(AppUser::getIsDel, false)
|
||||
.ne(AppUser::getId, request.getId())
|
||||
.list()
|
||||
.stream()
|
||||
|
|
|
|||
|
|
@ -65,6 +65,7 @@ public class TicketReplyEvent extends ApplicationEvent implements ApplicationCon
|
|||
|
||||
private void sendUserMessage(){
|
||||
//我的待办
|
||||
if(StrUtil.isNotBlank(ticket.getHandle())) {
|
||||
List<Integer> userIds = Arrays.stream(ticket.getHandle().split(",")).filter(StrUtil::isNotBlank).map(Integer::parseInt).collect(Collectors.toList());
|
||||
List<AdminUser> adminUsers = adminUserService.listByIds(userIds);
|
||||
if (CollectionUtil.isNotEmpty(adminUsers)) {
|
||||
|
|
@ -82,6 +83,7 @@ public class TicketReplyEvent extends ApplicationEvent implements ApplicationCon
|
|||
);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private void sendEmail() {
|
||||
try {
|
||||
|
|
|
|||
Loading…
Reference in New Issue