| Line 43... |
Line 43... |
| 43 |
import com.spice.profitmandi.service.authentication.RoleManager;
|
43 |
import com.spice.profitmandi.service.authentication.RoleManager;
|
| 44 |
import com.spice.profitmandi.service.integrations.bharti.model.PlanVariant;
|
44 |
import com.spice.profitmandi.service.integrations.bharti.model.PlanVariant;
|
| 45 |
import com.spice.profitmandi.service.integrations.icicilombard.IciciLombardService;
|
45 |
import com.spice.profitmandi.service.integrations.icicilombard.IciciLombardService;
|
| 46 |
import com.spice.profitmandi.service.integrations.icicilombard.model.AfinityQuoteModel;
|
46 |
import com.spice.profitmandi.service.integrations.icicilombard.model.AfinityQuoteModel;
|
| 47 |
import com.spice.profitmandi.service.integrations.icicilombard.model.AfinityQuoteResponseModel;
|
47 |
import com.spice.profitmandi.service.integrations.icicilombard.model.AfinityQuoteResponseModel;
|
| - |
|
48 |
import com.spice.profitmandi.service.integrations.oneassist.OneAssistService;
|
| - |
|
49 |
import com.spice.profitmandi.service.integrations.oneassist.model.CancelPlanRequestModel;
|
| 48 |
import com.spice.profitmandi.service.integrations.zest.InsuranceService;
|
50 |
import com.spice.profitmandi.service.integrations.zest.InsuranceService;
|
| 49 |
import com.spice.profitmandi.service.integrations.zest.MobileInsurancePlan;
|
51 |
import com.spice.profitmandi.service.integrations.zest.MobileInsurancePlan;
|
| 50 |
import com.spice.profitmandi.service.order.BulkOrderService;
|
52 |
import com.spice.profitmandi.service.order.BulkOrderService;
|
| 51 |
import com.spice.profitmandi.service.order.OrderService;
|
53 |
import com.spice.profitmandi.service.order.OrderService;
|
| 52 |
import com.spice.profitmandi.service.pricing.PricingService;
|
54 |
import com.spice.profitmandi.service.pricing.PricingService;
|
| Line 1992... |
Line 1994... |
| 1992 |
boolean isSend = this.sendWhatsappInvoice(fofoOrderRepository.selectByOrderId(orderId), whatsAppMobile);
|
1994 |
boolean isSend = this.sendWhatsappInvoice(fofoOrderRepository.selectByOrderId(orderId), whatsAppMobile);
|
| 1993 |
model.addAttribute("response1", isSend);
|
1995 |
model.addAttribute("response1", isSend);
|
| 1994 |
return "response";
|
1996 |
return "response";
|
| 1995 |
}
|
1997 |
}
|
| 1996 |
|
1998 |
|
| - |
|
1999 |
@Autowired
|
| - |
|
2000 |
OneAssistService oneAssistService;
|
| - |
|
2001 |
|
| - |
|
2002 |
@RequestMapping(value = "/cancelInsuranceWithoutInvoice/{applicationNumber}/{memberShipNumber}", method = RequestMethod.GET)
|
| - |
|
2003 |
public String cancelInsuranceWithoutInvoice(HttpServletRequest request, @PathVariable int applicationNumber, @PathVariable int memberShipNumber, Model model) throws Exception {
|
| - |
|
2004 |
CancelPlanRequestModel cancelPlanRequestModel = new CancelPlanRequestModel();
|
| - |
|
2005 |
cancelPlanRequestModel.setMembershipId(Long.parseLong(String.valueOf(memberShipNumber)));
|
| - |
|
2006 |
cancelPlanRequestModel.setApplicationNo(applicationNumber + "");
|
| - |
|
2007 |
oneAssistService.cancelCertificate(cancelPlanRequestModel);
|
| - |
|
2008 |
|
| - |
|
2009 |
model.addAttribute("response1", mvcResponseSender.createResponseString(true));
|
| - |
|
2010 |
|
| - |
|
2011 |
return "response";
|
| - |
|
2012 |
|
| - |
|
2013 |
}
|
| - |
|
2014 |
|
| 1997 |
|
2015 |
|
| 1998 |
}
|
2016 |
}
|
| 1999 |
|
2017 |
|