lyhzzz 2 年 前
コミット
822b735989

+ 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);
 
             }
-            IncrementType incrementType = incrementTypeService.getById(param.getIncrementType());
+            IncrementType incrementType = incrementTypeService.getById(userIncrement.getIncrementTypeId());
             if(incrementType == null){
                 throw new BusinessException(OrderConstant.FAILURE_CODE_8004, OrderConstant.FAILURE_MSG_8004);
             }