Subversion Repositories SmartDukaan

Rev

Rev 34637 | Rev 35963 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 34637 Rev 34902
Line 141... Line 141...
141
        SendNotificationModel sendNotificationModel = new SendNotificationModel();
141
        SendNotificationModel sendNotificationModel = new SendNotificationModel();
142
        sendNotificationModel.setCampaignName(title);
142
        sendNotificationModel.setCampaignName(title);
143
        sendNotificationModel.setMessage(message);
143
        sendNotificationModel.setMessage(message);
144
        sendNotificationModel.setType("url");
144
        sendNotificationModel.setType("url");
145
        sendNotificationModel.setTitle(title);
145
        sendNotificationModel.setTitle(title);
146
        sendNotificationModel.setUrl("https://app.smartdukaan.com/pages/home/clearance");
146
        sendNotificationModel.setUrl("https://smartdukaan.com/pages/home/clearance");
147
        sendNotificationModel.setExpiresat(LocalDateTime.now().plusHours(6));
147
        sendNotificationModel.setExpiresat(LocalDateTime.now().plusHours(6));
148
        sendNotificationModel.setMessageType(MessageType.notification);
148
        sendNotificationModel.setMessageType(MessageType.notification);
149
        List<Integer> userIds;
149
        List<Integer> userIds;
150
        if (fofoIds.size() > 0) {
150
        if (fofoIds.size() > 0) {
151
            userIds = userAccountRepository.selectUserIdsByRetailerIds(fofoIds); //Arrays.asList(171912487)
151
            userIds = userAccountRepository.selectUserIdsByRetailerIds(fofoIds); //Arrays.asList(171912487)