Commit 6441813d by chongfu.liang

加料数量限制

parent fc8ad8a1
...@@ -395,7 +395,7 @@ public abstract class AbstractAddGoodsService implements AddGoodsService { ...@@ -395,7 +395,7 @@ public abstract class AbstractAddGoodsService implements AddGoodsService {
return ; return ;
} }
if(materialMaxQty.intValue() < addProductqty.intValue()){ if(addProductqty.intValue() < materialMaxQty.intValue()){
return ; return ;
} }
throw new ServiceException(ResponseResult.SHOPPING_CART_MATERIA_QTY_LIMIT_ERR); throw new ServiceException(ResponseResult.SHOPPING_CART_MATERIA_QTY_LIMIT_ERR);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment