| 
					
				 | 
			
			
				@@ -198,12 +198,12 @@ public class SysCouponCodeServiceImpl extends BaseServiceImpl<Long, SysCouponCod 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 			if(amount.compareTo(fullAmount) < 0){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 				throw new BizException("操作失败:当前消费金额不满足优惠券满减条件"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 			} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-			amount = amount.subtract(faceAmount); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-			if (amount.signum() < 0) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				amount = BigDecimal.ZERO; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-			} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 			//使用优惠券 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 			if(useFlag){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+				amount = amount.subtract(faceAmount); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+				if (amount.signum() < 0) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+					amount = BigDecimal.ZERO; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+				} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 				sysCouponCodeDao.use(couponIdList); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 			} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 			studentPaymentOrder.setCouponCodeId(StringUtils.join(couponIdList,",")); 
			 |