|  | @@ -105,9 +105,6 @@ public class StudentRepairServiceImpl extends BaseServiceImpl<Integer, StudentRe
 | 
											
												
													
														|  |      @Transactional(rollbackFor = Exception.class)
 |  |      @Transactional(rollbackFor = Exception.class)
 | 
											
												
													
														|  |      public Map addGoodsSellOrder(GoodsSellDto goodsSellDto) throws Exception {
 |  |      public Map addGoodsSellOrder(GoodsSellDto goodsSellDto) throws Exception {
 | 
											
												
													
														|  |          SysUser sysUser = sysUserFeignService.queryUserInfo();
 |  |          SysUser sysUser = sysUserFeignService.queryUserInfo();
 | 
											
												
													
														|  | -        if (sysUser == null) {
 |  | 
 | 
											
												
													
														|  | -            throw new BizException("请登录");
 |  | 
 | 
											
												
													
														|  | -        }
 |  | 
 | 
											
												
													
														|  |          Integer studentId = sysUser.getId();
 |  |          Integer studentId = sysUser.getId();
 | 
											
												
													
														|  |          String goodsId = goodsSellDto.getGoodsId();
 |  |          String goodsId = goodsSellDto.getGoodsId();
 | 
											
												
													
														|  |          if(StringUtils.isEmpty(goodsId)){
 |  |          if(StringUtils.isEmpty(goodsId)){
 | 
											
										
											
												
													
														|  | @@ -127,7 +124,6 @@ public class StudentRepairServiceImpl extends BaseServiceImpl<Integer, StudentRe
 | 
											
												
													
														|  |              amount.add(map.get(id));
 |  |              amount.add(map.get(id));
 | 
											
												
													
														|  |          }
 |  |          }
 | 
											
												
													
														|  |          List<Goods> goods = goodsService.findGoodsByIds(goodsId);
 |  |          List<Goods> goods = goodsService.findGoodsByIds(goodsId);
 | 
											
												
													
														|  | -//        BigDecimal amount = goods.stream().map(e -> e.getGroupPurchasePrice()).reduce(BigDecimal.ZERO, BigDecimal::add);
 |  | 
 | 
											
												
													
														|  |  
 |  |  
 | 
											
												
													
														|  |          StudentPaymentOrder studentPaymentOrder = new StudentPaymentOrder();
 |  |          StudentPaymentOrder studentPaymentOrder = new StudentPaymentOrder();
 | 
											
												
													
														|  |          studentPaymentOrder.setUserId(studentId);
 |  |          studentPaymentOrder.setUserId(studentId);
 | 
											
										
											
												
													
														|  | @@ -141,7 +137,6 @@ public class StudentRepairServiceImpl extends BaseServiceImpl<Integer, StudentRe
 | 
											
												
													
														|  |          studentPaymentOrder.setRoutingOrganId(student.getOrganId());
 |  |          studentPaymentOrder.setRoutingOrganId(student.getOrganId());
 | 
											
												
													
														|  |          studentPaymentOrderService.insert(studentPaymentOrder);
 |  |          studentPaymentOrderService.insert(studentPaymentOrder);
 | 
											
												
													
														|  |  
 |  |  
 | 
											
												
													
														|  | -//        Map<GoodsType, List<Goods>> collect = goods.stream().collect(Collectors.groupingBy(Goods::getType));
 |  | 
 | 
											
												
													
														|  |          Map<Integer, List<Goods>> collect = goods.stream().collect(Collectors.groupingBy(Goods::getId));
 |  |          Map<Integer, List<Goods>> collect = goods.stream().collect(Collectors.groupingBy(Goods::getId));
 | 
											
												
													
														|  |          List<StudentPaymentOrderDetail> studentPaymentOrderDetailList = new ArrayList<>();
 |  |          List<StudentPaymentOrderDetail> studentPaymentOrderDetailList = new ArrayList<>();
 | 
											
												
													
														|  |          for (String id : goodsIds) {
 |  |          for (String id : goodsIds) {
 |