修改库存

This commit is contained in:
韩鹏辉
2024-06-19 18:07:13 +08:00
parent a6adc81366
commit 08625bd03e
2 changed files with 7 additions and 0 deletions

View File

@@ -964,6 +964,11 @@ public class OrderService {
}
if("refund".equals(orderInfo.getStatus())){
return Result.fail(CodeEnum.ORDERRETURN);
}
TbShopInfo shopInfo= tbShopInfoMapper.selectByPrimaryKey(Integer.valueOf(orderInfo.getShopId()));
if(ObjectUtil.isEmpty(shopInfo)){