| | |
| | | tmsQuoteItem.setQuotePlanId(tmsQuotePlan.getId()); |
| | | }); |
| | | tmsQuoteItemService.insertTmsQuoteItemBatch(quoteItems); |
| | | }else{ |
| | | throw new RuntimeException("请至少选择一个报价方案"); |
| | | } |
| | | return 1; |
| | | } |
| | |
| | | int i = tmsQuotePlanMapper.updateTmsQuotePlan(tmsQuotePlan); |
| | | |
| | | |
| | | if (tmsQuotePlan.getPlanType() == 0){ |
| | | |
| | | List<TmsQuoteItem> quoteItems = tmsQuotePlan.getQuoteItems(); |
| | | if (quoteItems != null && !quoteItems.isEmpty()){ |
| | | List<TmsQuoteItem> tmsQuoteItems = tmsQuoteItemService.selectTmsQuoteItemList(new TmsQuoteItem() {{ |
| | |
| | | } |
| | | |
| | | |
| | | }else{ |
| | | throw new RuntimeException("请至少选择一个报价方案"); |
| | | } |
| | | } |
| | | return i; |
| | | } |
| | | |