查询订单详情接口修改
This commit is contained in:
@@ -458,11 +458,6 @@ public class OrderService {
|
|||||||
return Result.fail("订单不存在");
|
return Result.fail("订单不存在");
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!"unpaid".equals(orderInfo.getStatus())) {
|
|
||||||
return Result.fail("订单不处于待支付状态");
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
TbShopInfo tbShopInfo = tbShopInfoMapper.selectByPrimaryKey(Integer.valueOf(orderInfo.getShopId()));
|
TbShopInfo tbShopInfo = tbShopInfoMapper.selectByPrimaryKey(Integer.valueOf(orderInfo.getShopId()));
|
||||||
if (tbShopInfo == null) {
|
if (tbShopInfo == null) {
|
||||||
return Result.fail("店铺不存在");
|
return Result.fail("店铺不存在");
|
||||||
|
|||||||
Reference in New Issue
Block a user