| | |
| | | model.addAttribute("reasons", ""); |
| | | } |
| | | model.addAttribute("coursePackagePaymentConfig", JSON.toJSONString(list)); |
| | | model.addAttribute("type2",tCoursePackage.getType()); |
| | | |
| | | return PREFIX1 + "coursePackageDiscount.html"; |
| | | } |
| | |
| | | } |
| | | List<TStore> list = storeService.list(wrapper); |
| | | Page<DiscountList> page = new PageFactory<DiscountList>().defaultPage(); |
| | | List<DiscountList> discountLists = courseClient.queryDiscountList(new QueryDiscountList(page.getCurrent(),page.getSize(),provinceCode,cityCode,name,type,list.stream().map(TStore::getId).collect(Collectors.toList()))); |
| | | List<DiscountList> discountLists = courseClient.queryDiscountList(new QueryDiscountList |
| | | (page.getCurrent(),page.getSize(),provinceCode,cityCode,name,type, |
| | | list.stream().map(TStore::getId).collect(Collectors.toList()))); |
| | | for (DiscountList discountList : discountLists) { |
| | | for (TStore tStore : list) { |
| | | if(discountList.getStoreId().equals(tStore.getId())){ |