Commit 45acd27f by 吕明尚

订单详情增加套餐名称

parent 9ecea2fe
...@@ -516,6 +516,18 @@ public class SOrderServiceImpl extends ServiceImpl<SOrderMapper, SOrder> impleme ...@@ -516,6 +516,18 @@ public class SOrderServiceImpl extends ServiceImpl<SOrderMapper, SOrder> impleme
// 判断是否可以退款 // 判断是否可以退款
one.setIsRefund(isRefund(one, null)); one.setIsRefund(isRefund(one, null));
} }
if (ObjectUtil.isNotEmpty(one.getPackId())) {
SPack byId = packService.getById(one.getPackId());
one.setPackName(byId.getName());
}
if (ObjectUtil.isNotEmpty(one.getStoreId())) {
SStore sStore = storeService.getById(one.getStoreId());
one.setStoreName(sStore.getName());
}
if (ObjectUtil.isNotEmpty(one.getRoomId())) {
SRoom sRoom = roomService.getById(one.getRoomId());
one.setRoomName(sRoom.getName());
}
return one; return one;
} }
......
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