Subversion Repositories SmartDukaan

Rev

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

Rev 32682 Rev 32690
Line 870... Line 870...
870
 
870
 
871
        String mailSubject = "Stock ageing Alert";
871
        String mailSubject = "Stock ageing Alert";
872
        Utils.sendMailWithAttachments(mailSender, new String[]{"deena.nath@smartdukaan.com"}, null, mailSubject, "PFA", attachment1, attachment2);
872
        Utils.sendMailWithAttachments(mailSender, new String[]{"deena.nath@smartdukaan.com"}, null, mailSubject, "PFA", attachment1, attachment2);
873
    }
873
    }
874
 
874
 
-
 
875
    public void rejectPriceDropsOfApprovedImeis() throws ProfitMandiBusinessException{
-
 
876
        priceDropService.rejectPriceDropsOfApprovedImeis();
-
 
877
    }
-
 
878
 
875
    private class SaleRoles {
879
    private class SaleRoles {
876
 
880
 
877
        private List<String> l1;
881
        private List<String> l1;
878
        private List<String> l2;
882
        private List<String> l2;
879
 
883
 
Line 1002... Line 1006...
1002
 
1006
 
1003
    @Autowired
1007
    @Autowired
1004
    JavaMailSender javaMailSender;
1008
    JavaMailSender javaMailSender;
1005
 
1009
 
1006
    public void test() throws Exception {
1010
    public void test() throws Exception {
-
 
1011
        System.out.println("Hello from test");
1007
        sendMailOfHtmlFormat(javaMailSender, new String[]{"amit.gupta@smartdukaan.com"}, "hello", null, "Hello");
1012
        //sendMailOfHtmlFormat(javaMailSender, new String[]{"amit.gupta@smartdukaan.com"}, "hello", null, "Hello");
-
 
1013
        priceDropService.rejectPriceDropsOfApprovedImeis();
1008
        //Create return
1014
        //Create return
1009
        //this.updatePartnerLimit();
1015
        //this.updatePartnerLimit();
1010
        //creditNoteService.sendCnMails(YearMonth.now().minusMonths(2));
1016
        //creditNoteService.sendCnMails(YearMonth.now().minusMonths(2));
1011
        orderService.createMissingScratchOffers();
1017
        //orderService.createMissingScratchOffers();
1012
 
1018
 
1013
 
1019
 
1014
        /*for (Entry<Integer, Set<String>> fofoIdImeiReturnEntry : fofoIdImeiReturnMap.entrySet()) {
1020
        /*for (Entry<Integer, Set<String>> fofoIdImeiReturnEntry : fofoIdImeiReturnMap.entrySet()) {
1015
            int fofoId = fofoIdImeiReturnEntry.getKey();
1021
            int fofoId = fofoIdImeiReturnEntry.getKey();
1016
            Set<String> imeis = fofoIdImeiReturnEntry.getValue();
1022
            Set<String> imeis = fofoIdImeiReturnEntry.getValue();