| Line 870... |
Line 870... |
| 870 |
public void regenMarginIrns(YearMonth yearMonth, boolean dryRun) throws Exception {
|
870 |
public void regenMarginIrns(YearMonth yearMonth, boolean dryRun) throws Exception {
|
| 871 |
LOGGER.info("Running regenMarginIrns for {} (dryRun={})", yearMonth.toString(), dryRun);
|
871 |
LOGGER.info("Running regenMarginIrns for {} (dryRun={})", yearMonth.toString(), dryRun);
|
| 872 |
creditNoteService.regenerateMarginIrns(yearMonth, dryRun);
|
872 |
creditNoteService.regenerateMarginIrns(yearMonth, dryRun);
|
| 873 |
}
|
873 |
}
|
| 874 |
|
874 |
|
| - |
|
875 |
@Autowired
|
| - |
|
876 |
com.spice.profitmandi.service.catalog.ModelHotDealService modelHotDealService;
|
| - |
|
877 |
|
| - |
|
878 |
/** Daily: mirror date-windowed model_hot_deal into tag_listing.hot_deals (Solr hot_deal_b source). */
|
| - |
|
879 |
public void syncHotDealFlags() {
|
| - |
|
880 |
LOGGER.info("Running syncHotDealFlags");
|
| - |
|
881 |
modelHotDealService.syncHotDealFlags();
|
| - |
|
882 |
}
|
| - |
|
883 |
|
| 875 |
public void genDNs(YearMonth yearMonth) throws Exception {
|
884 |
public void genDNs(YearMonth yearMonth) throws Exception {
|
| 876 |
LOGGER.info("Running genDNs for {}", yearMonth.toString());
|
885 |
LOGGER.info("Running genDNs for {}", yearMonth.toString());
|
| 877 |
creditNoteService.generateDebitNotesForCancelled(yearMonth);
|
886 |
creditNoteService.generateDebitNotesForCancelled(yearMonth);
|
| 878 |
}
|
887 |
}
|
| 879 |
|
888 |
|