Subversion Repositories SmartDukaan

Rev

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

Rev 34411 Rev 34450
Line 1... Line 1...
1
package com.smartdukaan.cron.scheduled;
1
package com.smartdukaan.cron.scheduled;
2
 
2
 
3
import com.spice.profitmandi.common.exception.ProfitMandiBusinessException;
3
import com.spice.profitmandi.common.exception.ProfitMandiBusinessException;
4
import com.spice.profitmandi.common.model.ProfitMandiConstants;
4
import com.spice.profitmandi.common.model.ProfitMandiConstants;
5
import com.spice.profitmandi.dao.cart.CartService;
5
import com.spice.profitmandi.dao.cart.CartService;
-
 
6
import com.spice.profitmandi.dao.cart.SmartCartService;
6
import com.spice.profitmandi.dao.entity.auth.AuthUser;
7
import com.spice.profitmandi.dao.entity.auth.AuthUser;
7
import com.spice.profitmandi.dao.entity.fofo.FofoStore;
8
import com.spice.profitmandi.dao.entity.fofo.FofoStore;
8
import com.spice.profitmandi.dao.entity.fofo.PartnerType;
9
import com.spice.profitmandi.dao.entity.fofo.PartnerType;
9
import com.spice.profitmandi.dao.entity.fofo.RbmRating;
10
import com.spice.profitmandi.dao.entity.fofo.RbmRating;
10
import com.spice.profitmandi.dao.entity.fofo.SalesRating;
11
import com.spice.profitmandi.dao.entity.fofo.SalesRating;
Line 71... Line 72...
71
    SalesRatingRepository salesRatingRepository;
72
    SalesRatingRepository salesRatingRepository;
72
 
73
 
73
    @Autowired
74
    @Autowired
74
    FofoStoreRepository fofoStoreRepository;
75
    FofoStoreRepository fofoStoreRepository;
75
 
76
 
-
 
77
    @Autowired
-
 
78
    SmartCartService smartCartService;
-
 
79
 
76
    public void test() throws Exception {
80
    public void test() throws Exception {
77
        System.out.println("test start");
81
        System.out.println("test start");
-
 
82
        smartCartService.activatedButNotBilledCatalogQtyMap();
78
        System.out.println("test end");
83
        System.out.println("test end");
79
 
84
 
80
    }
85
    }
81
 
86
 
82
    public void createLoanForBillingByTransactionIdAndInvoiceNumber(int transactionId, double invoiceAmount, String invoiceNumber) throws Exception {
87
    public void createLoanForBillingByTransactionIdAndInvoiceNumber(int transactionId, double invoiceAmount, String invoiceNumber) throws Exception {