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