lyhzzz 2 سال پیش
والد
کامیت
822b735989
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      src/main/java/com/fdkankan/ucenter/service/impl/OrderServiceImpl.java

+ 1 - 1
src/main/java/com/fdkankan/ucenter/service/impl/OrderServiceImpl.java

@@ -296,7 +296,7 @@ public class OrderServiceImpl extends ServiceImpl<IOrderMapper, Order> implement
                 throw new BusinessException(OrderConstant.FAILURE_CODE_8004, OrderConstant.FAILURE_MSG_8004);
                 throw new BusinessException(OrderConstant.FAILURE_CODE_8004, OrderConstant.FAILURE_MSG_8004);
 
 
             }
             }
-            IncrementType incrementType = incrementTypeService.getById(param.getIncrementType());
+            IncrementType incrementType = incrementTypeService.getById(userIncrement.getIncrementTypeId());
             if(incrementType == null){
             if(incrementType == null){
                 throw new BusinessException(OrderConstant.FAILURE_CODE_8004, OrderConstant.FAILURE_MSG_8004);
                 throw new BusinessException(OrderConstant.FAILURE_CODE_8004, OrderConstant.FAILURE_MSG_8004);
             }
             }