|
@@ -227,6 +227,10 @@ public class OrderServiceImpl extends ServiceImpl<OrderMapper, Order> implements
|
|
|
@Override
|
|
|
public List<OrderUserCheckBuyBo> userCheckBuyList(List<OrderUserCheckBuyBo> list) {
|
|
|
for(OrderUserCheckBuyBo bo : list){
|
|
|
+ if(Validator.isEmpty(bo.getIdCard())||Validator.isEmpty(bo.getGradeId())||Validator.isEmpty(bo.getGoodsId())){
|
|
|
+ bo.setMsg("参数缺失");
|
|
|
+ continue;
|
|
|
+ }
|
|
|
//订单商品
|
|
|
Goods goods = iGoodsService.getOne(new LambdaQueryWrapper<Goods>().eq(Goods::getGoodsId, bo.getGoodsId()));
|
|
|
if (goods.getGoodsStatus() != 1) {
|