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);
 
             }
-            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);
             }