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