This commit is contained in:
dzc committed 2026-03-29 22:04:00 +08:00
1 parent 9317daa90d
commit cddb87d922
1 file changed
+5 -3
@@ -416,9 +416,11 @@ public class HardAfterSaleServiceImpl extends ServiceImpl<HardAfterSaleMapper, H
throw new RuntimeException("退款总金额大于支付总金额");
}
// 查询设备信息
HardManagerVo hardDetail = hardManagerService.getByHardId(order.getHardId());
if (ObjectUtil.isNotEmpty(hardDetail)) {
orderVo.setHardType(hardDetail.getType());
if (ObjectUtil.isNotEmpty(order.getHardId())) {
HardManagerVo hardDetail = hardManagerService.getByHardId(order.getHardId());
if (ObjectUtil.isNotEmpty(hardDetail)) {
orderVo.setHardType(hardDetail.getType());
}
}
return orderVo;
}