| | |
| | | } |
| | | |
| | | // 车型报价类型 |
| | | if (tmsQuotePlan.getPlanType() == 0) { |
| | | //if (tmsQuotePlan.getPlanType() == 0) { |
| | | List<QuoteDetailItem> quoteItems = tmsQuoteDetail.getQuoteItems(); |
| | | if (quoteItems == null || quoteItems.isEmpty()) { |
| | | throw new RuntimeException("请填写车型报价"); |
| | |
| | | count++; |
| | | } |
| | | return count; |
| | | } |
| | | //} |
| | | |
| | | // 普通类型 |
| | | return addDetail(quotePlanId, tmsQuotePlan, tmsQuoteDetail); |
| | | //return addDetail(quotePlanId, tmsQuotePlan, tmsQuoteDetail); |
| | | } |
| | | |
| | | public int addDetail(Integer quotePlanId, TmsQuotePlan tmsQuotePlan, TmsQuoteDetail tmsQuoteDetail){ |