Subversion Repositories SmartDukaan

Rev

Rev 35266 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 35266 Rev 35267
Line 1141... Line 1141...
1141
    public void cancelOnceAssist(String invoiceNumber) throws Exception {
1141
    public void cancelOnceAssist(String invoiceNumber) throws Exception {
1142
        FofoOrder fofoOrder = fofoOrderRepository.selectByInvoiceNumber(invoiceNumber);
1142
        FofoOrder fofoOrder = fofoOrderRepository.selectByInvoiceNumber(invoiceNumber);
1143
        insuranceService.cancelInsurance(fofoOrder);
1143
        insuranceService.cancelInsurance(fofoOrder);
1144
    }
1144
    }
1145
 
1145
 
1146
    public void cancelOneAssistWithOutOrder(int applicationNumber, int memberShipNumber) throws ProfitMandiBusinessException {
-
 
1147
        CancelPlanRequestModel cancelPlanRequestModel = new CancelPlanRequestModel();
-
 
1148
        cancelPlanRequestModel.setMembershipId(Long.parseLong(String.valueOf(memberShipNumber)));
-
 
1149
        cancelPlanRequestModel.setApplicationNo(applicationNumber + "");
-
 
1150
        oneAssistService.cancelCertificate(cancelPlanRequestModel);
-
 
1151
    }
-
 
1152
 
-
 
1153
    public void cancelOnceAssistByMemberShipNumber(String applicationNo, String membershipId) throws Exception {
1146
    public void cancelOnceAssistByMemberShipNumber(String applicationNo, String membershipId) throws Exception {
1154
        insuranceService.cancelInsurance(applicationNo, membershipId);
1147
        insuranceService.cancelInsurance(applicationNo, membershipId);
1155
    }
1148
    }
1156
 
1149
 
1157
    public void mapBag() throws Exception {
1150
    public void mapBag() throws Exception {