linhw 2024-08-01 09:38:31 +08:00
parent eb15b382db
commit 89471bc539
1 changed files with 1 additions and 1 deletions

View File

@ -48,7 +48,7 @@ public class AppEventsServiceImpl implements IAppEventsService
*/
@Override
public List<AppEvents> selectAppEventsList(AppEvents appEvents) {
if (appEvents.getType() == 4 && appEvents.getUserId() != null) {
if (appEvents != null && appEvents.getType() == 4 && appEvents.getUserId() != null) {
appEvents.setType(2l);
AppEventsUser appEventsUser = new AppEventsUser();
appEventsUser.setUserId(appEvents.getUserId());